Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Repeat a spoken track, every 4th track, in shuffled playlist (http://forums.winamp.com/showthread.php?t=383130)

zepsun 8th November 2015 15:38

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

jaromanda 9th November 2015 06:29

shoutcast do not have software that can do that

ryerman 9th November 2015 14:14

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

zepsun 9th November 2015 22:00

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.

ryerman 10th November 2015 01:27

Quote:

Originally Posted by zepsun (Post 3036686)
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 (Post 3036686)
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 (Post 3036686)
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.

jaromanda 10th November 2015 02:11

Have you considered something like radioDJ


All times are GMT. The time now is 15:53.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.