Casvt / Plex-scripts

Plex, the arr's and tautulli scripts coming from user requests
GNU General Public License v3.0
345 stars 31 forks source link

Add guid id attributes to episodes #171

Closed jfgoncalves closed 6 months ago

jfgoncalves commented 2 years ago

Hello,

I have a script request because I came across a bit of a problem running Plex Meta Manager and Plex Trakt Sync together. Plex Meta Manager allows me to edit the order of TV Shows the way I see fit, and populate it with the data I want. This is useful due to stubbornness from metadata hosts like TVDB who refuses to acknowledge the Netflix cut of Money Heist as default for example, making matching the show in Plex near useless since it doesn’t support their alternative ordering system.

Unfortunately Plex Meta Manager doesn’t support adding the attribute from & to the XML.

This results in shows, seasons, episodes being orphans. For metadata I do not mind, since Plex Meta Manager allows me to populate it manually. But it’s a problem because when Plex Trakt Sync scans new watched content, it skips any episode with a missing guid id attribute.

I wish to be able to set guid id attributes (Tvdb, TMdb, IMDb) for episodes via a script, so when Plex Trakt Sync scans for watched content, it can detect a matching guid ID and push it to Trakt, even if that episode was never matched with a Plex Agent in the first place.

Thanks

Casvt commented 6 months ago

They get deleted automatically every scan, so there's not really a way to make the changes stick.