diff --git a/jellyfin_kodi/views.py b/jellyfin_kodi/views.py index ffea641e..3c3c1a7a 100644 --- a/jellyfin_kodi/views.py +++ b/jellyfin_kodi/views.py @@ -167,6 +167,11 @@ class Views(object): try: libraries = self.server.jellyfin.get_media_folders()['Items'] + library_ids = [x['Id'] for x in libraries] + for view in self.server.jellyfin.get_views()['Items']: + if view['Id'] not in library_ids: + libraries.append(view) + except Exception as error: LOG.exception(error) raise IndexError("Unable to retrieve libraries: %s" % error)