fixed issue with plex platform
@ -142,10 +142,7 @@ data_sources = plex
|
|||||||
self.__dict__[key] = value
|
self.__dict__[key] = value
|
||||||
|
|
||||||
if not hasattr(self, "token"):
|
if not hasattr(self, "token"):
|
||||||
print(
|
self.token = None
|
||||||
"Please add a token\nSee https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ to find it."
|
|
||||||
)
|
|
||||||
exit(1)
|
|
||||||
else:
|
else:
|
||||||
self.plex = Plex(self.host, self.token)
|
self.plex = Plex(self.host, self.token)
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.9 KiB |