Skip to content

Commit 5ad747f

Browse files
authored
remove metadata error
1 parent 2303323 commit 5ad747f

File tree

1 file changed

+0
-2
lines changed
  • custom_components/plex_recently_added

1 file changed

+0
-2
lines changed

custom_components/plex_recently_added/sensor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ async def async_update(self):
270270
try:
271271
self.api_json += sub_sec['MediaContainer']['Metadata']
272272
except:
273-
_LOGGER.warning('No Metadata field for "{}"'.format(
274-
sub_sec['MediaContainer']['librarySectionTitle']))
275273
pass
276274
self.api_json = sorted(self.api_json, key=lambda i: i['addedAt'],
277275
reverse=True)[:self.max_items]

0 commit comments

Comments
 (0)