Go to ~/airtime/pypo/liquidsoap/ and backup liquidsoap32.
Copy the newly compiled liquidsoap from liquidsoap/src to ~/airtime/pypo/liquidsoap/liquidsoap32
Then I modified my ~/airtime/pypo/scripts/ls_config.liq where it shows "###". Remove the "###" for it to work.
Then add the following to the end of ~/airtime/pypo/scripts/ls_scripts.liq:
Go to ~/airtime/python_apps/pypo/liquidsoap/ and backup liquidsoap32 (or liquidsoap64 on a 64bit install).
Copy the newly compiled liquidsoap from ~/savonet/liquidsoap/src to ~/airtime/python_apps/pypo/liquidsoap/liquidsoap32 (or liquidsoap64 on a 64bit install).
Then I modified my ~/airtime/python_apps/pypo/scripts/ls_scripts.liq where it shows "###". Remove the "###" for it to work.
Then add the following to the end of ~/airtime/python_apps/pypo/scripts/ls_scripts.liq:
music = playlist(mode='randomize',reload=1,reload_mode="rounds", "/srv/users/music")
jingles = playlist(mode='randomize',reload=1,reload_mode="rounds", "/srv/users/jingles/")
default = rotate(weights=[1,5], [jingles, music])
jingles = playlist(mode='randomize',reload=1,reload_mode="rounds", "/home/server/muzyka/jingles")
music_zaiks = playlist(mode='randomize',reload=1,reload_mode="rounds" "/home/server/muzyka/zaiks")
music_cc = playlist(mode='randomize',reload=1,reload_mode="rounds" "/home/server/muzyka/cc")
default_zaiks_cc = rotate(weights=[1,3,1,3], [jingles, music_zaiks, jingles, music_cc])
It looks like you're new here. If you want to get involved, click one of these buttons!