LizardByte / Themerr-plex

Plugin for Plex Media Server that adds theme songs to movies using ThemerrDB.
https://app.lizardbyte.dev/ThemerrDB
GNU Affero General Public License v3.0
71 stars 4 forks source link

fix(tasks): ensure ui can be cached if auto update items is disabled #371

Closed ReenigneArcher closed 7 months ago

ReenigneArcher commented 7 months ago

Description

When bool_auto_update_items was disabled, it would prevent the UI cache from being scheduled.

Screenshot

Issues Fixed or Closed

Type of Change

Checklist

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch must be updated before it can be merged. You must also Allow edits from maintainers.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.50%. Comparing base (049acf3) to head (92f02aa).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #371 +/- ## ======================================= Coverage 71.50% 71.50% ======================================= Files 12 12 Lines 1074 1074 ======================================= Hits 768 768 Misses 306 306 ``` | [Flag](https://app.codecov.io/gh/LizardByte/Themerr-plex/pull/371/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LizardByte) | Coverage Δ | | |---|---|---| | [Linux](https://app.codecov.io/gh/LizardByte/Themerr-plex/pull/371/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LizardByte) | `71.50% <100.00%> (ø)` | | | [Windows](https://app.codecov.io/gh/LizardByte/Themerr-plex/pull/371/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LizardByte) | `71.50% <100.00%> (ø)` | | | [macOS](https://app.codecov.io/gh/LizardByte/Themerr-plex/pull/371/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LizardByte) | `71.50% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LizardByte#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/LizardByte/Themerr-plex/pull/371?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LizardByte) | Coverage Δ | | |---|---|---| | [Contents/Code/scheduled\_tasks.py](https://app.codecov.io/gh/LizardByte/Themerr-plex/pull/371?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LizardByte#diff-Q29udGVudHMvQ29kZS9zY2hlZHVsZWRfdGFza3MucHk=) | `94.44% <100.00%> (ø)` | |