Skip to content

Commit

Permalink
Merge pull request #2076 from croneter/py3-code-opt
Browse files Browse the repository at this point in the history
Delete some obsolete code
  • Loading branch information
croneter authored Jun 8, 2024
2 parents 7c669d3 + 75dff29 commit 03a7271
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions resources/lib/plex_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def mass_api(xml, check_by_guid=False):
# This will overwrite a weird "guid ratingKey" that
# plex set, originally looking e.g. like
# ratingKey="5d776883ebdf2200209c104e"
if item['plex_type']:
new_api.xml.set('type', item['plex_type'])
new_api.xml.set('ratingKey', str(item['plex_id']))
new_api.xml.set('key', f'/library/metadata/{item["plex_id"]}')
new_api.check_db(plexdb=plexdb)
Expand Down

0 comments on commit 03a7271

Please sign in to comment.