Hi all,

I am trying to dynamically change genre filed of the stream using an
external script (should be changed at every new  song).

radio_genre = "xxx"

def f() =
  result = get_process_output("php-cgi -q
/var/www/requests/changingtext-new.php")
end

radio_genre = f()


output.icecast(%mp3(stereo=true, samplerate=44100, bitrate=128),
 host="localhost",port=8000,password="pasgoda2001",
 genre=radio_genre,  description="my radio",mount="mymount",radio)

Above gives the output:


  this value has type
    unit (infered at line 175, char 7-31)
  but it should be a subtype of
    string

How can I fix this?

Thanks in advance

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to