Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
fix(legacy agents): do not upload themes unless Themerr is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jan 28, 2024
1 parent 6baa0a7 commit bbef8f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ def update(metadata, media, lang, force):
(metadata, media, lang, force))

rating_key = int(media.id) # rating key of plex item
primary_agent = media.primary_agent
Log.Debug('rating_key: {}, primary_agent: {}'.format(rating_key, primary_agent))

Check warning on line 376 in Contents/Code/__init__.py

View check run for this annotation

Codecov / codecov/patch

Contents/Code/__init__.py#L375-L376

Added lines #L375 - L376 were not covered by tests

update_plex_item(rating_key=rating_key)

return metadata

0 comments on commit bbef8f9

Please sign in to comment.