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

Commit

Permalink
fix: again
Browse files Browse the repository at this point in the history
  • Loading branch information
zdimension authored and ReenigneArcher committed Nov 8, 2023
1 parent 9498246 commit 1ffc327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Contents/Code/plex_api_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def update_plex_item(rating_key):
Log.Exception('{}: Error processing youtube url: {}'.format(item.ratingKey, e))

Check warning on line 205 in Contents/Code/plex_api_helper.py

View check run for this annotation

Codecov / codecov/patch

Contents/Code/plex_api_helper.py#L202-L205

Added lines #L202 - L205 were not covered by tests
else:
if theme_url:
add_media(item=item, media_type='themes',
add_media(item=item, media_type='themes',

Check warning on line 208 in Contents/Code/plex_api_helper.py

View check run for this annotation

Codecov / codecov/patch

Contents/Code/plex_api_helper.py#L207-L208

Added lines #L207 - L208 were not covered by tests
media_url_id=yt_video_url, media_url=theme_url)


Expand Down Expand Up @@ -242,6 +242,7 @@ def add_media(item, media_type, media_url_id, media_file=None, media_url=None):
"""
uploaded = False

settings_hash = general_helper.get_themerr_settings_hash()
themerr_data = general_helper.get_themerr_json_data(item=item)

if media_file or media_url:
Expand Down

0 comments on commit 1ffc327

Please sign in to comment.