Use libraries rather than home-screen views
This commit is contained in:
parent
f5d2318b00
commit
a4d2dad11e
|
@ -166,7 +166,7 @@ class Views(object):
|
||||||
def get_libraries(self):
|
def get_libraries(self):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
libraries = self.server.jellyfin.get_views()['Items']
|
libraries = self.server.jellyfin.get_media_folders()['Items']
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
LOG.exception(error)
|
LOG.exception(error)
|
||||||
raise IndexError("Unable to retrieve libraries: %s" % error)
|
raise IndexError("Unable to retrieve libraries: %s" % error)
|
||||||
|
|
Loading…
Reference in New Issue