How do I get LS to send a set of default metadata when none exists for a 
given file in my playlist?

This is my current playlist management set up:

Playlist data is stored in a MySQL db. I keep more than just file URL's, 
but file URL's have their own table. I have a web interface. When I'm 
done checking/updating my playlist via the web interface, I run a script 
that dumps all file URL's marked "active" into my playlist file, 
overwriting the existing file. This is something I've designed myself 
because existing solutions do not let me work with remote files.

I mention this because I'm wondering if it's possible to do more than 
simply send default metadata to Icecast. What I'd like to do instead is 
read the "artist" and "title" fields from my database and use those when 
the file itself wasn't given metadata by the author. I can dump those 
fields to a file, perhaps to the playlist file using delimiters, but I 
don't know how, if this is possible, to get LS to detect the existence 
of metadata in an MP3 or ogg file, and if it doesn't exist, use the 
extra information from my db.

I like to play files from artists who don't always add metadata. I would 
like to have something other than "radio.ogg" show up in a media player, 
and I would prefer not to eliminate good music because of a lack of 
metadata in files.

Damien

-- 
My music: http://audiodef.com
Synthetronica: http://synthetronica.com
Male survivors of domestic violence: http://abusedmen.org


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to