I'm trying to create a smart playlist for movies based on the video codec of the file.

I have a bunch of HEVC movies that can't be played on my old 2nd Gen AppleTV, so I'd rather not see those videos when using that particular device. There's no 'Video Codec' option in the available list of items in the smart playlist options, but I'm hoping maybe a script would be able to do it? It might not technically be 'Smart', but I could update it easily that way. Dougscripts didn't have one like that, and I'm only capable of using scripts, not creating them... I couldn't find any other scripts out there like this either, but that doesn't mean they don't exist.

If you know of one, or if there's a better option, or I'm missing something, please let me know. Thanks :)

At the end of the day, I'm looking for something like: IF "Codec = HEVC", THEN "Don't add to Playlist". The other way around might come in handy as well... Other people might have a good use for that as well as for other Codec types.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.