Skip to content

BUG Fixes and new Feature - #39

Open
eltharynd wants to merge 7 commits into
ladyisatis:mainfrom
eltharynd:main
Open

BUG Fixes and new Feature#39
eltharynd wants to merge 7 commits into
ladyisatis:mainfrom
eltharynd:main

Conversation

@eltharynd

@eltharynd eltharynd commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

BUG FIXES:

New Feature

I added a bool to che config to Trigger a Plex Library Update.

Why?

Lots of people have plex configured not to scan new files automatically.
This is to avoid plex displaying movies/episodes you already had as "recently added" whenever radarr/sonarr grabs a better file.

What happens then?

Currently after importing the new episodes we try updating metadata, but this results in it not finding anything on plex.
Usually what I've been doing is manually triggering plex before clicking OK.
This previously wasn't working because of #29 , so it works now, but at the same time I added the new feature to do this automatically.

How?

I added the toggle here (default to True)
image

When this is checked, after importing the files (before trying to update metadata) we trigger a plex library update.

NOTE: Unfortunately I could find no reliable way to subscribe to plex events to wait till the scan is over. Currently I'm just waiting 5 seconds and in my testing that's plenty when there's just a few new One Pace episodes to scan, and if it fails the app already retries after 30 seconds so that's good.
However in the future we could definitely wait for the library update in a better way altho I couldn't find one so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant