With liquidsoap
'output.dummy(fallible=true,request.dynamic({request.create(get_process_output("/home/oxyradio/liquidsoap/test/oxycast.php"))}))'
i get something like:
[oxyra...@freedom:~]$liquidsoap
'output.dummy(fallible=true,request.dynamic({request.create(get_process_output("/home/oxyradio/liquidsoap/test/oxycast.php"))}))'
2009/07/01 11:06:30 >>> LOG START
2009/07/01 11:06:30 [protocols.external:3] Didn't find "ufetch"
2009/07/01 11:06:30 [protocols.external:3] Found "/usr/bin/wget"
2009/07/01 11:06:30 [main:3] Liquidsoap 0.9.1+svn (trunk/liquids...@rev6682)
2009/07/01 11:06:30 [lang:3] flac binary not found: flac decoder disabled.
2009/07/01 11:06:30 [lang:3] metaflac binary not found: flac metadata
resolver disabled.
2009/07/01 11:06:30 [threads:3] Created thread "generic queue #1".
2009/07/01 11:06:30 [threads:3] Created thread "root" (1 total).
2009/07/01 11:06:30 [root:3] Waking up active nodes...
2009/07/01 11:06:30 [root:3] Broadcast starts up!
2009/07/01 11:06:30 [decoder:3] Decoder MP3 chosen for
"/home/oxyradio/jingle/oxyradio - Respire et Ecoute - masculin.mp3".
2009/07/01 11:06:30 [src_4483:3] Prepared
"/home/oxyradio/jingle/oxyradio - Respire et Ecoute - masculin.mp3" -- RID 0
2009/07/01 11:06:30 [decoder:3] Decoder MP3 chosen for
"/home/oxyradio/musique/rock/Connor O'brien - Inside Out.mp3".
2009/07/01 11:06:32 [main:3] Shutdown started!
2009/07/01 11:06:32 [main:3] Waiting for threads to terminate...
2009/07/01 11:06:32 [root:3] Shutting down sources...
2009/07/01 11:06:32 [src_4483:3] Finished with
"/home/oxyradio/jingle/oxyradio - Respire et Ecoute - masculin.mp3"
2009/07/01 11:06:32 [threads:3] Thread "root" exited (0 remaining).
2009/07/01 11:06:32 [main:3] Cleaning downloaded files...
2009/07/01 11:06:32 >>> LOG END
So it works
But with a *minimal* script, without any fade or other features, just a
request.dynamic of the execution of my script, i get:
2009/07/01 11:09:27 [scheduler:5] Queue is empty !
2009/07/01 11:09:27 [scheduler:5] Failed to prepare track: no file
2009/07/01 11:09:27 [scheduler:5] Queue is empty !
2009/07/01 11:09:27 [scheduler:5] Failed to prepare track: no file
2009/07/01 11:09:27 [scheduler:5] Queue is empty !
2009/07/01 11:09:27 [scheduler:5] Failed to prepare track: no file
2009/07/01 11:09:27 [scheduler:5] Queue is empty !
2009/07/01 11:09:27 [scheduler:5] Failed to prepare track: no file
2009/07/01 11:09:27 [scheduler:5] Queue is empty !
All the time..
I don't understand why it works with the output.dummy and doesn't with
something else. Here is a small script: http://solvik.pastebin.com/m5351f4cd
In my last mail, I said that it didn't work "and even by comment
them.." (features)
David Baelde wrote:
> In your first mail you said that your script had just the
> request.dynamic(), then you were talking about skip_blank and other
> features. What do you have now? You should try to spot the difference
> between your script and the minimal experiment that works.
>
> Also, I was thinking of another possible problem: permissions. I often
> get tricked by that: I run an experiment as user dbaelde, it works,
> then I run liquidsoap using /etc/init.d/liquidsoap and forget that it
> runs with user liquidsoap, which may not have the same permissions..
>
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users