Ok,

now I got it, thank you so much :)
My script now looks like this:

...
full = on_metadata(fun(meta) -> system("echo 
#{quote(string_of(meta[\"song\"]))} - 
#{quote(string_of(meta[\"on_air\"]))} - #{quote(meta[\"artist\"])} - 
#{quote(meta[\"title\"])}>> /home/musik/log/gespielt.log"),full)
...

The first Metadata called song is because of the Internet DJ console, 
which only gives one Metadata-field called "song"
I will have to take care, what SAM does.

Regards
Chricken

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to