Oops, implement the add to playlist and load context menu items
This commit is contained in:
parent
b31c118256
commit
b0cb21ccec
@ -85,10 +85,10 @@ class DigitallyImportedServiceBase(clementine.RadioService):
|
|||||||
self.menu.popup(global_pos)
|
self.menu.popup(global_pos)
|
||||||
|
|
||||||
def AddToPlaylist(self):
|
def AddToPlaylist(self):
|
||||||
print "Add to playlist"
|
self.AddItemToPlaylist(self.context_index, False)
|
||||||
|
|
||||||
def LoadToPlaylist(self):
|
def LoadToPlaylist(self):
|
||||||
print "Load to playlist"
|
self.AddItemToPlaylist(self.context_index, True)
|
||||||
|
|
||||||
def Homepage(self):
|
def Homepage(self):
|
||||||
QDesktopServices.openUrl(self.HOMEPAGE_URL)
|
QDesktopServices.openUrl(self.HOMEPAGE_URL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user