Hi,

Your parameters of playlist ( reload=1,reload_mode="rounds" ) say that
the playlist should be reloaded after each song, thus re-randomizing
the playlist each time (which can lead to repetitions). I would advise
you to use mode="watch" in order to reload the playlist only when it
is changed.

++

Sam.

On Tue, Apr 8, 2014 at 4:35 PM, Leonardo Almeida
<[email protected]> wrote:
> How i can prevent repeat musics, before play all musics from a folder (we
> have a lot of repeats musics, before folder finish).
>
>
> My liq. file (is working without any problem, we have to correct only
> repeats):
>
> ============================
> set("log.file.path","/log/1.log")
> set("init.daemon.pidfile.path","/var/run/liquidsoap/pi.pid")
> %include "/groove/include/utils.liq"
>
> c1 =
> playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder1/")
> c2 =
> playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder2/")
> c3 =
> playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder3/")
> c4 =
> playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder4/")
> c5 =
> playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder5/")
> c6 = playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder6")
> c7 =
> playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder7/")
> c8 =
> playlist(mode="randomize",reload=1,reload_mode="rounds","/mp3/folder8/")
>
> pa = random([c2,c3,c4,c6])
> pb = random([c1,c5])
> pc = random([c7,c8])
>
> s = switch([({6h-13h},pa),({13h-17h},pb),({17h-6h},pc)])
>
> s = map_metadata(append_title, s)
> s = map_metadata(append_artist, s)
> s = smart_crossfade(fade_out=0.5,fade_in=0.5,s)
>
> output.icecast(%mp3(bitrate=128),host="localhost",port=8000,fallible=true,password="xxx",user="xxx",mount="1",s
> ============================
>
>
> Regards,
>
>
> Leonardo
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to