Cool cool! Thanks. I kind of can't do that right now as my ISP just went off
line again.
Now, one question. My playlist will be a directory that will change daily for
this project. I mean the files within. Will the playlist function just keep
scanning that directory? I already have somethign in in the works, but maybe I
can combine my script with yours and try not to brake something.
Blessings.
> On Nov 28, 2014, at 11:08, Franco Solerio <[email protected]> wrote:
>
> Of course! Check it out on github and feel free to copy.
> https://gist.github.com/francosolerio/e624ba55c2a663ac6b1d
>
> Franco
>
>
>
> Il giorno 28 novembre 2014 @ 20:06:18, Sarah Alawami ([email protected]) ha
> scritto:
>
>> Would I be able to have a look to? I'm working on something similar for a
>> project for next year. But for now, I just need some temporary automation
>> until I go live with my Christmas episodes or shows or live streams or
>> whatever the case maybe at least on the main mountpoint.
>>
>>
>>
>> On Nov 28, 2014, at 07:56, Franco Solerio <[email protected]> wrote:
>>
>>> Hello Mark, (in the morning!)
>>> I’ve been using liquidsoap for more than a year to manage the stream
>>> between the live shows of my podcast. You can have a look at my production
>>> script: apart from the online/offline functionality many of the features
>>> you need are implemented there and work very well (fade in/out on harbor
>>> connection, stingers immediately before the transition from playlist to
>>> jingle etc.). I’m sure you can find inspiration for your needs.
>>>
>>> Check it out here:
>>> https://gist.github.com/francosolerio/e624ba55c2a663ac6b1d
>>>
>>> Say hello to Adam on my behalf: he knows me from the times I hosted the
>>> RockCast Italia podcast and I’m responsible of him switching to Ableton
>>> Live for producing the show :)
>>>
>>> Have a nice weekend!
>>>
>>> Franco
>>> Il giorno 26 novembre 2014 @ 18:52:50, Mark van Dijk ([email protected]) ha
>>> scritto:
>>>
>>>> (I had to resend this. My domain's settings were too restrictive for
>>>> mailing list postings, so the previous email might have been rejected by
>>>> receiving hosts. This has been adjusted now.)
>>>>
>>>> Hello Liquidsoap users,
>>>>
>>>> My name is Mark, I'm the system administrator for the No Agenda podcast
>>>> and stream.
>>>>
>>>> Recently I have switched to Liquidsoap for our 24h stream. Our servers
>>>> are using Gentoo and Liquidsoap isn't easy to install, so for this
>>>> purpose I created a Docker container[1]. It works quite nicely.
>>>>
>>>> I am sharing the Liquidsoap code for our stream on Github[2], so you can
>>>> see how it currently is coded.
>>>>
>>>> I guess this type of stream is a bit unusual because the shows are long
>>>> (generally longer than 1h), and we don't play music from a playlist.
>>>>
>>>> The tl;dr of my problem: whenever there is an "event", the first thing
>>>> that should be played is the sweeper. I.e. when the host connects; when
>>>> he disconnects; between all shows from the playlist; when 'online'
>>>> starts and when 'offline' starts.
>>>>
>>>> A broader explanation:
>>>>
>>>> There is a live show two times a week. Outside those hours we play a
>>>> short list of various recorded podcasts.
>>>>
>>>> The idea is as follows and, for a part, I have been able to get it
>>>> to work.
>>>>
>>>> * The stream has two 'modes': offline and online. During 'offline' hours
>>>> we play a podcast playlist. We play a sweeper between every podcast.
>>>>
>>>> * The actual show is scheduled two times a week, i.e. on Sunday and
>>>> Thursday, starting at about 17:00h UTC until approx. 20:00h UTC.
>>>>
>>>> * 15 minutes before the show starts, the stream switches to 'elevator
>>>> music' which plays until 15 minutes after the show. This is the
>>>> 'online' mode.
>>>>
>>>> * The show host can connect at any time, so, both during online hours
>>>> and offline hours. So, if he wants to broadcast on e.g. a Wednesday,
>>>> he is able to connect and Liquidsoap patches him through.
>>>>
>>>> The reasons for the elevator music is to let people know that a show is
>>>> about to start, or that the show has already finished, or that there are
>>>> technical difficulties, i.e. if the host disconnects within the online
>>>> hours.
>>>>
>>>> On to my problem. What I would like is the following. When the stream
>>>> switches to offline or online, I want it to always start with a sweeper.
>>>> Only then, depending on the time, it should play the playlist (offline)
>>>> or the elevator music (online).
>>>>
>>>> When the host connects, his stream should immediately be broadcast, even
>>>> if he interrupts a running show from the offline playlist. It would also
>>>> be nice if this can be prefaced by the sweeper, but I haven't gotten
>>>> this to work, and I'm not sure about this feature yet, but I would like
>>>> to know how to get this into code.
>>>>
>>>> When the host disconnects during offline hours, you should hear the
>>>> sweeper, and then a show should start from the beginning. I got this to
>>>> work thanks to fallback.skip.
>>>>
>>>> When the host disconnects during online hours, i.e. between 16:45 and
>>>> 20:15, you should hear the sweeper, and then the elevator music. I
>>>> *think* I have this working too.
>>>>
>>>> But, right now, when the stream switches to offline or online at the
>>>> scheduled time, the sweeper is skipped. I think this is because of the
>>>> fallback.skip and I haven't found a way to get this working properly. I
>>>> guess that it shouldn't skip when 'switch' starts or ends but only when
>>>> the host disconnects.
>>>>
>>>> I'm hoping for advice, maybe someone who is interested to help can
>>>> review the code I have so far written. Liquidsoap is fairly new to me,
>>>> and I'm sure I'm not doing things in the best way possible.
>>>>
>>>> Thanks in advance. Liquidsoap is fantastic.
>>>> Mark
>>>>
>>>> [1] https://registry.hub.docker.com/u/noagenda/lqs/
>>>> [2] https://github.com/NoAgendaIT/noagendastream
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>> ------------------------------------------------------------------------------
>>
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
>>
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users