RemiRigal / Plex-Auto-Languages

Automated language selection for Plex TV Shows !
MIT License
428 stars 16 forks source link

Add Plex lifecycle management #40

Closed RemiRigal closed 2 years ago

RemiRigal commented 2 years ago

This PR implements changes suggested in #33.

It improves the integration with the Plex lifecycle (restarts, upgrades...), the goal being to be closer to a "setup and forget" application.

Changes:

codecov-commenter commented 2 years ago

Codecov Report

Merging #40 (12de097) into master (025def0) will increase coverage by 0.70%. The diff coverage is 86.27%.

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   93.11%   93.81%   +0.70%     
==========================================
  Files          18       18              
  Lines         915      954      +39     
==========================================
+ Hits          852      895      +43     
+ Misses         63       59       -4     
Flag Coverage Δ
claimed 93.81% <86.27%> (+0.70%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
plex_auto_languages/plex_server.py 84.93% <83.72%> (+5.04%) :arrow_up:
plex_auto_languages/utils/json.py 100.00% <100.00%> (ø)
plex_auto_languages/utils/scheduler.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 025def0...12de097. Read the comment docs.