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://go.microsoft.com/fwlink/?LinkId=550986> 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://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7C8e55746cdf554d1f81f008d81f1e73ba%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293562931637341&sdata=S03NGwh8You%2FTO199mfJKPnl6eHKW7nWWoHGhahabUc%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