[Savonet-users] wont leave http.input source

2009-06-07 Thread Rob Canning
hi i have a http.source input in a schedule but it doesnt leave it when it 
should - it just stays on it - i suspect this is becase it sees the stream as 
one track that never ends and the track_sensitive=true makes it behave his way 

is it possible to set track sensitive to false somehow to deal with this while 
keeping it true for other parts of the switching system?


otherstream  = input.http(http://grub.spc.org:8008/blablabla.ogg;)

radio = fallback([ request.queue(id=request),
switch(track_sensitive=true,

[({ 9h-1h }, day),
({ 1h-9h }, otherstream),

etc. 
etc.
--
r...@goto10.org
rob.goto10.org
--


signature.asc
Description: Digital signature
--
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


[Savonet-users] IRC bot examples

2009-06-07 Thread Rob Canning
i would like to programme an IRC bot to deal with requests.
can someone point me at some example code?
thanks
rob

--
r...@goto10.org
rob.goto10.org
--


signature.asc
Description: Digital signature
--
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] IRC bot examples

2009-06-07 Thread Solvik Blum
I use SmartIRC, http://pear.php.net/package/Net_SmartIRC/redirected

You can script whatever you want :) Telnet etc.


Rob Canning wrote:
 i would like to programme an IRC bot to deal with requests.
 can someone point me at some example code?
 thanks
 rob

 --
 r...@goto10.org
 rob.goto10.org
 --
   
 

 --
 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
   

--
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] IRC bot examples

2009-06-07 Thread David Baelde
I don't have any code to show right now, but just a little information:

We've once written and used for a long time a perl bot. This is now a
spaghetti monster featuring various non-portable things, and it's
probably not possible (nor useful) to publish it. It is using some
perl irc module that provided support for automation (don't remember
which one it was). Concerning the interaction with liquidsoap, you can
start from our liquidsoap/scripts/ask-liquidsoap.pl. If you prefer to
code your bot in ruby there is also ask-liquidsoap.rb. Both are very
rough, string-based, but they should do the job. If you prefer python
I suggest you can start from liquidsoap/gui/client.py.

Another example that I have in mind is a much simpler bot written (but
no more used) for dolebrai.net. It was built on top of ocaml-irc, so
coded in ocaml. If you feel like starting from it, you could probably
clean it and make it available somewhere.

Cheers,
-- 
David

--
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] Mulitple LiquidSoap instances

2009-06-07 Thread David Baelde
Hi,

Thanks for this nice report! We've thought a bit about efficiency, but
it has never been the priority. It's really cool to hear that it's so
light.

Could you also give us a rough idea of how complex your liquidsoap
configurations are? If I remember correctly, you're using
smart_crossfade() but no other sound processing operator.

Cheers,
-- 
David

--
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] Mulitple LiquidSoap instances

2009-06-07 Thread Brandon Casci
I've been running multiple instances as well. I got 35 instances, with three
transcodes each to run on a quadcore server, with cross fading and
normalization.

On Sun, Jun 7, 2009 at 9:48 AM, David Baelde david.bae...@gmail.com wrote:

 Hi,

 Thanks for this nice report! We've thought a bit about efficiency, but
 it has never been the priority. It's really cool to hear that it's so
 light.

 Could you also give us a rough idea of how complex your liquidsoap
 configurations are? If I remember correctly, you're using
 smart_crossfade() but no other sound processing operator.

 Cheers,
 --
 David


 --
 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

--
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


[Savonet-users] Metadata update according with live show info

2009-06-07 Thread Romeo
Hi, Savonet Team!

is it possible to update stream metadata using input.harbor headers?

i suggest i must do it this way, but it doesn't work. i get blank title
instead.


meta = []  # - is it correct ???

def liveStart(headers)
log([LIVE-START]: live source goes up! Switching from playlist...)

meta = headers # - how to do this correctly ??? i guess this
doesn't update meta variable
end

liveInput = input.harbor(id=live,
live.ogg,
buffer=10.,
password=livePasswd,
on_connect=liveStart)

liveInput = rewrite_metadata([(title, meta[ice-name])], liveInput)  #
- is it correct ???

--
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] Metadata update according with live show info

2009-06-07 Thread Romain Beauxis
Le Sunday 07 June 2009 20:11:29 Romeo, vous avez écrit :
 Hi, Savonet Team!

Hi !

 is it possible to update stream metadata using input.harbor headers?

 i suggest i must do it this way, but it doesn't work. i get blank title
 instead.

Yes, the liquidsoap language is a functional language. Hence, it is not 
possible to change the value of a variable. This is done by redefining a new 
variable.

For that reason, 
  x = y
is a boolean, true if x = y and false otherwise.

In some cases, however, this is not possible to redefine the variable
You can use the string.ref operator. This operators returns two functions, one 
for reading the current registered value, and another one to register a new 
value. 

In your precise case, you can do even better, and avoid string.ref. This goes 
like this:

def liveStart(headers)
log([LIVE-START]: live source goes up! Switching from playlist...)
title = headers[ice-name]
ignore(server.execute(liveMeta.insert title=\#{title}\))
end

liveInput = input.harbor(id=live,
live.ogg,
buffer=10.,
password=livePasswd,
on_connect=liveStart)

liveInput = insert_metadata(id=liveMeta, liveInput) 

That way, a new metadata will be inserted each time the harbor input receives 
a new connection.


Romain


--
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