Ik laat een PAL scripts om de 5 tracks een jingle inladen, alleen ziet hij de jingles, ads ect... ook als tracks.
Kan ik het misschien laten controleren of het ook echt tracks zijn voor die gaat tellen ?
Iets met
Code: Selecteer alles
Song := ActivePlayer.GetSongInfo;
If ((Song['songtype'] = 'S')) then
begin
Cat['Jingles (All)'].QueueBottom(smRandom, NoRules);
PAL.WaitForPlayCount(5) ;
end;
Code: Selecteer alles
PAL.Loop := True ;
begin
Cat['Jingles (All)'].QueueBottom(smRandom, NoRules);
PAL.WaitForPlayCount(5) ;
end;