mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Update library collections and playlist methods
This commit is contained in:
parent
d8196bf63c
commit
140a725950
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ def get_collections(section_id=None):
|
|||
if library.type not in ('movie', 'show', 'artist'):
|
||||
return []
|
||||
|
||||
collections = library.collection()
|
||||
collections = library.collections()
|
||||
|
||||
collections_list = []
|
||||
for collection in collections:
|
||||
|
@ -252,7 +252,7 @@ def get_playlists(section_id=None, user_id=None):
|
|||
playlists = plex.plex.playlists()
|
||||
else:
|
||||
library = plex.get_library(section_id)
|
||||
playlists = library.playlist()
|
||||
playlists = library.playlists()
|
||||
|
||||
playlists_list = []
|
||||
for playlist in playlists:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue