Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync does no more work with new Plex Movie agent #56

Closed
revog opened this issue Aug 12, 2020 · 15 comments · Fixed by #86 or #87
Closed

Sync does no more work with new Plex Movie agent #56

revog opened this issue Aug 12, 2020 · 15 comments · Fixed by #86 or #87

Comments

@revog
Copy link

revog commented Aug 12, 2020

It seems like the script is no longer able to sync or scrobble anything related to movies after upgrading to the latest agent on Plex side. The new agent implementation does no more add the imdb ids to the metadata, but it does combine multiple sources (rottentomatoe, imdb, ...) to one single "plex://" item.

I'm not sure if this could be fixed on script side or whether we need to wait until Plex re-adds this imdb information. According to a Plex employee this is already in discussion: https://forums.plex.tv/t/new-plex-movie-agent-does-not-contain-imdb-info/618121/34

Until then: you guys need to switch back to "plex agent (legacy)" and re-match already matched movies again. Then you get back the guid="com.plexapp.agents.imdb://tt2140479?lang=de"metadata items.

image

@ghost
Copy link

ghost commented Aug 21, 2020

With the latest beta of PMS (1.20.1.3213), the imdb and tmdb identifiers have been reintroduced to their new movie agent.

XML format:

<Guid id="imdb://tt3661394"/>
<Guid id="tmdb://508570"/>

@simonc56
Copy link
Collaborator

Good news, now we'll have to see how the plexapi module will handle this.
pkkid/python-plexapi#534

@dcbinder
Copy link

Any update?

@jpf4e
Copy link

jpf4e commented Nov 8, 2020

Any update on this?

@nambrosch
Copy link

@morlanth said the fix was introduced in pms 1.20.1.3213 however stable branch is on version 1.20.4.3517.

I moved back to the legacy agent to make this script work but that isn't really a solution.

@ghost
Copy link

ghost commented Nov 8, 2020

See here: pkkid/python-plexapi#557

Plex reintroduced the required identifiers which reflect their content in to the XML but these identifiers aren’t searchable through the webui when using the new agent - only the primary guid is and that can’t be used to identify the media.

What they propose is creating a lookup table from the identifiers in the XML and using that to match the content.

@wampa1
Copy link

wampa1 commented Nov 26, 2020

I wrote a fallback matcher but ... as I'm not a contributor (and work mostly in non open source repositories), I'm not 100% sure I know how to submit a pull request for it. Happy to contribute though if you like.

I'm also not a Python guy so ... it could use someone else's eyes on it.

I spent my whole day looking for an up to date app to sync the watched status of my Plex library (I reorganized it and everything was "unwatched" again). This was definitely the most promising and with my small update, it did work for my large library.

Let me know if you'd like my contribution.

@glensc
Copy link
Collaborator

glensc commented Nov 27, 2020

@wampa1's contribution at #82

@glensc
Copy link
Collaborator

glensc commented Nov 27, 2020

updated PR: #83

@glensc
Copy link
Collaborator

glensc commented Dec 6, 2020

There appears to be PR that allows use unreleased pkkid/python-plexapi#562:

@Animosity022
Copy link

I'm assuming this still needs to be merged in to get the movies fixed?

@jpf4e
Copy link

jpf4e commented Jan 25, 2021

@animosity22 , yes.. there's a branch with this merged I think.
However other more recent features like docker support and other stuff are not there.
Why not just create a develop branch with the PRs merged?

@FloydKulis
Copy link

FloydKulis commented Mar 10, 2021

The new version of Plex Server has perhaps given the missing option:

  • (Library) Allow TMDB id matching in Fix Match using 'tmdb-' prefix (#12389)

Maybe we could add it to the new scraber

\Edit:
Sorry for the prefix. The number is provided by the number on the Plex.tv website

@glensc
Copy link
Collaborator

glensc commented Mar 10, 2021

@FloydKulis edited your post to link to your information origin. unfortunately, I'm unable to find what is the #12389 issue id.

@glensc
Copy link
Collaborator

glensc commented Mar 13, 2021

@FloydKulis not sure what you had in mind, but restored #12389 in your post, it's part of their changelog.

PS; if you edit a previous post, no notification is sent, so the "EDIT" part you typed, should had been a note.

Repository owner locked as resolved and limited conversation to collaborators Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
9 participants