diff options
author | Ken Moore <ken@ixsystems.com> | 2017-04-19 11:33:19 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-04-19 11:33:19 -0400 |
commit | fc02e9b54c001fe2e7c862ee577345826f6ac524 (patch) | |
tree | 6689424995ca72c73ea29e9faec8f31a248bd25c /src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h | |
parent | Add the ability to change the libao audio driver as needed. (diff) | |
download | lumina-fc02e9b54c001fe2e7c862ee577345826f6ac524.tar.gz lumina-fc02e9b54c001fe2e7c862ee577345826f6ac524.tar.bz2 lumina-fc02e9b54c001fe2e7c862ee577345826f6ac524.zip |
A bit more work on lumina-mediaplayer:
- Add support for creating generic stations from a search term.
- Ensure that new stations are automatically switched to..
- Add support for changing the libao "audio driver" (some drivers just spit out static - like pulse, but the "oss" driver works great).
Diffstat (limited to 'src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h b/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h index 686eb122..eadd314d 100644 --- a/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h +++ b/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h @@ -40,6 +40,8 @@ public: QStringList stations(); void setCurrentStation(QString station); + void answerQuestion(int selection = -1); //-1 = cancel + //Settings Manipulation QString audioQuality(); // "audio_quality" = [low, medium, high] void setAudioQuality(QString); // [low, medium, high] @@ -76,6 +78,7 @@ private: //Cached Info QString cstation; //current station QStringList stationList; + bool makingStation; public slots: void play(); // "P" @@ -92,7 +95,7 @@ public slots: void bookmarkArtist(){ sendToProcess("b"); sendToProcess("a",true); } //"b"->"a" void deleteCurrentStation(); //"d" - //void createNewStation(); //"c" + void createNewStation(QString searchterm); //"c" void createStationFromCurrentSong(); //"v" -> "s" void createStationFromCurrentArtist(); //"v" -> "a" @@ -112,8 +115,9 @@ signals: void NowPlayingStation(QString, QString); //[name, id] void NowPlayingSong(bool, QString,QString,QString, QString, QString); //[isLoved, title, artist, album, detailsURL, fromStation] void TimeUpdate(int, int); //[current secs, total secs]; - void NewList(QStringList); //arranged in order: 0-end + void NewQuestion(QString, QStringList); //text, options arranged in order: 0-end void StationListChanged(QStringList); void currentStateChanged(PianoBarProcess::State); + void showError(QString); //important error message to show the user }; #endif |