{ PAL Script created on 2/17/2015 }
{ This Pal looks at the next song to determine if it is by a selected artist if so,
then add a liner before the track plays. Created DJ Cassio 2/17/2015}
var NSong : TSongInfo;
Pal.Loop := True;
Pal.LockExecution;
NSong := Queue.NextInQueue;
If( NSong['Artist']= 'XXXXXXXXXXXXXXXXXXXXXXX' ) then // <------ Place Artist Name here
begin
Queue.Add(NSong,ipTop);
Queue.AddFile('C:\Music\Promos\SpecificLineHere.mp3', ipTop); // <----- Directory and filename of liner here
end
else
begin
Queue.Add(NSong,ipTop);
end;
Pal.unLockExecution;
NSong.Free;
Pal.WaitForPlayCount(1);
{==================================================}
PAL Script - Play a Liner before a Track by a Specified Artist
Have more questions? Submit a request
Comments