ngovil21 / RequestChannel.bundle

Request Channel - A Plex Channel to create requests
158 stars 22 forks source link

NameError: global name 'token' is not defined #83

Open l8nite opened 6 years ago

l8nite commented 6 years ago

Getting this when trying to request a movie:

2018-05-03 01:12:17,287 (7f2194ff9700) :  DEBUG (runtime:814) - Found route matching /video/requestchannel/5f6604060c803e5f327813454fedcfef/addmovierequest
2018-05-03 01:12:17,288 (7f2194ff9700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-8fcb5b6e5/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/RequestChannel.bundle/Contents/Code/Session.py", line 546, in AddMovieRequest
    user = 'guest_' + Hash.SHA1(token)[:10]
NameError: global name 'token' is not defined
ngovil21 commented 6 years ago

I found this issue, it has been fixed in 41ef6e33f84c4fc208e25ae2373ea9cddb7e9433. Please update the channel.