mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Merge pull request #352 from oddstr13/pr-scan-fast-and-break-things-2
Use libraries rather than home-screen views
This commit is contained in:
commit
3ddd88943d
1 changed files with 3 additions and 3 deletions
|
@ -166,7 +166,7 @@ class Views(object):
|
|||
def get_libraries(self):
|
||||
|
||||
try:
|
||||
libraries = self.server.jellyfin.get_views()['Items']
|
||||
libraries = self.server.jellyfin.get_media_folders()['Items']
|
||||
except Exception as error:
|
||||
LOG.exception(error)
|
||||
raise IndexError("Unable to retrieve libraries: %s" % error)
|
||||
|
|
Loading…
Reference in a new issue