blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.71k stars 304 forks source link

KeyError #162

Closed Nihar20 closed 5 years ago

Nihar20 commented 5 years ago

How to recover KeyError : 'auth'. Thanks in advance

blacktwin commented 5 years ago

wat? Context please

Nihar20 commented 5 years ago

I am try to use playlist_manager.py in that I am getting error at auth key. When I got key from your config.ini then here I am not getting solution of this. I do not understand what to enter in server_baseurl, server_token, tautulli_baseurl and tautulli_apikey.

On Fri, 17 May 2019, 22:07 blacktwin <notifications@github.com wrote:

wat? Context please

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blacktwin/JBOPS/issues/162?email_source=notifications&email_token=AJVQDD26D64WAQJOLOFNCDTPV3NN7A5CNFSM4HNWVGUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVH7JY#issuecomment-493518759, or mute the thread https://github.com/notifications/unsubscribe-auth/AJVQDD76YBREXWCXJJW7HRLPV3NN7ANCNFSM4HNWVGUA .

blacktwin commented 5 years ago

Yes the auth error is related to the CONFIG.ini which you can choose to use or not use. For ease of use lets just forget about the CONFIG.ini for now.

In the script you'll need to add the following information:

PLEX_URL = ''
PLEX_TOKEN = ''
TAUTULLI_URL = ''
TAUTULLI_APIKEY = ''

Follow this link on the Readme page to find these values.

Should look something like this:

PLEX_URL = 'http://127.0.0.1:32400'
PLEX_TOKEN = 'ruriIadofdaMnAdk987'
TAUTULLI_URL = 'http://127.0.0.1:8181'
TAUTULLI_APIKEY = 'kldaf89a8fjidoas8jkla88'
Nihar20 commented 5 years ago

Thank you so much

On Fri, 17 May 2019, 23:43 blacktwin <notifications@github.com wrote:

Yes the auth error is related to the CONFIG.ini which you can choose to use or not use. For ease of use lets just forget about the CONFIG.ini for now.

In the script you'll need to add the following information:

PLEX_URL = ''PLEX_TOKEN = ''TAUTULLI_URL = ''TAUTULLI_APIKEY = ''

Follow this link https://github.com/blacktwin/JBOPS/blob/master/README.md#common-variableson the Readme page to find these values.

Should look something like this:

PLEX_URL = 'http://127.0.0.1:32400'PLEX_TOKEN = 'ruriIadofdaMnAdk987'TAUTULLI_URL = 'http://127.0.0.1:8181'TAUTULLI_APIKEY = 'kldaf89a8fjidoas8jkla88'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blacktwin/JBOPS/issues/162?email_source=notifications&email_token=AJVQDD2KOGMAEYDAV5XVPHLPV3YUBA5CNFSM4HNWVGUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVPJYA#issuecomment-493548768, or mute the thread https://github.com/notifications/unsubscribe-auth/AJVQDD35RGAJ53EZCQM3OBLPV3YUBANCNFSM4HNWVGUA .

blacktwin commented 5 years ago

Working now?

Nihar20 commented 5 years ago

Yes

On Sun, 19 May 2019, 08:19 blacktwin <notifications@github.com wrote:

Working now?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blacktwin/JBOPS/issues/162?email_source=notifications&email_token=AJVQDD25QSLKRPSEHS7IERTPWC52JA5CNFSM4HNWVGUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWZVWI#issuecomment-493722329, or mute the thread https://github.com/notifications/unsubscribe-auth/AJVQDD3OQ67AHBSQSJCUCITPWC52JANCNFSM4HNWVGUA .