Auto refresh playlist on loading

Hello. Does anybody know of a way to get Mairlist to refresh a playlist when it’s auto appended. This is to try to get the playlist to show correct file duration times on files that may have been modified since the playlist was originally created.

Any info appreciated, thank you.

Performing an Error Check should do the trick. It will open all items briefly and update the durations where required.

You can do it manually through the playlist context menu, or using this simple script:

begin
  CurrentPlaylist.ErrorCheck(nil, nil);
end.

Thank you Torben.
I managed to find that as an execute command option (PLAYLIST 1 CHECK) and added it to my event that automatically appends the playlist at 10 minutes to the hour. It works well. Could I use the script that you provided to run everytime a playlist is loaded or appended either manually or via an event?

No, there is no trigger for that.

OK thank you