Add all content rating and label filters for guest

This commit is contained in:
JonnyWong16 2016-05-01 02:11:29 -07:00
commit e147ce9039
14 changed files with 599 additions and 220 deletions

View file

@ -131,9 +131,7 @@ class PlexTV(object):
self.password = password
self.ssl_verify = plexpy.CONFIG.VERIFY_SSL_CERT
if token == 'admin':
token = plexpy.CONFIG.PMS_TOKEN
elif not token:
if not token:
# Check if we should use the admin token, or the guest server token
if session.get_session_user_id():
user_data = users.Users()