mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[141] catch bad tokens
This commit is contained in:
parent
89eba94712
commit
433e9de0d5
3 changed files with 5 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.3-develop140
|
||||
1.18.3-develop141
|
||||
|
|
|
@ -361,7 +361,7 @@ class Overlays:
|
|||
except Exception as e:
|
||||
logger.info(e)
|
||||
logger.info(type(e))
|
||||
logger.stacktrace(e)
|
||||
logger.stacktrace()
|
||||
logger.error("")
|
||||
logger.error(f"Overlays Attempted on {item_title}: {', '.join(over_names)}")
|
||||
logger.exorcise()
|
||||
|
|
|
@ -457,7 +457,9 @@ class Plex(Library):
|
|||
if not self.Plex:
|
||||
raise Failed(f"Plex Error: Plex Library '{params['name']}' not found. Options: {library_names}")
|
||||
if self.Plex.type not in library_types:
|
||||
raise Failed(f"Plex Error: Plex Library must be a Movies or TV Shows library")
|
||||
raise Failed(f"Plex Error: Plex Library must be a Movies, TV Shows, or Music library")
|
||||
if not self.Plex.allowSync:
|
||||
raise Failed("Plex Error: Plex Token is read only. Please get a new token")
|
||||
|
||||
self.type = self.Plex.type.capitalize()
|
||||
self.plex_pass = self.PlexServer.myPlexSubscription
|
||||
|
|
Loading…
Reference in a new issue