Ach! I sent you the old 1.2.1 code! My apologies for the confusion.

In my code sample, I put crossfade() on the autodj playlist.

Instead, put crossfade() on the rotate(), like so:

output = crossfade(rotate(weights=[1,5],[ jingles, autodj ]))

Yes, your jingles will crossfade with the music, which is something that annoys 
me, too, however, that's the only way I got it to work.

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: martin sutton <martinjamessut...@hotmail.co.uk>
Sent: Monday, July 6, 2020 10:50:01 PM
To: savonet-users@lists.sourceforge.net <savonet-users@lists.sourceforge.net>
Subject: Re: [Savonet-users] Inserting tracks


Hi thanks for all your help.

Here is my code that I am using to play 1 jingle every 2 songs:

songs=crossfade(playlist("/home/martin/streaming/music/dance/handsup"))

songs=mksafe(songs)

jingles = playlist("/home/martin/streaming/jingles")

output = rotate(weights=[1,2],[ jingles, songs])

Then I output it to icecast.

When I start the station, it starts out by playing a jingle, then it plays the 
songs.

But the problem is that the jingle doesn't play again at all.

I am useing ubuntu 20.04.

Is there something I am missing? Regards

Martin



Sent from 
Mail<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Ca79d746b3af54681bd4c08d821ab4c34%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637296366884798858&sdata=BsNuEva4ifMobgeY87JM9S2ynMH6QF0rldRFRHYZJ%2BE%3D&reserved=0>
 for Windows 10



From: Judd West<mailto:westjga...@live.com>
Sent: 05 July 2020 14:32
To: 
savonet-users@lists.sourceforge.net<mailto:savonet-users@lists.sourceforge.net>
Subject: Re: [Savonet-users] Inserting tracks



Woops, that broke, let's try again:





autodj = crossfade(playlist("/home/radio/music"))

jingles = playlist("/home/radio/id")

output = rotate(weights=[1,5],[ jingles, autodj ])



From: Judd West <westjga...@live.com>
Sent: Sunday, 5 July 2020 11:31 PM
To: savonet-users@lists.sourceforge.net <savonet-users@lists.sourceforge.net>
Subject: Re: Inserting tracks



Hi there, Martin,



We use the following code on our station:

```autodj = crossfade(playlist("/home/radio/music"))

jingles = playlist("/home/radio/id")

offline = rotate(weights=[1,5],[ jingles, autodj ])

```



From: martin sutton <martinjamessut...@hotmail.co.uk>
Sent: Friday, 3 July 2020 3:22 PM
To: savonet-users@lists.sourceforge.net <savonet-users@lists.sourceforge.net>
Subject: [Savonet-users] Inserting tracks



Hi.

I was wondering if I could have some guidance about inserting tracks.

I've gone through the quickstart and the examples there haven't helped.

I'm trying to insert a jingle every 2 songs

I've created a playlist of jingles and a playlist of music.

I've tried using such functions as random and rotate in conjunction with 
weights but it still doesn't work.

I'm quite new to this and having gone over the manual as much as I can over the 
last couple of weeks I am still at square 1 with regards to this particular 
proplem.

Everything else I need for my station I believe I can do but it's just this one 
obsticle.

Any help would be gratefully appriciated.

Regards

Martin



Sent from 
Mail<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Ca79d746b3af54681bd4c08d821ab4c34%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637296366884798858&sdata=BsNuEva4ifMobgeY87JM9S2ynMH6QF0rldRFRHYZJ%2BE%3D&reserved=0>
 for Windows 10




_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to