Re: [Savonet-users] wont leave http.input source

2009-06-08 Thread Frits Letteboer - St. Radio Twenterand
David Baelde wrote:

 
 I did not test this solution, so there might be minor things to adjust
 (e.g. merge=true for the sequence). Please tell us what works fine for
 you in the end, it might be a good recipe for our cookbook.

Seems the latest SVN is still crashing when, at least, using append with 
merge=true:

http://savonet.rastageeks.org/ticket/284

Thread 4 killed on uncaught exception Assert_failure(source.ml, 208, 10)

Log:

2009/06/08 10:21:09 [src_4613:2] #get_frame didn't add exactly one break!

2009/06/08 10:21:09 [threads:1] Thread root aborts with exception File 
source.ml, line 208, characters 10-16: Assertion failed!

-- 
Frits Letteboer
Technisch Beheer
Stichting Radio Twenterand

I: http://radiotwenterand.nl
E: f.letteb...@radiotwenterand.nl

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Non english symbols in tags

2009-06-08 Thread Romain Beauxis
Le Monday 08 June 2009 14:43:50 Vadym, vous avez écrit :
 Hi all

Hi !

 I listen mp3 to icecast
 but LS send russian(cp1251) tags not properly
 on which encoding I must fill tags in mp3 ?

I think we should need more details to help you on this issue.

What is exactly the source of the tags ? Is it an audio stream from another 
icecast server or local files ?

Once we know the origin of the metadata, we can look at the encoding used..

Romain

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] line in and Metadata

2009-06-08 Thread Romain Beauxis
Hi !

Le Thursday 04 June 2009 21:06:07 Ramon Roche, vous avez écrit :
 great, i can connect to telnet from here, which is great, i found out
 after i initially sent this email that i could do it, but i ignored how
 to send messages back to my instance of liquidsoap

 after reading your email i went and added
 radio = insert_metadata(id=radio, radio)
 and i connected via telnet, typed help and the command showed up
 at this point i was really happy hahaha
 and then, i typed
 radio.insert title=Song Title,artist=Artist Name
 and i didn't notice any change on my stream, and all of a sudden my
 stream just stopped w/o showing nothing on the log

 i am about to test the stream with curl to see the actual data, do you
 have any idea of what may be wrong? 

Not at that point. It would be nice if you could show me a script and explain 
how to reproduce the issue here.

 maybe telnet is interrupting the
 icecast stream?

That's possible if the telnet server crashed the liquidsoap instance, though 
unlikely. By the way, which version of liquidsoap are you using ?


Romain


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] line in and Metadata

2009-06-08 Thread Ramon Roche
thanks for your reply, here is my script

#!/usr/local/bin/liquidsoap
set(log.file.path, liquidalsa.log)
set(log.stdout, true)
set(frame.samplerate, 44100)
set(server.telnet.port,1234)
set(server.telnet, true)
#set(server.telnet.bind_addr,172.0.0.1)
radio = in()
radio = normalize(radio)
radio = insert_metadata(id=radio, radio)
output.icecast.mp3(
host = xxx,
port = xxx,
id = blues96,
name = ,
genre = xxx,
url = xxx,
bitrate = 96,
password = xxx,
mount = /xxx/,
radio
)


On Tue, 2009-06-09 at 01:12 +0200, Romain Beauxis wrote:
   Hi !
 
 Le Thursday 04 June 2009 21:06:07 Ramon Roche, vous avez écrit :
  great, i can connect to telnet from here, which is great, i found out
  after i initially sent this email that i could do it, but i ignored how
  to send messages back to my instance of liquidsoap
 
  after reading your email i went and added
  radio = insert_metadata(id=radio, radio)
  and i connected via telnet, typed help and the command showed up
  at this point i was really happy hahaha
  and then, i typed
  radio.insert title=Song Title,artist=Artist Name
  and i didn't notice any change on my stream, and all of a sudden my
  stream just stopped w/o showing nothing on the log
 
  i am about to test the stream with curl to see the actual data, do you
  have any idea of what may be wrong? 
 
 Not at that point. It would be nice if you could show me a script and explain 
 how to reproduce the issue here.
 
  maybe telnet is interrupting the
  icecast stream?
 
 That's possible if the telnet server crashed the liquidsoap instance, though 
 unlikely. By the way, which version of liquidsoap are you using ?
 
 
 Romain
 



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] line in and Metadata

2009-06-08 Thread Romain Beauxis
Hi !

Le Tuesday 09 June 2009 01:14:40 Ramon Roche, vous avez écrit :
 thanks for your reply, here is my script

That script works correctly here, both with SVN and 0.9.0.

Do you have an extract of the logs during the failure ?


Romain

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] line in and Metadata

2009-06-08 Thread Ramon Roche
i attached the log thanks for the help


On Tue, 2009-06-09 at 01:33 +0200, Romain Beauxis wrote:
   Hi !
 
 Le Tuesday 09 June 2009 01:14:40 Ramon Roche, vous avez écrit :
  thanks for your reply, here is my script
 
 That script works correctly here, both with SVN and 0.9.0.
 
 Do you have an extract of the logs during the failure ?
 
 
 Romain
2009/06/03 15:46:22  LOG START
2009/06/03 15:46:22 [protocols.external:3] Didn't find ufetch
2009/06/03 15:46:22 [protocols.external:3] Found /usr/bin/wget
2009/06/03 15:46:22 [main:3] Liquidsoap 0.9.0
2009/06/03 15:46:22 [lang:3] flac binary not found: flac decoder disabled.
2009/06/03 15:46:22 [lang:3] metaflac binary not found: flac metadata resolver disabled.
2009/06/03 15:46:22 [lang:3] faad binary not found: faad decoder disabled.
2009/06/03 15:46:22 [threads:3] Created thread generic queue #1.
2009/06/03 15:46:22 [root:3] Waking up active nodes...
2009/06/03 15:46:22 [blues128:3] Connecting mount /stream/binational_blues128 for sou...@mp3push.llnw.net...
2009/06/03 15:46:22 [threads:3] Created thread root (1 total).
2009/06/03 15:46:23 [blues128:3] Connection setup was successful.
2009/06/03 15:46:23 [threads:3] Created thread alsa_capture (2 total).
2009/06/03 15:46:23 [test:3] Using ALSA 1.0.18.
2009/06/03 15:46:23 [root:3] Broadcast starts up!
2009/06/03 15:46:23 [input.alsa:2] No available frame!
2009/06/03 15:46:23 [input.alsa:2] No available frame!
2009/06/03 15:46:23 [input.alsa:2] Overrun!
2009/06/03 15:46:23 [input.alsa:2] No available frame!
2009/06/03 15:46:26 [main:3] Shutdown started!
2009/06/03 15:46:26 [main:3] Waiting for threads to terminate...
2009/06/03 15:46:26 [root:3] Shutting down sources...
2009/06/03 15:46:26 [threads:3] Thread root exited (1 remaining).
2009/06/03 15:46:26 [threads:3] Thread alsa_capture exited (0 remaining).
2009/06/03 15:46:26 [main:3] Cleaning downloaded files...
2009/06/03 15:46:26  LOG END
2009/06/03 16:20:16  LOG START
2009/06/03 16:20:16 [protocols.external:3] Didn't find ufetch
2009/06/03 16:20:16 [protocols.external:3] Found /usr/bin/wget
2009/06/03 16:20:16 [main:3] Liquidsoap 0.9.0
2009/06/03 16:20:16 [lang:3] flac binary not found: flac decoder disabled.
2009/06/03 16:20:16 [lang:3] metaflac binary not found: flac metadata resolver disabled.
2009/06/03 16:20:16 [lang:3] faad binary not found: faad decoder disabled.
2009/06/03 16:20:16 [threads:3] Created thread generic queue #1.
2009/06/03 16:20:16 [root:3] Waking up active nodes...
2009/06/03 16:20:16 [blues128:3] Connecting mount /stream/binational_blues128 for sou...@mp3push.llnw.net...
2009/06/03 16:20:16 [threads:3] Created thread root (1 total).
2009/06/03 16:20:16 [blues128:3] Connection setup was successful.
2009/06/03 16:20:16 [threads:3] Created thread alsa_capture (2 total).
2009/06/03 16:20:16 [test:3] Using ALSA 1.0.18.
2009/06/03 16:20:16 [root:3] Broadcast starts up!
2009/06/03 16:20:16 [input.alsa:2] No available frame!
2009/06/03 16:20:16 [input.alsa:2] Overrun!
2009/06/03 16:20:17 [input.alsa:2] No available frame!
2009/06/03 16:20:17 [input.alsa:2] Overrun!
2009/06/03 16:20:17 [input.alsa:2] No available frame!
2009/06/03 16:20:17 [input.alsa:2] Overrun!
2009/06/03 16:20:18 [input.alsa:2] No available frame!
2009/06/03 16:20:18 [input.alsa:2] Overrun!
2009/06/03 16:20:18 [input.alsa:2] No available frame!
2009/06/03 16:20:23 [main:3] Shutdown started!
2009/06/03 16:20:23 [main:3] Waiting for threads to terminate...
2009/06/03 16:20:23 [root:3] Shutting down sources...
2009/06/03 16:20:23 [threads:3] Thread root exited (1 remaining).
2009/06/03 16:20:23 [threads:3] Thread alsa_capture exited (0 remaining).
2009/06/03 16:20:23 [main:3] Cleaning downloaded files...
2009/06/03 16:20:23  LOG END
2009/06/03 16:20:28  LOG START
2009/06/03 16:20:28 [protocols.external:3] Didn't find ufetch
2009/06/03 16:20:28 [protocols.external:3] Found /usr/bin/wget
2009/06/03 16:20:28 [main:3] Liquidsoap 0.9.0
2009/06/03 16:20:28 [lang:3] flac binary not found: flac decoder disabled.
2009/06/03 16:20:28 [lang:3] metaflac binary not found: flac metadata resolver disabled.
2009/06/03 16:20:28 [lang:3] faad binary not found: faad decoder disabled.
2009/06/03 16:20:28 [threads:3] Created thread generic queue #1.
2009/06/03 16:20:28 [threads:3] Created thread root (1 total).
2009/06/03 16:20:28 [root:3] Waking up active nodes...
2009/06/03 16:20:28 [blues128:3] Connecting mount /stream/binational_blues128 for sou...@mp3push.llnw.net...
2009/06/03 16:20:28 [blues128:3] Connection setup was successful.
2009/06/03 16:20:28 [test:3] Using ALSA 1.0.18.
2009/06/03 16:20:28 [threads:3] Created thread alsa_capture (2 total).
2009/06/03 16:20:28 [root:3] Broadcast starts up!
2009/06/03 16:20:28 [input.alsa:2] No available frame!
2009/06/03 16:20:28 [input.alsa:2] No available frame!
2009/06/03 16:21:08 [input.alsa:2] Overrun!
2009/06/03 16:21:08 [input.alsa:2] No available frame!
2009/06/03 16:21:18 [input.alsa:2] No available frame!
2009/06/03 16:21:35 [main:3] 

Re: [Savonet-users] Weird problems when calling a playlist of only 1 title

2009-06-08 Thread Kero
Hello,

The eat_blank operator is only used for the musique value, which
relates to playlist.m3u - a playlist of +/- 100 mp3s with very little
blank : this list is what's broadcasted about 20hrs/day every day. I
never had a problem with eat_blank and that playlist.
playlist.m3u must NOT be confused with play.m3u which is a playlist of
only one file, played only on saturday evening.

play.m3u is used in the metalinv value, for which no eat_blank is used.

There is no eat_blank either in further mix (like after using a
switch or a fallback), so it should not interfere with liquidsoap
behaviors regarding the muting of different sources. As a consequence,
my guess is eat_blank can not interfere with the
metalinv/play.m3u/switch mess, which started all my troubles.

The same goes for the crossfade operator, which is used before the
switch, and does not interfere with the guilty metalinv.

If you still think eat_blank could interefere with something, tell me,
and I'll try without it. But for now, I'm doubtful.

On Tue, Jun 9, 2009 at 1:05 AM, Romain Beauxisto...@rastageeks.org wrote:
        Hi !

 Le Monday 08 June 2009 22:57:22 Kero, vous avez écrit :
 BOTH problems has appeared at the same time : when I added the one-mp3
 playlist (play.m3u), and the switch to go with it. So I think they're
 linked in some way. I tried changing the switch logic but it didn't
 change anything.

 Thanks for the detailed description of your issue.

 My first guess would be to try to desactivate the eat_blank operator.

 Indeed, this operator consumes audio data until it finds something that is not
 a blank.

 I am not sure about its behaviour, but I guess it should be used for a source
 where you expect some audio data most of the time.

 If the source, for instance, is composed of tracks of blank data, it will pull
 data all the time and probably behave oddly.

 Could you tell us if the problem still occur without this operator ?

 Romain


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] escape quotes

2009-06-08 Thread Brandon Casci
Hello

I'm logging meta data to an external script with the system call. Sometimes
the meta data contains quotes, which breaks the system call because they
need to be escaped. How should I escape them with an liq script?

Thanks
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users