Old 8th November 2015, 15:38   #1
zepsun
Junior Member
 
Join Date: Nov 2015
Posts: 2
Repeat a spoken track, every 4th track, in shuffled playlist

I am trying to coordinate music for a skating event that takes place daily during the week.
I have a pool of about 1000 songs that I want to randomly play, however I need a 'reverse skating' announcement to play after every 4th song.

Looking online I haven't been able to find a way to do this without complicated scripting. I'm trying to automate the music. So far I'm able to use windows task scheduler to start and stop the playlist, but I can sort out the music.

Basically I want something like:

1. All My Love
2. Hello Hello
3. Generation
4. 'Reverse skating'
5. Survivor
7.Dance
8. Rock and Roll
9. 'Reverse skating'
10...etc..

all songs in between 'reverse skating' should randomize day to day.
thanks
zepsun is offline   Reply With Quote
Old 9th November 2015, 06:29   #2
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
shoutcast do not have software that can do that

"If you don't like DNAS, write your own damn system"

So I did
jaromanda is offline   Reply With Quote
Old 9th November 2015, 14:14   #3
ryerman
Major Dude
 
ryerman's Avatar
 
Join Date: Mar 2010
Location: Canada
Posts: 741
You can add a track after every 3 songs in a randomized playlist with Notepad ++.
  • Enqueue selected songs in Playlist Editor
  • Randomize as desired
  • Save playlist
  • Edit playlist with Notepad ++ (see here):
    1. Delete line #1 (#EXTM3U)
    2. To insert a track after every 3 songs, go to Search > Replace menu and do the following:
      Find what:
      code:
      (.*\r?\n){6}\K

      Replace:
      code:
      F:\\path to\\announcement\\Reverse Skating.mp3\r\n

      Notice that backslashes in the path must be escaped.
    3. Select radio button "Regular Expression"
    4. Click "Replace All"
  • Clear Playlist Editor
  • Add edited playlist to Playlist Editor

Windows 10 Home, 64 bit, Winamp 5.666, Bento Skin
ryerman is offline   Reply With Quote
Old 9th November 2015, 22:00   #4
zepsun
Junior Member
 
Join Date: Nov 2015
Posts: 2
Thanks Ryerman. I tried your suggestion. It's close, but is it possible to take it a step further?
Can I hard code tracks 3, 6, 9, 12, 15, 18, etc, to always be reverseskating.mp3, even when I press shuffle - without having to open an editor every time?

Maybe the other solution, is to create one giant playlist, using your code - but have windows task scheduler start and stop the playlist, saving its location so it continues from the next track?

To make things more complicated, there are actually 3 skate sessions: kids, adult, and senior - each using different music playlists.
zepsun is offline   Reply With Quote
Old 10th November 2015, 01:27   #5
ryerman
Major Dude
 
ryerman's Avatar
 
Join Date: Mar 2010
Location: Canada
Posts: 741
Quote:
Originally Posted by zepsun View Post
Can I hard code tracks 3, 6, 9, 12, 15, 18, etc, to always be reverseskating.mp3, even when I press shuffle - without having to open an editor every time?
Nope. Shuffle (or Randomize) affects all tracks in the Playlist Editor.
Quote:
Originally Posted by zepsun View Post
Maybe the other solution, is to create one giant playlist, using your code - but have windows task scheduler start and stop the playlist, saving its location so it continues from the next track?
The plug-in "Time Restore & Autoplay v2.5.4" may be of interest to you.
Quote:
Originally Posted by zepsun View Post
To make things more complicated, there are actually 3 skate sessions: kids, adult, and senior - each using different music playlists.
Once you've figured out all the buttons to push, it seems to me that you could make 20 or 30 1000 track playlists in an hour or two.
But I don't know your workflow or the degree of automation you want.

Windows 10 Home, 64 bit, Winamp 5.666, Bento Skin
ryerman is offline   Reply With Quote
Old 10th November 2015, 02:11   #6
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
Have you considered something like radioDJ

"If you don't like DNAS, write your own damn system"

So I did
jaromanda is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump