Hi Michael!
So the first problem in your script comes from this:
def play_history () =
intro = playlist("intro")
outro = playlist("outro")
news = playlist("news")
merge_tracks( sequence ( [ intro, news, outro, fail() ] ) )
end
Once you call play_history(), the source is created once and for all and it
is a source that plays exactly 3 tracks and then fails forever, which is
why you are seeing that the rotate never catches back. Instead, you should
do:
intro = playlist("intro")
outro = playlist("outro")
news = playlist("news")
radio = rotate([intro, news, outro, pl_musik])
This should give you a source that plays intro, news, outro, pl_musik and
then do it again.
If you _really_ need to merge the tracks from the first 3 sources, then I
think it might be more complicated..
Romain
2016-04-23 8:00 GMT-05:00 Michael Pieper <[email protected]>:
> I have the following small script:
>
> -----------------------------------------------
> pl_musik = playlist("music\IMAScore\")
>
> def play_history () =
> intro = playlist("intro")
> outro = playlist("outro")
> news = playlist("news")
>
> merge_tracks( sequence ( [ intro, news, outro, fail() ] ) )
> end
>
> radio = rotate(weights=[1,1], [play_history(), pl_musik] )
> ----------------------------------------------
>
> I hae two problems with this script:
>
> 1. merge_track is not creating one Track out of the three input sources.
> rotate still needs a weights of [3,1] to play one complete news with
> intro and outro.
>
> 2. the first news souds good, then the rotate switches to the miskig
> playlist, but after one track it did not switch back to the
> play_history. This source is empty
>
> Can anyone help here?
>
> Best regards
> Michael
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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