From c747e915b1f8127ab7054b8f9d66d1aaa33a4c63 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Thu, 13 Oct 2016 11:27:31 +0200 Subject: [PATCH] Fix TypeError if no extras available - Fixes #123 --- resources/lib/PlexAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index eab9ad1a..db4921c8 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -1721,7 +1721,7 @@ class API(): 'year': """ elements = [] - for extra in self.item.find('Extras'): + for extra in self.item.findall('Extras'): # Trailer: key = extra.attrib.get('key', None) title = extra.attrib.get('title', None)