I use the following code to add at least filename to metadata if there
is no ID3 tag in mp3 file.
----------
pattern = '$(if $(title),"$(title)","$(filename) (FN)")'
radio = rewrite_metadata([("title", pattern),
("comment","http://studiosvetilnik.net")],radio)
----------
I tried to use basename (so not the entire path would be displayed) but
unsuccessfully.
Any hint how to do it?
Matej
http://matej.nastran.net
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users