PDA

View Full Version : C++ Media Player Project



ghandi69_
January 31st, 2007, 06:37 PM
Hi all, I am a fairly decent c/c++ programmer, and would love to start a project that I would actually use. What I am looking to do, is to make a text based program to be able to play music from my mp3 collection. This program would basically look like it was being run in a terminal.. but would allow

-Mp3s to be viewed in the same directory structure they are saved.. no tags!!

-Be able to add songs from this directory structure view to a playlist

-Be able to switch back and forth between a playlist view / database view

My problem is, is that I do know some c/c++, but I don't know where to begin when it comes to actually being able to interface a program with the computer. to be able to save information after the program is not running and so no. Any directions as to what to start reading would be helpful.

Thanks!

Wybiral
January 31st, 2007, 10:38 PM
I suggest learning some basic console in/out.

Learning to read/write files (for saving stuff) ifstream/ofstream.

And finding a good sound library, or using command line audio players.

rekahsoft
February 1st, 2007, 03:38 AM
gstreamer is good for a sound library...i have not done anything with it in C++ but i have played around with it while i have been learning python. Also you could write a simple interface....it is really not that hard (it is really just repetive). You could also just use Glade and libglade...just a sugestion :) Good luck