Added empty panels for organisation in posts and music buffers

This commit is contained in:
2016-03-23 08:57:16 -06:00
parent 4eebec68ab
commit 33b779887e
3 changed files with 30 additions and 6 deletions

View File

@@ -158,4 +158,16 @@ class audioBuffer(feedBuffer):
def play_all(self, *args, **kwargs):
selected = self.tab.list.get_selected()
audios = [i["url"] for i in self.session.db[self.name]["items"][selected:]]
pub.sendMessage("play-audios", audios=audios)
pub.sendMessage("play-audios", audios=audios)
class empty(object):
def __init__(self, name=None, parent=None, *args, **kwargs):
self.tab = home.empty(parent=parent, name=name)
self.name = name
def get_items(self, *args, **kwargs):
pass
def update(self, *args, **kwargs):
pass