There are several ways to do what you want to do. First off all add isn't the
way to do it.
Here is how I achive what you are trying to do. I have two playlists like what
you have there, jingles and master. Master is a list of about 1200 tracks that
play over and over. At the top of the hour a cron job adds a new jingle track
to the play list.
s = fallback ([ rotate(weights=[1,1], [ master, jingles ])
The master is a standard playlist, where the jingles playlist is a
playlist.once.
On Thu, Nov 15, 2018 at 02:24:14PM -0800, Pascal wrote:
> I'm not sure if this is the right place. But I'll have a go. I am currently
> setting up a radio station on a raspberry pi using liquidsoap. Most of it
> works fine, thank you for your great work!
>
> **What I am trying to do:**
> But there is one thing I have not managed to achieve so far. I would like to
> play a specific file every hour (news.mp3).
>
> **What I have tried so far:**
> ```
> # radio is a playlist, news a single source
> radio = add([radio,switch([({00m0s},news)])])
> ```
> This plays the file at the desired time, but music keeps playing.
>
> ```
> # radio is a playlist, news a single source
> radio = fallback(track_sensitive = false, [switch([ ( {0m0s} , news) ]),
> radio ])
> ```
> This plays the file at the given time and stops the music. **But** it just
> cuts off the playing track, instead of fading it out.
>
> So, is there an option to achieve that the currently playing music is faded
> off before the news start?
>
>
> --
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> https://github.com/savonet/liquidsoap/issues/658
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users