PDA

View Full Version : Simple PAL Script



evul
02-12-2009, 11:30 PM
I am trying to make a pal script to simply loop a playlist continually and it would also be nice for it to randomize the songs.

Here is all I have (which doesn't seem to work right)

PAL.Loop := True;
PAL.WaitForQueue(0);
while Queue.Count > 1 do
PAL.WaitForPlayCount(1);
Queue.AddList('C:\Documents and Settings\me\My Documents\rock.m3u',ipTop);

When I get home the next day, nothing is running.

GKIye
02-13-2009, 12:04 AM
Welcome ..
first of all I wanna tell you that this ain't the spacialaudio forum .. So I think you can find your answer overthere
Secondly I have made some sticky topics who contains PAL scripts who can be helpfull at this link
http://forums.broadcastingworld.net/showthread.php?t=7199
I wonder why you wanna loop a playlist .m3u script ?
A .m3u is awesome to being used to play specific music or genres at a specific time .. but all over again .. I don't get it

I am trying to make a pal script to simply loop a playlist continually and it would also be nice for it to randomize the songs.
I hope for you some BW members of the hosting compagnies can provide you with more details .. if not go check my BW link or check the spacialaudio forum

evul
02-13-2009, 12:12 AM
I have a small database of songs but enough to play through the day without a repeat. I don't care if it repeats the next day. I don't want to have to keep adding the playlist over and over manually. I do not understand why looping a playlist is such a big deal. I play one genre, "ROCK" and mostly classic rock.

GKIye
02-13-2009, 12:26 AM
Thanks
If you're working with SAM you can manage in an easy way a rotation by using the playlist rotation rules into the SAM config
Maybe that tool gonna give you more satisfaction and at that time a .m3u isn't needed anymore
Manage your time at the "wait for play song / artist / album" config section ... even with a small database you can make that way a random and automated playlist without using your .m3u file
Maybe this gonna help you better ..
make a try out and keep Us posted .. you're welcome

evul
02-14-2009, 11:37 AM
*sigh*

I know all about the clockwheel playlist rotation yadda. I have like 50 albums and some songs I do not want in the regular rotation but I want them available for reqest. I think it is pretty stupid that SAM can't do a simple playlist loop. I'll go look somewhere else.

Thebig429
02-14-2009, 12:12 PM
Yes i think you can, go to event scheduler.
event action then action load files to queuing.
Then add play list.
And scedule times.

GKIye
02-14-2009, 12:31 PM
This is indeed a good solution so far
however He is willing also that the tracks can be requested .. so the request policy has to be at that time enabled but with no huge time restrictions .. otherwise requests don't gonna be accepted when a song / artist is already played in the most recent time
Good luck with your project


event action then action load files to queuing.
Then add play list.
And scedule times.