Sorry to be thick, but is there an easy way to check for the existence of a file from within a script?
I’m trying to create a playlist item, but only if the audio file exists. Right now, if the file isn’t there I get a nasty error (maybe I need a try…except around the CreatePlaylistItem?).
Because CreatePlaylistItemFromFile will not through an exception when the file does not exist. In other words, it will happily create PlaylistItems for files which are not (already) there. It will just skip the read tags and auto cue etc. parts.