Increased items to load in audio buffers up to 1000
This commit is contained in:
parent
7f9beba3bc
commit
0323e0f6a7
@ -56,13 +56,13 @@ class Controller(object):
|
|||||||
audios = buffers.empty(parent=self.window.tb, name="audios")
|
audios = buffers.empty(parent=self.window.tb, name="audios")
|
||||||
self.buffers.append(audios)
|
self.buffers.append(audios)
|
||||||
self.window.add_buffer(audios.tab, _(u"Music"))
|
self.window.add_buffer(audios.tab, _(u"Music"))
|
||||||
audio = buffers.audioBuffer(parent=self.window.tb, name="me_audio", composefunc="compose_audio", session=self.session, endpoint="get", parent_endpoint="audio", full_list=True)
|
audio = buffers.audioBuffer(parent=self.window.tb, name="me_audio", composefunc="compose_audio", session=self.session, endpoint="get", parent_endpoint="audio", full_list=True, count=1000)
|
||||||
self.buffers.append(audio)
|
self.buffers.append(audio)
|
||||||
self.window.insert_buffer(audio.tab, _(u"My audios"), self.window.search("audios"))
|
self.window.insert_buffer(audio.tab, _(u"My audios"), self.window.search("audios"))
|
||||||
p_audio = buffers.audioBuffer(parent=self.window.tb, name="popular_audio", composefunc="compose_audio", session=self.session, endpoint="getPopular", parent_endpoint="audio", full_list=True)
|
p_audio = buffers.audioBuffer(parent=self.window.tb, name="popular_audio", composefunc="compose_audio", session=self.session, endpoint="getPopular", parent_endpoint="audio", full_list=True, count=1000)
|
||||||
self.buffers.append(p_audio)
|
self.buffers.append(p_audio)
|
||||||
self.window.insert_buffer(p_audio.tab, _(u"Populars"), self.window.search("audios"))
|
self.window.insert_buffer(p_audio.tab, _(u"Populars"), self.window.search("audios"))
|
||||||
r_audio = buffers.audioBuffer(parent=self.window.tb, name="recommended_audio", composefunc="compose_audio", session=self.session, endpoint="getRecommendations", parent_endpoint="audio", full_list=True)
|
r_audio = buffers.audioBuffer(parent=self.window.tb, name="recommended_audio", composefunc="compose_audio", session=self.session, endpoint="getRecommendations", parent_endpoint="audio", full_list=True, count=1000)
|
||||||
self.buffers.append(r_audio)
|
self.buffers.append(r_audio)
|
||||||
self.window.insert_buffer(r_audio.tab, _(u"Recommendations"), self.window.search("audios"))
|
self.window.insert_buffer(r_audio.tab, _(u"Recommendations"), self.window.search("audios"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user