Skip to content

Commit 29fddb0

Browse files
authored
Merge pull request #97 from Makhuta/master
Fix to prevent #96 and #93 (comment)
2 parents d613398 + aacccaf commit 29fddb0

File tree

1 file changed

+1
-0
lines changed
  • custom_components/plex_recently_added

1 file changed

+1
-0
lines changed

Diff for: custom_components/plex_recently_added/parser.py

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def parse_library(root):
3131
return output
3232

3333
def extract_metadata_and_type(path):
34+
if not path: return None
3435
pattern = re.compile(r"/library/metadata/(\d+)/(thumb|art)/(\d+)")
3536
match = pattern.search(path)
3637

0 commit comments

Comments
 (0)