Yes indeed, I forgot to enable it in the build.. I've uploaded a new .zip
that has output.icecast now.
As for your script, the API for list.hd has changed, you should now do:
list.hd(default="", ...)
As I was saying earlier, there's still some work to do to on this port, not
sure it's ready for production just yet. However, early report like this
one help speed up the process a lot!
Romain
2017-12-11 8:51 GMT-06:00 p g <[email protected]>:
> hi all!
>
> soo, the first impression is that icecast output doesnt work :O
>
> "the variable output.icecast used here has not been previously defined."
>
> also, it didn't like one of the scripts (which i deleted and then got
> icecast not defined error):
>
> At line 43, char 45:
> this value has type (default:_)->_ (inferred at line 42, char 22-26) but
> it should be a subtype of string (corresponding code below):
> ---
> def flush_queue(s) =
> #get the list by command server
> ret = server.execute("myrequest.queue")
> #some cleaning of the result
> ret = list.hd(ret)
> ret = string.split(separator=" ",ret) <--------- line 43 --------
> #walk through each element, setting ignore
> list.iter(fun(x) -> begin foo = ignore(server.execute("myrequest.ignore
> #{x}")) end,ret)
> #skip the source, leads to stop playing
> source.skip(s)
> end
> ---
>
>
> that's it for now! what can it be?
>
> p
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users