mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
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)
|
||||
|
||||
def AddToPlaylist(self):
|
||||
print "Add to playlist"
|
||||
self.AddItemToPlaylist(self.context_index, False)
|
||||
|
||||
def LoadToPlaylist(self):
|
||||
print "Load to playlist"
|
||||
self.AddItemToPlaylist(self.context_index, True)
|
||||
|
||||
def Homepage(self):
|
||||
QDesktopServices.openUrl(self.HOMEPAGE_URL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user