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

Deleted titles are stuck on "Available" #377

Closed
ecelebi29 opened this issue Dec 17, 2020 · 21 comments · Fixed by #3219
Closed

Deleted titles are stuck on "Available" #377

ecelebi29 opened this issue Dec 17, 2020 · 21 comments · Fixed by #3219

Comments

@ecelebi29
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Removing media from Plex does not update the "Available" status on scanned media, even when performing a full manual library scan.

Describe the solution you'd like

Full Library Sync should detect missing media and unmark it in Overseerr.

Describe alternatives you've considered

Using the Clear All Media Data option on the deleted media and performing a manual library scan does correctly remove it and keep it that way. However, this also clears the request history and therefore isn't a good alternative.

@hirenshah
Copy link
Contributor

@sct Should this not be a bug rather than enhancement?

@sct
Copy link
Owner

sct commented Jan 11, 2021

@sct Should this not be a bug rather than enhancement?

Not really. We don't have anything built to detect if titles are deleted so this would be a new feature.

jonocairns added a commit to jonocairns/overseerr that referenced this issue Apr 11, 2021
Items that are removed from the source (plex) should be removed and likekly anything else related

sct#377
@stale

This comment has been minimized.

@stale stale bot added the stale label Apr 17, 2021
@douglasparker

This comment has been minimized.

@stale stale bot removed the stale label Apr 17, 2021
@flammable

This comment has been minimized.

@726a67

This comment has been minimized.

@kevindd992002

This comment has been minimized.

@stale

This comment has been minimized.

@stale stale bot added the stale label Aug 6, 2021
@kevindd992002

This comment has been minimized.

@stale stale bot removed the stale label Aug 6, 2021
@douglasparker

This comment has been minimized.

@kevindd992002

This comment has been minimized.

@mouseron

This comment has been minimized.

@adx74

This comment has been minimized.

@RobinMM

This comment has been minimized.

Repository owner locked as spam and limited conversation to collaborators Jan 22, 2022
jariz added a commit to jariz-forks/overseerr that referenced this issue Aug 4, 2022
Nimelrian pushed a commit to Nimelrian/overseerr that referenced this issue Dec 10, 2022
Nimelrian pushed a commit to Nimelrian/overseerr that referenced this issue Dec 10, 2022
OwsleyJr pushed a commit that referenced this issue Dec 27, 2022
OwsleyJr pushed a commit that referenced this issue Dec 29, 2022
OwsleyJr pushed a commit that referenced this issue Dec 30, 2022
OwsleyJr pushed a commit that referenced this issue Jan 4, 2023
OwsleyJr pushed a commit that referenced this issue Jan 6, 2023
OwsleyJr pushed a commit that referenced this issue Jan 6, 2023
OwsleyJr pushed a commit that referenced this issue Jan 9, 2023
OwsleyJr pushed a commit that referenced this issue Jan 21, 2023
OwsleyJr pushed a commit that referenced this issue Jan 24, 2023
OwsleyJr pushed a commit that referenced this issue Jan 24, 2023
OwsleyJr pushed a commit that referenced this issue Jan 25, 2023
OwsleyJr pushed a commit that referenced this issue Jan 27, 2023
OwsleyJr pushed a commit that referenced this issue Jan 30, 2023
OwsleyJr pushed a commit that referenced this issue Jan 30, 2023
OwsleyJr pushed a commit that referenced this issue Feb 12, 2023
OwsleyJr pushed a commit that referenced this issue Feb 13, 2023
OwsleyJr pushed a commit that referenced this issue Feb 15, 2023
OwsleyJr pushed a commit that referenced this issue Feb 15, 2023
OwsleyJr pushed a commit that referenced this issue Feb 21, 2023
OwsleyJr pushed a commit that referenced this issue Feb 24, 2023
@sct sct closed this as completed in #3219 Feb 24, 2023
sct pushed a commit that referenced this issue Feb 24, 2023
* feat: add availability synchronization job

fix #377

* fix: feedback on PR

* perf: use pagination for Media Availability Synchronization job

The original approach loaded all media items from the database at once. With large libraries, this
could lead to performance issues. We're now using a paginated approach with a page size of 50.

* feat: updated the availability sync to work with 4k

* fix: corrected detection of media in plex

* refactor: code cleanup and minimized unnecessary calls

* fix: if media is not found, media check will continue

* fix: if non-4k or 4k show media is updated, seasons and request is now properly updated

* refactor: consolidated media updater into one function

* fix: season requests are now removed if season has been deleted

* refactor: removed joincolumn

* fix: makes sure we will always check radarr/sonarr to see if media exists

* fix: media will now only be updated to unavailable and deletion will be prevented

* fix: changed types in Media entity

* fix: prevent season deletion in preference of setting season to unknown

---------

Co-authored-by: Jari Zwarts <jari@oberon.nl>
Co-authored-by: Sebastian Kappen <sebastian@kappen.dev>
lenaxia pushed a commit to lenaxia/overseerr-oidc that referenced this issue Jan 3, 2024
* feat: add availability synchronization job

fix sct#377

* fix: feedback on PR

* perf: use pagination for Media Availability Synchronization job

The original approach loaded all media items from the database at once. With large libraries, this
could lead to performance issues. We're now using a paginated approach with a page size of 50.

* feat: updated the availability sync to work with 4k

* fix: corrected detection of media in plex

* refactor: code cleanup and minimized unnecessary calls

* fix: if media is not found, media check will continue

* fix: if non-4k or 4k show media is updated, seasons and request is now properly updated

* refactor: consolidated media updater into one function

* fix: season requests are now removed if season has been deleted

* refactor: removed joincolumn

* fix: makes sure we will always check radarr/sonarr to see if media exists

* fix: media will now only be updated to unavailable and deletion will be prevented

* fix: changed types in Media entity

* fix: prevent season deletion in preference of setting season to unknown

---------

Co-authored-by: Jari Zwarts <jari@oberon.nl>
Co-authored-by: Sebastian Kappen <sebastian@kappen.dev>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.