mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 09:12:58 -07:00
Update guest access for collection and playlist changes
This commit is contained in:
parent
3cc8c1f8c5
commit
c8b0ff22f6
8 changed files with 407 additions and 373 deletions
|
@ -143,7 +143,7 @@ def has_library_type(section_type):
|
|||
|
||||
|
||||
def get_collections(section_id):
|
||||
plex = Plex(plexpy.CONFIG.PMS_URL, plexpy.CONFIG.PMS_TOKEN)
|
||||
plex = Plex(plexpy.CONFIG.PMS_URL, session.get_session_user_token())
|
||||
library = plex.get_library(section_id)
|
||||
|
||||
if library.type not in ('movie', 'show', 'artist'):
|
||||
|
@ -231,7 +231,7 @@ def get_collections_list(section_id=None, **kwargs):
|
|||
|
||||
|
||||
def get_playlists(section_id):
|
||||
plex = Plex(plexpy.CONFIG.PMS_URL, plexpy.CONFIG.PMS_TOKEN)
|
||||
plex = Plex(plexpy.CONFIG.PMS_URL, session.get_session_user_token())
|
||||
|
||||
library = Libraries().get_details(section_id=section_id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue