Hi all,
Le 21 janvier 2012 20:49, Audiodef Online <[email protected]> a écrit :
> When I do a live show, I keep it simple by connecting to my server, port
> 8000 (or whatever you've set your streaming server to use), and setting my
> mount point, via my live streaming client. I don't even need to do anything
> with liquidsoap. I simply announce to my audience via posts on the internet
> where to tune in to the live show.
>
> For example, my regular station is http://(mysite).com:8000/radio.ogg. Using
> Internet DJ Console (IDJC), I connect to (mysite).com:8000, enter the
> streaming server's username and password in the username and password
> fields, and put /listen as my mount point. I connect my audio sources to
> IDJC and all I need to do is have the audience tune in to
> http://(myradio).com:8000/listen.
>
> That's one way. There are other ways people can tell you about, I'm sure.
> You could set up ports to connect live clients to and switch those ports to
> main when the live shows begin, which I think is how it's more commonly
> done.
I think that josh is looking for a fully automated process.
I see two different parts in his request:
- Part 1: add - live (show title) and - automation to all metadata.
This can be done very easily with the following code (not tested tho):
def append_string(source, string) =
def f(m) =
title = m["title"]
["title", "#{title} - #{string}"]
end
on_metadata(source, f)
end
# Define live source
live = (...)
# Add "- live"
live = append_string(live, "live")
# Define automation source
automation = (...)
# Add "- automation"
automation = append_string(automation, "automation")
Part 2: Add more informations about the current show.
On this part, I can just complete what Damian has said. What you need
is two things:
1) Information about your show: show name, currently playing song etc..
2) Send this information to liquidsoap
1) is up tp your live system. Damien describe one way, through
internet DJ software, but there may be others, for instance if you DJs
control their show through an interface etc..
2) is documented here and there. You can for instance register http
endpoints to send informations to a running liquidsoap:
http://liquidsoap.fm/doc-1.0.0/harbor_http.html
Hope this helps,
Romain
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users