Closed guillaumematheron closed 11 months ago
This problem has now been solved by using path matching as proposed in this PR: https://github.com/wilmardo/migrate-plex-to-jellyfin/pull/24
Will close this now, thanks for taking your time to submit the PR and sorry I have let this linger for so long <3
I believe the default now is for plex collections to use the plex agent. Therefore there is no straightforward way to look for matches in imdb or another shared database.
This PR solves this issue thanks to the
matches()
method:This also adds support for multiple agents, for instance themoviedb could be used to match some movies and imdb for others. As far as I know this works even if these libraries are not enabled in the plex server, since this function call triggers match attempt.
On the other hand, I could not find a suitable solution for series, since individual episodes don't have the
matches
method. Therefore I remove support for series entirely for now.Various other improvements include:
The code is still not very polished so I understand if you prefer not to pull it, but I hope others can benefit from my tweaks.