Home

Awesome

OpenSubtitles.org metadata agent for Plex improvment prototype


Why this fork ?

This fork is a prototype for an improvement of the Plex metadata agent used by default to fetch subtitles on OpenSubtitles.org.

The origin version used a simple algorithm:

This algorithm isn't efficient enough since the OpenSubtitles.org database is fed by many sources which are not rigorous enough and can mixup some data.

Results in Plex: it's difficult to have the good subs for our movie using it.

So this fork is a mock-up to try to have better result by making some consistency check on the results returned by OpenSubtitles.org.


How to help ?


Description of the algorithm

The main idea is to compare metadata associated to the subtitle file in the Opensubtitles.org database and the metadata associated to the video file in your local Plex database. Depending of the data and the result of the comparaison a bonus or a penalty is applied to the score of the subtitle.

Common to movies and TV shows

Only for movies

Only for TV shows

Selection of the best subtitle


FAQ

Where are the logs ?

See Plex help subject: Channel Log Files The log file of this metadata agent is in the file com.plexapp.agents.opensubtitles

How to find the hash and size of my video ?

Search in the log file com.plexapp.agents.opensubtitles the line:

Looking for match for GUID XXXX and size YYYY and language ZZZ

Is there any auto update ?

No, there is no auto update for this metadata agent. If I release a new version you have to overwrite the previous version.

How to stop test and revert to official OpenSubtitles metadata agent ?

Simple. Suppress the OpenSubtitles.bundle folder in the Plugin folder and quit and relauch Plex Media Server.

Written with StackEdit.