alistairphillips.com

I’m : a web and mobile developer based in the Manning Valley, Australia.


Andy is making chicken pie for dinner with the lunch leftovers.

After days of rainy overcast weather we’re making use of the sun and having a barbecue.

Subtitles and date based seasons in Plex

For whatever reason Plex ignores local subtitles for date-based seasons and it doesn't look like it'll be fixed any time soon.

I'm currently running Plex Media Server on my Synology NAS so need to perform the following steps to work around the issue:

  • Enable SSH
  • SSH to the NAS and go to /volume1/@appstore/Plex Media Server/Resources/Plug-ins-29f6d1796/LocalMedia.bundle/Contents/Code
  • Edit __init__.py (via sudo) changing 1900 to 21 00 on line 133

This changes the code from

if int(s) < 1900 or metadata.guid.startswith(PERSONAL_MEDIA_IDENTIFIER):

to

if int(s) < 2100 or metadata.guid.startswith(PERSONAL_MEDIA_IDENTIFIER):

allowing subtitles to be found for anything that has a season of less than the year 2100. This seemed like the simplest change and chances are I won't be alive after 2100 anyhow ;)

These steps needed to be carried out after every Plex release and you might need to reanalyse your libraries.

Had new ceiling fans installed in the bedrooms today.

The previous ones were somewhat dated and a bit noisy. Fingers crossed these ones will make for a more peaceful sleep.