Thread: weird/advanced question about C

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    84

    weird/advanced question about C

    I'm new to C, am just starting to write my own functions and such. But I have a question. I have a large music library on my computer and its often difficult to sift through it all. I was wondering if it is possible to write a prgram in C in which you could fill in information such as artist name, and album, and it would send all the tracks which match that information to your mp3 player.

    If this is possible, is this a very advanced type of program? Or would I be able to pull it off with a regular C text book by my side.

    Can C even look inside an mp3 into the ID tags which store album information?

    Any advice or comments appreciated.

    Thank you

  2. #2
    FOX
    Join Date
    May 2005
    Posts
    188
    Getting and searching for matching song information is easy, but queing up the song in your MP3 player could prove difficult unless it has a good command line interface or similar. It's not impossible to do either way, but you really need to provide more information so we know if we'll need to resort to OS specific hooks to queue up the playlist.

    You can look up the ID3 spec here, or just use an external library like id3lib for the song information parsing.

  3. #3
    Registered User white's Avatar
    Join Date
    Nov 2004
    Posts
    39
    You can make a m3u playlist out of the results and launch it ...the default player will in its turn play the songs. No reason to make a fuss to figure how to send items to an application.
    ----------------

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    *plonk*
    That's the 3rd time you've spammed the same question!
    Start paying attention rather than hoping someone will just dump an answer you like the look of.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM