Ik draai met sam 3 op dit moment. Nu heb ik d eplaylist gewoon lopen.
Ik heb een PAL script die promotie nummers om de 12 playlist nummers een prmo nummer boven in de Queue zet.
Ik heb de nummers voor de playlist in content/music(all) staan.
De Promotie nummers in content/promos(all) staan.
Dit alles loopt goed.
Ma als de PAL script 1 nummer in de Queue zet en die word afgespeeld en ik refresh de music(all)map dan ben ik de zojuist afgespeelde promotie nummer kwijt uit deze lijst.
De promotie nummer moet wel in de music(all) map zitten want daar haald de samhtmweb ook de nummers weg.
Hier onder de PAL script die ik heb lopen:
Code: Selecteer alles
{Basic use}
{##########################}
{ This script shows how to Enforce playlist rotation rules on Station IDs.
Generally these rules can not be enforced simply because most stations only
have a few IDs in rotation and can thus not satisfy the rules.
In this script we lower the required minimum times to better suit Station IDs.
After we are done we put them back to their original values.
}
procedure PutSweeper(Category : String);
var
OldArtist, OldSong : Integer;
begin
OldArtist := PlaylistRules.MinArtistTime;
OldSong := PlaylistRules.MinSongTime;
PlaylistRules.MinArtistTime := 0;
PlaylistRules.MinSongTime := 10;
CAT[Category].QueueTop(smLemmingLogic,EnforceRules);
PlaylistRules.MinArtistTime := OldArtist;
PlaylistRules.MinSongTime := OldSong;
end;
PAL.Loop := True;
PAL.WaitForPlayCount(3);
PutSweeper('Promos (ALL)');
WriteLn('[=== THE END ===]');
{== Helper Function ==
DO NOT CREATE YOUR OWN FUNCTIONS (YET...)
They *might* cause SAM2 to FREEZE!
}
procedure WriteTime(A : DateTime);
begin
WriteLn(TimeToStr(A));
end;
{IGNORE THESE!}
Cat.Free;
Dir.Free;
SubDir.Free;
{=== [ THE END ] ===}
Voor alle eventuele reactie's of oplossingen al vast mijn dank.
Groet Frank