diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-02-15 02:46:24 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-02-15 02:46:24 +0100 |
commit | d41a1b592bdcea09f708b2b0e6fa0972d19dfd40 (patch) | |
tree | 3ff1c358b1deced7fbbd2c00d1aa3831e342f2c6 | |
parent | aab8d467dbbe664e3f826dbcf08475839759aef9 (diff) |
Add spotify launcher
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | icons/spotify_launcher.png | bin | 0 -> 7423 bytes | |||
-rw-r--r-- | launcher/QuickMedia-spotify.desktop | 9 | ||||
-rw-r--r-- | src/QuickMedia.cpp | 1 |
4 files changed, 11 insertions, 1 deletions
@@ -1,6 +1,6 @@ # QuickMedia A dmenu-inspired native client for web services. -Currently supported web services: `youtube`, `spotify (podcasts only)`, `nyaa.si`, `manganelo`, `mangatown`, `mangadex`, `4chan`, `matrix` and _others_.\ +Currently supported web services: `youtube`, `spotify (podcasts)`, `nyaa.si`, `manganelo`, `mangatown`, `mangadex`, `4chan`, `matrix` and _others_.\ **Note:** Manganelo doesn't work when used with TOR.\ **Note:** Posting comments on 4chan doesn't work when used with TOR. However browsing works.\ **Note:** TOR system service needs to be running (`systemctl start tor.service`) when using `--tor` option.\ diff --git a/icons/spotify_launcher.png b/icons/spotify_launcher.png Binary files differnew file mode 100644 index 0000000..b3abe61 --- /dev/null +++ b/icons/spotify_launcher.png diff --git a/launcher/QuickMedia-spotify.desktop b/launcher/QuickMedia-spotify.desktop new file mode 100644 index 0000000..5751f03 --- /dev/null +++ b/launcher/QuickMedia-spotify.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=QuickMedia Spotify +GenericName=Spotify podcast player +Comment=Spotify podcast player +Icon=/usr/share/quickmedia/icons/spotify_launcher.png +Exec=QuickMedia spotify --no-video +Terminal=false +Keywords=spotify;player;quickmedia;podcast; diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 99bbfb9..f6d036e 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -462,6 +462,7 @@ namespace QuickMedia { } else if(strcmp(argv[i], "spotify") == 0) { plugin_name = argv[i]; plugin_logo_path = resources_root + "images/spotify_logo.png"; + no_video = true; } else if(strcmp(argv[i], "pornhub") == 0) { plugin_name = argv[i]; plugin_logo_path = resources_root + "images/pornhub_logo.png"; |