From 75dff29724d38da264dbe285cda5e6c11e5d1a23 Mon Sep 17 00:00:00 2001 From: Croneter Date: Wed, 24 Apr 2024 15:37:39 +0200 Subject: [PATCH] Delete some obsolete code --- resources/lib/plex_api/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/lib/plex_api/__init__.py b/resources/lib/plex_api/__init__.py index 28134d0a4..2b51e69f8 100644 --- a/resources/lib/plex_api/__init__.py +++ b/resources/lib/plex_api/__init__.py @@ -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)