Hi,
I use liquidsoap with 2 sources: 1 from a playlist and the second from
equeue.
I would like playlist active when equeue empty, and equeue active when
something inside.
I also want to skip to a new song from the playlist when come back to it.
I use the cross_fade for all transitions.
# my fallback
def myfallback(mixnottoskip,musictoskip)
def transition(a,b) =
source.skip(musictoskip)
sequence([a,fade.initial(b)])
end
def crossfade(a,b)
add(normalize=false,[ sequence([blank(duration=1.),
fade.initial(duration=1.5,b) ]),fade.final(duration=1.5,a) ])
end
fallback(id="myfallback",track_sensitive=false,transitions=[crossfade,transi
tion],[mixnottoskip,musictoskip])
end
radio = myfallback(equeue_input, playlist)
But I have a problem with the metadata:
- playlist active: metadata song A
- equeue active with a content: metadata equeue A
- equeue empty, go back to the playlist with a skip -> song B, but
still metadata A
- song B finished, song C start, and metadatas song C OK
The problem is when fallback from equeue to playlist is done, the metadatas
used comes from the song A (song active when equeue becames actived).
Regards
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users