Add scrobbler with support for Last.fm, Libre.fm and ListenBrainz
This commit is contained in:
@@ -66,6 +66,7 @@ GlobalShortcuts::GlobalShortcuts(QWidget *parent)
|
||||
AddShortcut("toggle_pretty_osd", tr("Toggle Pretty OSD"), SIGNAL(TogglePrettyOSD())); // Toggling possible only for pretty OSD
|
||||
AddShortcut("shuffle_mode", tr("Change shuffle mode"), SIGNAL(CycleShuffleMode()));
|
||||
AddShortcut("repeat_mode", tr("Change repeat mode"), SIGNAL(CycleRepeatMode()));
|
||||
AddShortcut("toggle_scrobbling", tr("Enable/disable scrobbling"), SIGNAL(ToggleScrobbling()));
|
||||
|
||||
// Create backends - these do the actual shortcut registration
|
||||
gnome_backend_ = new GnomeGlobalShortcutBackend(this);
|
||||
|
||||
@@ -80,6 +80,7 @@ signals:
|
||||
void CycleShuffleMode();
|
||||
void CycleRepeatMode();
|
||||
void RemoveCurrentSong();
|
||||
void ToggleScrobbling();
|
||||
|
||||
private:
|
||||
void AddShortcut(const QString &id, const QString &name, const char *signal, const QKeySequence &default_key = QKeySequence(0));
|
||||
|
||||
Reference in New Issue
Block a user