I did some small change:

news_2  = sequence ( [ single ("news-thema-1/news-start.mp3"),
        news_w_bg,
        single("news-thema-1/news-inbetween.mp3"),
        news_w_bg,
        delay ( 10.0, single ("news-thema-1/news-end.mp3") ) ] )

 radio = rotate(weights = [5, 1], [news_2, pl_musik])


This helped now to hear the news the first time, then 1 track of musik
was played and then afterwards the "news-end.mp3" was played again, and
then a new track of pl_musik.

So it is running fine, but when the sequence ius called by the rotate it
is not treating the first tracks again it is only playing the last track.

So the issue is really how to restart the "sequence" command again so it
will request the first tracks again...

Best regards
  Michael

Am 09.04.2016 um 10:36 schrieb Michael Pieper:
> Hello everybody
> 
> I really appreciate your help as it is really good.
> 
> Currently I'm creating a news system, where I can put simple recorded
> news into a folder and liquidsoap will generate out of this speach files
> a interesting news.
> 
> To create a news the following steps are done:
> 
> 1st add the begin jingle
> 2nd add the first news combined with a background music
> 3rd add a inbetween jingle
> 4th add the second news combined with a background music
> 5th add a end-jingle to the news.
> 
> It is partly working. at least for the first time, but I'm not able to
> repeat this regularly. I tried to use switch or rotate, but I never got
> a second "jingle"
> 
> I always have problems to "restart" the creation of such topics.
> 
> Here is the source I'm using:
> 
> ---------------------------
> pl_musik = playlist("S:\IMAScore")
> 
> news_playlist = playlist("news-orginal")
> news_w_bg     = add [ delay ( 10.0, news_playlist),
>                       single ("news-thema-1/news-background.mp3") ] )
> 
> news_2  = sequence ( [ single ("news-thema-1/news-start.mp3"),
>       news_w_bg,
>       single("news-thema-1/news-inbetween.mp3"),
>       news_w_bg,
>       single ("news-thema-1/news-end.mp3"),
>       empty() ] )
> 
> radio = rotate(weights = [6, 1], [news_2, pl_musik])
> ----------------------------
> 
> if someone needs also the jingles to test, simple give me a note I will
> put them somewhere
> 
> Best regards
>   and thanks for your help
>    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! http://pubads.g.doubleclick.net/
> gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
> 
> 
> 
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
> 


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
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! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to