busby Posted October 2, 2011 Share Posted October 2, 2011 I have been given a PAL to rename a show when its playing from a 'Replay' folder so that it shows as a [Replay] in the player. Only problem is - it doesn't work [for me]. Can anyone spot the error please: PAL.WaitForTime(T['+00:00:05']); PAL.LockExecution; PAL.Loop := True; var Song : TSongInfo; var location: string; location := (ActivePlayer.GetSongInfo['filename']); Delete(location, 19, 100); if location= ('C:\Radio\Replay') then begin Song := ActivePlayer.GetSongInfo; Song['title'] := (Song['title'] + ' [Replay]'); encoders.SongChange(Song); Song.Free; end; PAL.UnlockExecution; Song.Free; PAL.WaitForPlayCount(1); And another question please.. I have a basic PAL which I use to run many of my shows, and its exhecuted from the event scheduler. I want to put a selection in there so that with monthly shows, I can select which week it will run, then I can simply schedule it as a weekly show, making life a lot easier.. Many thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.