Hi all, We are aware of the issues with rotate. A fix has been pushed to the `v2.0.1` bugfix branch. We will release it shortly, maybe early next month. Meanwhile, y'all can install it locally using `opam pin` or find a build of the latest commit in our actions tab on github. As of now this is the latest one: https://github.com/savonet/liquidsoap/actions/runs/1342462013
Romain Le ven. 15 oct. 2021 à 09:39, Florian Reiterer <florianreite...@gmx.de> a écrit : > Hi, > I have been running rotate successfully and switched to 2.0 today. I also > have issues but different ones (I’m getting tracks from the same folder > played twice, though I have a check_next defined) > > So, I’d say, done correct, it may well be an issue. > > Myself I will try with the latest 2.1. Let you know how it works the next > days. > > Regards, > Florian > > Excerpt: > Musik = > playlist(reload_mode="watch",check_next=check,"/home/motherearth/FTP/media/Musik") > Musik = crossfade(smart=true, width=4., high=-25., medium=-39., Musik) > Klassik = > playlist(reload_mode="watch",check_next=check,"/home/motherearth/FTP/media/Klassik") > show = ("/home/motherearth/FTP/media/Sendungen/show.flac") > music = rotate (weights = [12, 1],[Musik, Klassik]) > music.on_leave(music.skip) > radio = fallback(track_sensitive=false, [showtime, music]) > > Am 15.10.2021 um 14:20 schrieb Richard Bartholomew <rlbar...@gmail.com>: > > Hi, > > I'm very new to liquidsoap so expect that I'm doing (or not doing) > something fundamental! I'm running liquidsoap 2.0 on ubuntu 21.04. > > I have a directory containing a mixture of jingles and promos all at the > same level (ie not within sub-directories). > I also have another directory containing sub-directories with music. What > I want to happen is for a jingle or promo to be played every fourth music > track. What is happening, though, is: > > > 1. The source seems to get stuck on either jingles or promos rather > than a mixture of them. > 2. The jingle/promo is not played everry fourth song – it can be > played after three tracks or five, etc. On one occasion, I've seen in the > log that four tracks are prepared before a jingle is played; yet, when I > was listening, the jingle was played after the third track! > > > Below is an extract from my script and any help with it would be greatly > appreciated. > > Thanks for any help. > > jingles=audio_to_stereo(mksafe(normalize(playlist("/home/radio/jingles")))) > > SixtiesPlus=audio_to_stereo(mksafe(normalize(playlist("/home/radio/music/decades/60s70s80s")))) > radio=mksafe(switch(track_sensitive=false, [({1w}, Monday), ({2w}, > Tuesday), ({3w}, Wednesday), ({4w}, Thursday), ({5w}, Friday), ({6w}, > Saturday), ({7w}, Sunday)])) > radio=mksafe(crossfade(smart=true, rotate(weights=[1, 4], [jingles, > radio]))) > > Regards > Richard Bartholomew > > _______________________________________________ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users > > > _______________________________________________ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users >
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users