Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am making a simple Pandora.com alternative for myself and a few friends where the user can upload his/her songs and listen to them anywhere. My intent is to make a lightweight, simple player in HTML5 so all the user needs is a current Firefox or Chrome to use it. I have set it up so that all uploaded songs get converted to .ogg and added to a database but I also want some metadata (not sure if that is the correct term) for the songs to be stored in the database so the player can tell the user what song he/she is listening too. I know there are several GUI tools for managing the title/artist/album info for songs but I'm having trouble finding any good ones I can use from the command line. If the song has the information already in the file, I think I can use mplayer to retrieve the information but it would be really great if there was one that would look up the song information online. I don't mind interfacing with an API (would be pretty interesting actually). Do you guys have any suggestions?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Try ffmpeg

ffmpeg -i in.ogg -metadata title="my title" out.ogg

`-metadata key=value'

http://ffmpeg.org/ffmpeg-doc.html

share|improve this answer
    
ffmpeg works great for setting the metadata but it has no way to show the metadata. I ended up using pytags for my MP3s and mplayer [filename] -ao /dev/null for my WMAs. –  Puddingfox Mar 13 '10 at 22:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.