I have what is *supposed* to be my main playlist, with a jingle every 4 songs.
The playlist for jingles has four entries, so I am expecting to hear a
different one of the 4 jingles after each 4 songs...
For example...
Song 1 -> song 2 -> song 3 -> song 4 -> jingle 1 -> and then...
Song 5 -> song 6 -> song 7 -> song 8 -> jingle 2 ... etc etc
But instead, I am always hearing the last of the 4 jingles after every 4th
song. Why is it not cycling thru the list of jingles? Here is my config...
# fixed list of 4 jingles
playlistJingles = audio_to_stereo(playlist("playlists/jingles-playlist.txt"))
# for the main playlist of songs, use
# dynamic song selection with my external script
def crimson_request_function() =
result = list.hd(get_process_lines("./next_song.sh
playlists/crimson-playlist.txt"))
log("Next song "^result)
request.create(result)
end
plc = request.dynamic(crimson_request_function)
plc = rotate(weights=[1,4], [playlistJingles, plc])
# rotate should not randomize the jingles, correct?
output.icecast(
%mp3(bitrate=96, id3v2=true),
host="localhost", port=8000, password="password",
mount="/crimson", genre="Christian Blues",
description="Crimson Blues and more",
url="http://www.t4p.com:8000/crimson",
mksafe(plc))
Any help appreciated,
/Mark
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users