mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 20:43:07 +00:00
[39] Fixes #974 Album locations AttributeError
This commit is contained in:
parent
535fa3023f
commit
32782005d9
2 changed files with 7 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.1-develop38
|
||||
1.17.1-develop39
|
||||
|
|
|
@ -1033,7 +1033,12 @@ class Plex(Library):
|
|||
|
||||
if not item_asset_directory:
|
||||
if isinstance(item, (Movie, Artist, Album, Show, Episode, Season)):
|
||||
starting = item.show() if isinstance(item, (Episode, Season)) else item
|
||||
if isinstance(item, (Episode, Season)):
|
||||
starting = item.show()
|
||||
elif isinstance(item, (Album, Track)):
|
||||
starting = item.artist()
|
||||
else:
|
||||
starting = item
|
||||
if not starting.locations:
|
||||
raise Failed(f"Asset Warning: No video filepath found fo {item.title}")
|
||||
path_test = str(starting.locations[0])
|
||||
|
|
Loading…
Reference in a new issue