Hi!

2011/11/4 Вовчик <[email protected]>:
> Hi savonet from Russia!
> liquidsoap greatest streaming tool,
> but i have one task:
> i have a script on php that output's mp3 files in this format:
> /path/to/file1.mp3
> /path/to/file2.mp3
> /path/to/file3.mp3
> /path/to/file4.mp3
> .... etc
>
> but i dont know how to put this output to liquidsoap
> i need that liquidsoap read script's output and play files from generated
> playlist
> and when playlist is done, liquidsoap execute script again and play files
> from output
> again again and again
>
> i'm read manuals about playlist.reloadeble
> request.dunamic

request.dynamic is your friends :-)

def next() =
  file = list.hd(get_process_lines("/path/to/script arguments"))
  request.create(file)
end

s = request.dynamic(next)

Romain

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to