Re: [Savonet-users] Configure Error

2008-05-13 Thread David
Hi Bill,

Could it be that you didn't comment it out correctly ? Try to run 
liquidsoap, and then your script in a more direct way:
$ liquisoap -- version
$ liquidsoap myscript.liq

Since /usr/local/lib/liquidsoap is installed, I assume utils.liq is in 
it, so the following should work:
$ liquidsoap 'out(dolebrai())'

You're indeed getting closer to play with liquidsoap. Have fun!

David

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Configure Error

2008-05-13 Thread Bill Upp
Here is my latest.  I commented out all the scripts I had written for the 
/usr/bin/liquidsoap, and still when I issued the command 
liquidsoap 'out(dolebrai())'  I got the same error 
bash: /usr/bin/liquidsoap: No such file or directory

So I went to the /usr/local/bin directory, and from there issued the command 
./liquidsoap 'out(dolebrai())' and got the following output

2008/05/13 17:26:43  LOG START
2008/05/13 17:26:43 [protocols.external:3] Didn't find ufetch
2008/05/13 17:26:43 [protocols.external:3] Found /usr/bin/wget
2008/05/13 17:26:43 [main:3] Liquidsoap 0.3.6+svn (trunk/[EMAIL PROTECTED])
2008/05/13 17:26:43 [threads:3] Created thread event queue 1 (1 total)
2008/05/13 17:26:43 [threads:3] Created thread root (2 total)
2008/05/13 17:26:43 [root:3] Waking up active nodes...
2008/05/13 17:26:43 [threads:3] Created thread http polling (3 total)
2008/05/13 17:26:43 [threads:3] Created thread ao_playback (4 total)
2008/05/13 17:26:43 [root:3] Broadcast starts up!
Creating link /home/wupp/.kde/socket-WUpp-Ubuntu.
can't create mcop directory

So, I got excited.  I issued the command ./liquidsoap --version
and got 

Liquidsoap 0.3.6+svn (trunk/[EMAIL PROTECTED]).
Copyright (c) 2003-2008 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See http://savonet.sf.net for more information.

Again, more excitement.  So I grabbed a script from online, edited it and saved 
it as firsttry.liq.  I issued this command 
./liquidsoap /home/wupp/Desktop/firsttry.liq and got this

At line 2, char 5-11: this value should be a source, or unit.
At line 3 char 18 - line 4 char 0: unbound symbol ouput.ao.

Here is the script
#!/usr/bin/liquidsoap -v
set log.dir = /tmp
output = ouput.ao
# Output via libao is the most portable and stable option.
# You may also be able to use output.alsa.
# If you have a configured icecast server,
# uncomment the next two lines and edit the parameters
# output = output.icecast(mount=foo.ogg,host=localhost,
# port=8000,password=hackme)
output(playlist.safe(christianogg.pls))

and according to the pdf manual I have, you’re now listening to your playlist, 
via icecast or not.

How close am I to getting this??

Thanks again!!
Bill





--- On Tue, 5/13/08, David [EMAIL PROTECTED] wrote:

 From: David [EMAIL PROTECTED]
 Subject: Re: [Savonet-users] Configure Error
 To: [EMAIL PROTECTED]
 Cc: Romain Beauxis [EMAIL PROTECTED], savonet-users@lists.sourceforge.net
 Date: Tuesday, May 13, 2008, 1:56 AM
 Hi Bill,
 
 Could it be that you didn't comment it out correctly ?
 Try to run 
 liquidsoap, and then your script in a more direct way:
 $ liquisoap -- version
 $ liquidsoap myscript.liq
 
 Since /usr/local/lib/liquidsoap is installed, I assume
 utils.liq is in 
 it, so the following should work:
 $ liquidsoap 'out(dolebrai())'
 
 You're indeed getting closer to play with liquidsoap.
 Have fun!
 
 David


  

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Configure Error

2008-05-13 Thread Romain Beauxis
Hi !

Le Wednesday 14 May 2008 00:37:07 Bill Upp, vous avez écrit :
 Here is my latest.  I commented out all the scripts I had written for the
 /usr/bin/liquidsoap, and still when I issued the command liquidsoap
 'out(dolebrai())'  I got the same error
 bash: /usr/bin/liquidsoap: No such file or directory
(...)
 So, I got excited.  I issued the command ./liquidsoap --version
 and got

 Liquidsoap 0.3.6+svn (trunk/[EMAIL PROTECTED]).
 Copyright (c) 2003-2008 Savonet team
 Liquidsoap is open-source software, released under GNU General Public
 License. See http://savonet.sf.net for more information.

Good !
It seems the previous error is some install inconsistency from your side.
You should be able to clean it now..


 Again, more excitement.  So I grabbed a script from online, edited it and
 saved it as firsttry.liq.  I issued this command ./liquidsoap
 /home/wupp/Desktop/firsttry.liq and got this

 At line 2, char 5-11: this value should be a source, or unit.
 At line 3 char 18 - line 4 char 0: unbound symbol ouput.ao.

 Here is the script
(...)
 and according to the pdf manual I have, you’re now listening to your
 playlist, via icecast or not.

 How close am I to getting this??

Not so far !

In fact, the script you grabbed is very outdated..
We are planning to release a new html documentation with a new website with 
next release (very soon). You can get a sample there:
  http://www.rastageeks.org/~toots/liq-new/

The updated script could be:
#!/usr/bin/liquidsoap -v
set(log.file,false)
output = ouput.ao
# Output via libao is the most portable and stable option.
# You may also be able to use output.alsa.
# If you have a configured icecast server,
# uncomment the next two lines and edit the parameters
# output = output.icecast(mount=foo.ogg,host=localhost,
#                         port=8000,password=hackme)
output(playlist.safe(christianogg.pls))


Romain
-- 
How can a man
Discover a land
That already populated with Indians?

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users