Item types restrictions for cartwalls

This idea came when I was brainstorming with some people about a setup of mAirlist.

Is it possible to place a limitation on the item types for the cartwall as in the players of the playlists?

There are situations where it is not desirable for a DJ to be able to start music from a cartwall, for example.

Ha! It works!

procedure OnPlayerStateChange(PlaylistIndex: integer; PlayerIndex: integer; 
  OldState: TPlayerState; NewState: TPlayerState; Item: IPlaylistItem);
begin
  if NewState = psLoaded then
    if Item.GetItemType <> pitJingle then
      Cartwall.GetActivePage.GetPlayerControl(PlayerIndex).ExecuteItemCommand(cicReset);
end;

begin
end.

:grin:

1 Like

Any luck with this one?

Due to work i wasn’t able to test it jet. I hope this weekend i will have some time for testing