hello,

i'm trying to figure out how to add metadata (title, artist) on 
a webpage. 
one way would be to execute a script that pulls metada over the 
telnet interface. works, but is expensive if 50 listeners request
the data all x seconds. other possibility is to write metadata to 
a file, e.g

s = on_metadata(fun (meta) -> 
        system("echo " ^ quote(meta["title"] ^ ":" ^ meta["artist"]) ^ " >> 
/tmp/meta.txt"), s)

and then pulling it's content. not sure about this.
any ideas what best? how do you display your metadata?

thx, udo

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to