From: Damien M. <mai...@au...> - 2013-07-29 19:22:22
|
I'm trying to upgrade to version 1.1.1 but it gives me this error when trying to start my script: Invalid value at line 14, char 16-52: No encoder found for that format. That line is this part of my script: output.icecast(%vorbis(quality=0.6,samplerate=44100), host="localhost", port=8000, password="(password)", mount="ambient.ogg", name="Synthetronica Radio", description="Ambient Electronica", genre="Ambient", url="synthetronica", ambient_radio) Version 1.0.0 gives no such error and starts normally. What could be going wrong? Thanks, Damien |
From: Romain B. <ro...@li...> - 2013-07-29 19:34:34
|
Hi Damien, 2013/7/29 Damien Moody <mai...@au...>: > I'm trying to upgrade to version 1.1.1 but it gives me this error when trying to start my script: > > Invalid value at line 14, char 16-52: No encoder found for that format. > > That line is this part of my script: > > output.icecast(%vorbis(quality=0.6,samplerate=44100), > host="localhost", port=8000, > password="(password)", mount="ambient.ogg", name="Synthetronica Radio", > description="Ambient Electronica", genre="Ambient", url="synthetronica", > ambient_radio) > > Version 1.0.0 gives no such error and starts normally. > > What could be going wrong? It looks like you don't have support for the %vorbis encoder. If you compiled your own binary, you probably need to recompile with ocaml-ogg and ocaml-vorbis enabled. If you installed it through a packaging system, you probably need to see with your package manager how to enable it. In Debian, you should for instance install liquidsoap-plugin-vorbis. Romain |
From: Damien M. <mai...@au...> - 2013-07-29 20:18:58
|
Hi Romain, I have all the dependencies installed. In this case, there was a later version of ocaml-ogg I could upgrade to, and then I had to recompile ocaml-vorbis to make sure it matched, then re-install Liquidsoap using the ebuild. That got the error to go away, but now when I open my streams in a media player, I get the stream names and radio station name (which shows up in the player), but there is no actual stream. No sound. No tracks being played - just the stream and station names being displayed. ps aux | grep liquidsoap shows the process running using /usr/bin/liquidsoap, which is version 1.1.1. What would cause that? On 07/29/13 19:34, Romain Beauxis wrote: > Hi Damien, > > 2013/7/29 Damien Moody <mai...@au...>: >> I'm trying to upgrade to version 1.1.1 but it gives me this error when trying to start my script: >> >> Invalid value at line 14, char 16-52: No encoder found for that format. >> >> That line is this part of my script: >> >> output.icecast(%vorbis(quality=0.6,samplerate=44100), >> host="localhost", port=8000, >> password="(password)", mount="ambient.ogg", name="Synthetronica Radio", >> description="Ambient Electronica", genre="Ambient", url="synthetronica", >> ambient_radio) >> >> Version 1.0.0 gives no such error and starts normally. >> >> What could be going wrong? > It looks like you don't have support for the %vorbis encoder. If you > compiled your own binary, you probably need to recompile with > ocaml-ogg and ocaml-vorbis enabled. If you installed it through a > packaging system, you probably need to see with your package manager > how to enable it. > > In Debian, you should for instance install liquidsoap-plugin-vorbis. > > Romain > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users |
From: Damien M. <mai...@au...> - 2013-07-29 20:40:11
|
I've located the culprit to the "stream/station name only" issue: ocaml-ogg-0.4.5. When I downgrade to 0.4.3, the problem goes away. However, Liquidsoap-1.1.1 spits out that "no encoder found" error unless I upgrade to 0.4.5, in which case, I get the "stream/station name only" issue. How should I fix this? On 07/29/13 20:18, Damien Moody wrote: > Hi Romain, > > I have all the dependencies installed. In this case, there was a later > version of ocaml-ogg I could upgrade to, and then I had to recompile > ocaml-vorbis to make sure it matched, then re-install Liquidsoap using > the ebuild. That got the error to go away, but now when I open my > streams in a media player, I get the stream names and radio station name > (which shows up in the player), but there is no actual stream. No sound. > No tracks being played - just the stream and station names being displayed. > > ps aux | grep liquidsoap shows the process running using > /usr/bin/liquidsoap, which is version 1.1.1. > > What would cause that? > > > On 07/29/13 19:34, Romain Beauxis wrote: >> Hi Damien, >> >> 2013/7/29 Damien Moody <mai...@au...>: >>> I'm trying to upgrade to version 1.1.1 but it gives me this error when trying to start my script: >>> >>> Invalid value at line 14, char 16-52: No encoder found for that format. >>> >>> That line is this part of my script: >>> >>> output.icecast(%vorbis(quality=0.6,samplerate=44100), >>> host="localhost", port=8000, >>> password="(password)", mount="ambient.ogg", name="Synthetronica Radio", >>> description="Ambient Electronica", genre="Ambient", url="synthetronica", >>> ambient_radio) >>> >>> Version 1.0.0 gives no such error and starts normally. >>> >>> What could be going wrong? >> It looks like you don't have support for the %vorbis encoder. If you >> compiled your own binary, you probably need to recompile with >> ocaml-ogg and ocaml-vorbis enabled. If you installed it through a >> packaging system, you probably need to see with your package manager >> how to enable it. >> >> In Debian, you should for instance install liquidsoap-plugin-vorbis. >> >> Romain >> >> ------------------------------------------------------------------------------ >> Get your SQL database under version control now! >> Version control is standard for application code, but databases havent >> caught up. So what steps can you take to put your SQL databases under >> version control? Why should you start doing it? Read more to find out. >> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk >> _______________________________________________ >> Savonet-users mailing list >> Sav...@li... >> https://lists.sourceforge.net/lists/listinfo/savonet-users > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users |
From: Damien M. <mai...@au...> - 2013-08-13 13:36:53
|
I have the following init script to start liquidsoap on Gentoo. I need to modify it, and I'm not sure how. It is supposed to be used like net.lo - you make a symlink to it such as liquidsoap.main. The problem is, when I do that, it starts the first process and thereafter produces no error about new processes, but the new processes aren't actually started. For example, /etc/init.d/liquidsoap.main start starts up and everything works as expected. If I then do /etc/init.d/liquidsoap.ambient start, I can see ambient.pid in /usr/local/var/run/liquidsoap, but there is no process other than liquidsoap.main found by ps aux | grep liquidsoap. How should this script be changed to fix this? /etc/init.d/liquidsoap: #!/sbin/runscript script=${RC_SVCNAME#*.} scriptfile="/etc/liquidsoap/${script}.liq" command=/usr/local/bin/liquidsoap command_args="--daemon -t ${scriptfile}" start_stop_daemon_args="--user liquidsoap:liquidsoap --nicelevel -15 " pidfile="/usr/local/var/run/liquidsoap/${script}.pid" name=${RC_SVCNAME} description="Liquidsoap deamon that obeys ${scriptfile}" extra_commands="check" description_check="Check and evaluate stream scripts without interupting streaming." depend() { need localmount use net after alsasound icecast } _script_exists() { if [ "${script}" = "${RC_SVCNAME}" ]; then eerror "You have to create an init script for each stream script:" eerror "ln -s liquidsoap /etc/init.d/liquidsoap.<script>" eerror "where script refers to /etc/liquidsoap/<script>.liq" return 1 fi if [ ! -f "${scriptfile}" ]; then eerror "${scriptfile} not found" return 1 fi } check() { _script_exists || return 1 einfo "Checking ${scriptfile}" use net after alsasound icecast } _script_exists() { if [ "${script}" = "${RC_SVCNAME}" ]; then eerror "You have to create an init script for each stream script:" eerror "ln -s liquidsoap /etc/init.d/liquidsoap.<script>" eerror "where script refers to /etc/liquidsoap/<script>.liq" return 1 fi if [ ! -f "${scriptfile}" ]; then eerror "${scriptfile} not found" return 1 fi } check() { _script_exists || return 1 einfo "Checking ${scriptfile}" check_result=`$command --check-lib ${scriptfile}` eend $? ${check_result} return $? } start_pre() { _script_exists || return 1 } start() { start-stop-daemon --start \ ${start_stop_daemon_args} \ --pidfile ${pidfile} \ --exec ${command} \ -- ${command_args} } |
From: Damien M. <mai...@au...> - 2013-08-13 13:43:21
|
I currently use liquidsoap 1.0.0. When I try to upgrade to 1.1.1, I need to also upgrade ocaml-ogg to 0.4.5 (or liquidsoap will complain). When I try to run liquidsoap-1.1.1 with ocaml-ogg-0.4.5, I can connect to my stream with a media player, but there is no actual stream. The same thing happens when I use liquidsoap-1.0.0 with ocaml-ogg-0.4.5. I have to go back to ocaml-ogg-0.4.3 for anything to work, regardless of which version of liquidsoap I use. What could cause this? How would I fix it? Thanks, Damien |
From: Samuel M. <sm...@gm...> - 2013-08-13 15:27:13
|
Hi, This is really strange... Do you get anything relevant in the logs with set("log.level",5)? The diff between the two versions of ocaml-ogg is really minimal: https://github.com/savonet/ocaml-ogg/compare/5930fd2a465bbf5ed96ab743fb69cda945fe04d3...7416950cdeb6461fca303d3bc8515490e667ffa5 Could you also try with ocaml-ogg 0.4.5, removing lines 325 to 327 in ogg_stubs.c? (This is the only modification between the two versions which could affect you as far as I can tell...) Cheers, Samuel. On Tue, Aug 13, 2013 at 3:43 PM, Damien Moody <mai...@au...> wrote: > I currently use liquidsoap 1.0.0. When I try to upgrade to 1.1.1, I need > to also upgrade ocaml-ogg to 0.4.5 (or liquidsoap will complain). When I > try to run liquidsoap-1.1.1 with ocaml-ogg-0.4.5, I can connect to my > stream with a media player, but there is no actual stream. The same > thing happens when I use liquidsoap-1.0.0 with ocaml-ogg-0.4.5. I have > to go back to ocaml-ogg-0.4.3 for anything to work, regardless of which > version of liquidsoap I use. > > What could cause this? How would I fix it? > > Thanks, > Damien > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users |
From: Damien M. <mai...@au...> - 2013-08-14 15:33:59
|
Hi Samuel, This is the tail of my log file when using liquidsoap-1.1.1 and ocaml-ogg-0.4.5: 2013/08/14 15:19:03 [ambient:5] Queue is empty! 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file. 2013/08/14 15:19:03 [ambient:5] Queue is empty! 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file. 2013/08/14 15:19:03 [main:5] Queue is empty! 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file. 2013/08/14 15:19:03 [main:5] Queue is empty! 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file. 2013/08/14 15:19:03 [ambient:5] Queue is empty! 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file. This makes no sense, as nothing else has changed. My script correctly points to files and liquidsoap-1.0.0 has no problems here. The same thing happens when I remove the suggested lines from ogg_stubs.c. What would make liquidsoap think there's no file if a previous version doesn't have this trouble? Thanks, Damien On 08/13/13 15:26, Samuel Mimram wrote: > Hi, > > This is really strange... Do you get anything relevant in the logs > with set("log.level",5)? > > The diff between the two versions of ocaml-ogg is really minimal: > https://github.com/savonet/ocaml-ogg/compare/5930fd2a465bbf5ed96ab743fb69cda945fe04d3...7416950cdeb6461fca303d3bc8515490e667ffa5 > Could you also try with ocaml-ogg 0.4.5, removing lines 325 to 327 in > ogg_stubs.c? > (This is the only modification between the two versions which could > affect you as far as I can tell...) > > Cheers, > > Samuel. > > On Tue, Aug 13, 2013 at 3:43 PM, Damien Moody <mai...@au...> wrote: >> I currently use liquidsoap 1.0.0. When I try to upgrade to 1.1.1, I need >> to also upgrade ocaml-ogg to 0.4.5 (or liquidsoap will complain). When I >> try to run liquidsoap-1.1.1 with ocaml-ogg-0.4.5, I can connect to my >> stream with a media player, but there is no actual stream. The same >> thing happens when I use liquidsoap-1.0.0 with ocaml-ogg-0.4.5. I have >> to go back to ocaml-ogg-0.4.3 for anything to work, regardless of which >> version of liquidsoap I use. >> >> What could cause this? How would I fix it? >> >> Thanks, >> Damien >> >> ------------------------------------------------------------------------------ >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> It's a free troubleshooting tool designed for production. >> Get down to code-level detail for bottlenecks, with <2% overhead. >> Download for free and get started troubleshooting in minutes. >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> _______________________________________________ >> Savonet-users mailing list >> Sav...@li... >> https://lists.sourceforge.net/lists/listinfo/savonet-users > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users |
From: Romain B. <to...@ra...> - 2013-08-14 15:37:03
|
Hi,2013/8/14 Damien Moody <mai...@au...> > > Hi Samuel, > > This is the tail of my log file when using liquidsoap-1.1.1 and > ocaml-ogg-0.4.5: > > 2013/08/14 15:19:03 [ambient:5] Queue is empty! > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file. > 2013/08/14 15:19:03 [ambient:5] Queue is empty! > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file. > 2013/08/14 15:19:03 [main:5] Queue is empty! > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file. > 2013/08/14 15:19:03 [main:5] Queue is empty! > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file. > 2013/08/14 15:19:03 [ambient:5] Queue is empty! > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file. > > This makes no sense, as nothing else has changed. My script correctly > points to files and liquidsoap-1.0.0 has no problems here. > > The same thing happens when I remove the suggested lines from ogg_stubs.c. > > What would make liquidsoap think there's no file if a previous version > doesn't have this trouble? Have you also enabled ocaml-vorbis or whatever ocaml bindings for the codecs used in your ogg files? Romain |
From: Damien M. <mai...@au...> - 2013-08-14 15:42:11
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Yep, ocaml-vorbis is present and works with liquidsoap-1.0.0 on my server. <br> <br> I just noticed that liquidsoap-1.0.0 works OK with ocaml-ogg-0.4.5. I don't know why it didn't before, but now it looks like the only problem is switching from liquidsoap-1.0.0 to 1.1.1. If I can just figure out why 1.1.1 thinks it has an empty queue...<br> <br> If this matters, liquidsoap-1.0.0 runs out of /usr/local/bin and uses /usr/local/var/run while liquidsoap-1.1.1 uses /usr/bin and /var/run. Could that have anything to do with my issue?<br> <br> On 08/14/13 15:36, Romain Beauxis wrote:<br> </div> <blockquote cite="mid:CAB...@ma..." type="cite"> <div dir="ltr">Hi,2013/8/14 Damien Moody <<a moz-do-not-send="true" href="mailto:mai...@au...">mai...@au...</a>><br> ><br> > Hi Samuel,<br> ><br> > This is the tail of my log file when using liquidsoap-1.1.1 and<br> > ocaml-ogg-0.4.5:<br> ><br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> ><br> > This makes no sense, as nothing else has changed. My script correctly<br> > points to files and liquidsoap-1.0.0 has no problems here.<br> ><br> > The same thing happens when I remove the suggested lines from ogg_stubs.c.<br> ><br> > What would make liquidsoap think there's no file if a previous version<br> > doesn't have this trouble?<br> <br> <div>Have you also enabled ocaml-vorbis or whatever ocaml bindings for the codecs used in your ogg files?</div> <div><br> </div> <div>Romain</div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. <a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> </body> </html> |
From: Damien M. <mai...@au...> - 2013-08-14 16:17:50
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Yep, ocaml-vorbis is present and works with liquidsoap-1.0.0 on my server. <br> <br> I just noticed that liquidsoap-1.0.0 works OK with ocaml-ogg-0.4.5. I don't know why it didn't before, but now it looks like the only problem is switching from liquidsoap-1.0.0 to 1.1.1. If I can just figure out why 1.1.1 thinks it has an empty queue...<br> <br> If this matters, liquidsoap-1.0.0 runs out of /usr/local/bin and uses /usr/local/var/run while liquidsoap-1.1.1 uses /usr/bin and /var/run. Could that have anything to do with my issue?<br> <br> (Sorry if this is a repeat. Send didn't seem to work the first time.)<br> <br> On 08/14/13 15:36, Romain Beauxis wrote:<br> </div> <blockquote cite="mid:CAB...@ma..." type="cite"> <div dir="ltr">Hi,2013/8/14 Damien Moody <<a moz-do-not-send="true" href="mailto:mai...@au...">mai...@au...</a>><br> ><br> > Hi Samuel,<br> ><br> > This is the tail of my log file when using liquidsoap-1.1.1 and<br> > ocaml-ogg-0.4.5:<br> ><br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> ><br> > This makes no sense, as nothing else has changed. My script correctly<br> > points to files and liquidsoap-1.0.0 has no problems here.<br> ><br> > The same thing happens when I remove the suggested lines from ogg_stubs.c.<br> ><br> > What would make liquidsoap think there's no file if a previous version<br> > doesn't have this trouble?<br> <br> <div>Have you also enabled ocaml-vorbis or whatever ocaml bindings for the codecs used in your ogg files?</div> <div><br> </div> <div>Romain</div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. <a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> </body> </html> |
From: Damien M. <mai...@au...> - 2013-08-16 16:53:44
|
With a little help from the Gentoo forums, I've modified the Gentoo init script. It has not been working correctly because of a missing stop(). Also, you may need to take /usr/local out of ${command} and ${pidfile}, depending on your setup. #!/sbin/runscript script=${RC_SVCNAME#*.} scriptfile="/etc/liquidsoap/${script}.liq" command=/usr/local/bin/liquidsoap command_args="--daemon -t ${scriptfile}" start_stop_daemon_args="--user liquidsoap:liquidsoap --nicelevel -15 " pidfile="/usr/local/var/run/liquidsoap/${script}.pid" name=${RC_SVCNAME} description="Liquidsoap deamon that obeys ${scriptfile}" extra_commands="check" description_check="Check and evaluate stream scripts without interrupting streaming." depend() { need localmount use net after alsasound icecast } _script_exists() { if [ "${script}" = "${RC_SVCNAME}" ]; then eerror "You have to create an init script for each stream script:" eerror "ln -s liquidsoap /etc/init.d/liquidsoap.<script>" eerror "where script refers to /etc/liquidsoap/<script>.liq" return 1 fi if [ ! -f "${scriptfile}" ]; then eerror "${scriptfile} not found" return 1 fi } check() { _script_exists || return 1 einfo "Checking ${scriptfile}" use net after alsasound icecast } _script_exists() { if [ "${script}" = "${RC_SVCNAME}" ]; then eerror "You have to create an init script for each stream script:" eerror "ln -s liquidsoap /etc/init.d/liquidsoap.<script>" eerror "where script refers to /etc/liquidsoap/<script>.liq" return 1 fi if [ ! -f "${scriptfile}" ]; then eerror "${scriptfile} not found" return 1 fi } check() { _script_exists || return 1 einfo "Checking ${scriptfile}" check_result=`$command --check-lib ${scriptfile}` eend $? ${check_result} return $? } start_pre() { _script_exists || return 1 } start() { start-stop-daemon --start \ ${start_stop_daemon_args} \ --pidfile ${pidfile} \ --exec ${command} \ -- ${command_args} } |
From: Damien M. <mai...@au...> - 2013-08-16 16:57:27
|
I copied from the wrong source, sorry. The following is the correct init script: #!/sbin/runscript # Remove "/usr/local" when liquidsoap is entirely installed via Portage or otherwise does not use /usr/local. script=${RC_SVCNAME#*.} scriptfile="/etc/liquidsoap/${script}.liq" command=/usr/local/bin/liquidsoap command_args="--daemon -t ${scriptfile}" start_stop_daemon_args="--user liquidsoap:liquidsoap --nicelevel -15 " pidfile="/usr/local/var/run/liquidsoap/${script}.pid" name=${RC_SVCNAME} description="Liquidsoap deamon that obeys ${scriptfile}" extra_commands="check" description_check="Check and evaluate stream scripts without interrupting streaming." depend() { need localmount use net after alsasound icecast } _script_exists() { if [ "${script}" = "${RC_SVCNAME}" ]; then eerror "You have to create an init script for each stream script:" eerror "ln -s liquidsoap /etc/init.d/liquidsoap.<script>" eerror "where script refers to /etc/liquidsoap/<script>.liq" return 1 fi if [ ! -f "${scriptfile}" ]; then eerror "${scriptfile} not found" return 1 fi } check() { _script_exists || return 1 einfo "Checking ${scriptfile}" check_result=`$command --check-lib ${scriptfile}` eend $? ${check_result} return $? } start_pre() { _script_exists || return 1 } start() { start-stop-daemon --start \ ${start_stop_daemon_args} \ --pidfile ${pidfile} \ --exec ${command} \ -- ${command_args} } stop() { ebegin "Stopping Liquidsoap..." start-stop-daemon --stop --pidfile "${pidfile}" --exec ${command} -- --PidFile "${pidfile}" eend $? } On 08/16/13 16:53, Damien Moody wrote: > With a little help from the Gentoo forums, I've modified the Gentoo init > script. It has not been working correctly because of a missing stop(). > > Also, you may need to take /usr/local out of ${command} and ${pidfile}, > depending on your setup. > > #!/sbin/runscript > > script=${RC_SVCNAME#*.} > scriptfile="/etc/liquidsoap/${script}.liq" > command=/usr/local/bin/liquidsoap > command_args="--daemon -t ${scriptfile}" > start_stop_daemon_args="--user liquidsoap:liquidsoap --nicelevel -15 " > pidfile="/usr/local/var/run/liquidsoap/${script}.pid" > name=${RC_SVCNAME} > > description="Liquidsoap deamon that obeys ${scriptfile}" > extra_commands="check" > description_check="Check and evaluate stream scripts without > interrupting streaming." > > depend() { > need localmount > use net > after alsasound icecast > } > > _script_exists() { > if [ "${script}" = "${RC_SVCNAME}" ]; then > eerror "You have to create an init script for each stream script:" > eerror "ln -s liquidsoap /etc/init.d/liquidsoap.<script>" > eerror "where script refers to /etc/liquidsoap/<script>.liq" > return 1 > fi > > if [ ! -f "${scriptfile}" ]; then > eerror "${scriptfile} not found" > return 1 > fi > } > > check() { > _script_exists || return 1 > einfo "Checking ${scriptfile}" > use net > after alsasound icecast > } > > _script_exists() { > if [ "${script}" = "${RC_SVCNAME}" ]; then > eerror "You have to create an init script for each stream script:" > eerror "ln -s liquidsoap /etc/init.d/liquidsoap.<script>" > eerror "where script refers to /etc/liquidsoap/<script>.liq" > return 1 > fi > > if [ ! -f "${scriptfile}" ]; then > eerror "${scriptfile} not found" > return 1 > fi > } > > check() { > _script_exists || return 1 > einfo "Checking ${scriptfile}" > check_result=`$command --check-lib ${scriptfile}` > eend $? ${check_result} > return $? > } > > start_pre() { > _script_exists || return 1 > } > > start() { > start-stop-daemon --start \ > ${start_stop_daemon_args} \ > --pidfile ${pidfile} \ > --exec ${command} \ > -- ${command_args} > } > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users |
From: Romain B. <to...@ra...> - 2013-08-18 20:34:57
|
Hi Damien, Thanks for that, We will see about adding it to the repository. Romain |
From: Damien M. <mai...@au...> - 2013-08-16 20:26:23
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">I have double-checked everything, and liquidsoap-1.1.1 seems to have a bug, perhaps triggered under specific circumstances. I upgraded from 1.0.0 to 1.1.0 and had no problems. Only 1.1.1 has this "empty queue" problem. Let me know how I can help track down what's going on. <br> <br> On 08/14/13 16:18, Damien Moody wrote:<br> </div> <blockquote cite="mid:520...@au..." type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <div class="moz-cite-prefix">Yep, ocaml-vorbis is present and works with liquidsoap-1.0.0 on my server. <br> <br> I just noticed that liquidsoap-1.0.0 works OK with ocaml-ogg-0.4.5. I don't know why it didn't before, but now it looks like the only problem is switching from liquidsoap-1.0.0 to 1.1.1. If I can just figure out why 1.1.1 thinks it has an empty queue...<br> <br> If this matters, liquidsoap-1.0.0 runs out of /usr/local/bin and uses /usr/local/var/run while liquidsoap-1.1.1 uses /usr/bin and /var/run. Could that have anything to do with my issue?<br> <br> (Sorry if this is a repeat. Send didn't seem to work the first time.)<br> <br> On 08/14/13 15:36, Romain Beauxis wrote:<br> </div> <blockquote cite="mid:CAB...@ma..." type="cite"> <div dir="ltr">Hi,2013/8/14 Damien Moody <<a moz-do-not-send="true" href="mailto:mai...@au...">mai...@au...</a>><br> ><br> > Hi Samuel,<br> ><br> > This is the tail of my log file when using liquidsoap-1.1.1 and<br> > ocaml-ogg-0.4.5:<br> ><br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> ><br> > This makes no sense, as nothing else has changed. My script correctly<br> > points to files and liquidsoap-1.0.0 has no problems here.<br> ><br> > The same thing happens when I remove the suggested lines from ogg_stubs.c.<br> ><br> > What would make liquidsoap think there's no file if a previous version<br> > doesn't have this trouble?<br> <br> <div>Have you also enabled ocaml-vorbis or whatever ocaml bindings for the codecs used in your ogg files?</div> <div><br> </div> <div>Romain</div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. <a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> </body> </html> |
From: Damien M. <mai...@au...> - 2013-08-16 20:48:02
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">I just had a thought: Did you guys change anything about annotation? I use annotation for my playlists. Perhaps if the annotate feature has changed, this could cause 1.1.1 to not read my annotation the way previous versions do. <br> <br> On 08/16/13 20:26, Damien Moody wrote:<br> </div> <blockquote cite="mid:520...@au..." type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <div class="moz-cite-prefix">I have double-checked everything, and liquidsoap-1.1.1 seems to have a bug, perhaps triggered under specific circumstances. I upgraded from 1.0.0 to 1.1.0 and had no problems. Only 1.1.1 has this "empty queue" problem. Let me know how I can help track down what's going on. <br> <br> On 08/14/13 16:18, Damien Moody wrote:<br> </div> <blockquote cite="mid:520...@au..." type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <div class="moz-cite-prefix">Yep, ocaml-vorbis is present and works with liquidsoap-1.0.0 on my server. <br> <br> I just noticed that liquidsoap-1.0.0 works OK with ocaml-ogg-0.4.5. I don't know why it didn't before, but now it looks like the only problem is switching from liquidsoap-1.0.0 to 1.1.1. If I can just figure out why 1.1.1 thinks it has an empty queue...<br> <br> If this matters, liquidsoap-1.0.0 runs out of /usr/local/bin and uses /usr/local/var/run while liquidsoap-1.1.1 uses /usr/bin and /var/run. Could that have anything to do with my issue?<br> <br> (Sorry if this is a repeat. Send didn't seem to work the first time.)<br> <br> On 08/14/13 15:36, Romain Beauxis wrote:<br> </div> <blockquote cite="mid:CAB...@ma..." type="cite"> <div dir="ltr">Hi,2013/8/14 Damien Moody <<a moz-do-not-send="true" href="mailto:mai...@au...">mai...@au...</a>><br> ><br> > Hi Samuel,<br> ><br> > This is the tail of my log file when using liquidsoap-1.1.1 and<br> > ocaml-ogg-0.4.5:<br> ><br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [main:5] Queue is empty!<br> > 2013/08/14 15:19:03 [main:5] Failed to prepare track: no file.<br> > 2013/08/14 15:19:03 [ambient:5] Queue is empty!<br> > 2013/08/14 15:19:03 [ambient:5] Failed to prepare track: no file.<br> ><br> > This makes no sense, as nothing else has changed. My script correctly<br> > points to files and liquidsoap-1.0.0 has no problems here.<br> ><br> > The same thing happens when I remove the suggested lines from ogg_stubs.c.<br> ><br> > What would make liquidsoap think there's no file if a previous version<br> > doesn't have this trouble?<br> <br> <div>Have you also enabled ocaml-vorbis or whatever ocaml bindings for the codecs used in your ogg files?</div> <div><br> </div> <div>Romain</div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. <a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Savonet-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Sav...@li...">Sav...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/savonet-users">https://lists.sourceforge.net/lists/listinfo/savonet-users</a> </pre> </blockquote> <br> </body> </html> |
From: Romain B. <to...@ra...> - 2013-08-18 20:33:49
|
Hi Damien, 2013/8/16 Damien Moody <mai...@au...> > I have double-checked everything, and liquidsoap-1.1.1 seems to have a bug, perhaps triggered under specific circumstances. I upgraded from 1.0.0 to 1.1.0 and had no problems. Only 1.1.1 has this "empty queue" problem. Let me know how I can help track down what's going on. I think that the best to help you would be a copy of your configure logs, i.e. the logs returned when you run ./configure prior to building liquidsoap. Thanks, Romain |