Pass user_id when retrieving video and audio albums

This commit is contained in:
Manuel Cortez 2018-12-22 05:39:58 -06:00
parent 5f04ac3bee
commit 3ffbf556f2

View File

@ -221,8 +221,8 @@ class Controller(object):
def update_all_buffers(self): def update_all_buffers(self):
log.debug("Updating buffers...") log.debug("Updating buffers...")
self.get_audio_albums(create_buffers=False) self.get_audio_albums(self.session.user_id, create_buffers=False)
self.get_video_albums(create_buffers=False) self.get_video_albums(self.session.user_id, create_buffers=False)
for i in self.buffers: for i in self.buffers:
if hasattr(i, "get_items"): if hasattr(i, "get_items"):
i.get_items() i.get_items()