From 3fecc7798e981ad11bedaed24740a96b2e867022 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 24 Jan 2022 11:08:44 -0500 Subject: [PATCH] #634 Playlist assets should work now --- modules/plex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plex.py b/modules/plex.py index bada1eed..a46a6f7f 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -830,7 +830,7 @@ class Plex(Library): name = os.path.basename(os.path.dirname(str(item.locations[0]))) elif isinstance(item, (Artist, Show)): name = os.path.basename(str(item.locations[0])) - elif isinstance(item, Collection): + elif isinstance(item, (Collection, Playlist)): name = name if name else item.title else: return None, None, None