aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-06-30 23:14:04 +0200
committerdec05eba <dec05eba@protonmail.com>2020-06-30 23:14:04 +0200
commitc0a24bfaeaf1b9b079d7a28c17ef56b32b667998 (patch)
treee04664503d3a0982de757103c19a051b0c42aeb0
parent07f80da8f9c46c228c272e95ab88a3e098c899d9 (diff)
Add desktop files for the different plugins, automedia.py > automedia to use system automedia
-rw-r--r--icons/4chan_launcher.pngbin0 -> 5322 bytes
-rw-r--r--icons/mangadex_lancher.pngbin0 -> 10367 bytes
-rw-r--r--icons/manganelo_launcher.pngbin0 -> 17702 bytes
-rw-r--r--icons/mangatown_launcher.pngbin0 -> 6713 bytes
-rw-r--r--icons/pornhub_launcher.pngbin0 -> 11121 bytes
-rw-r--r--icons/yt_launcher.pngbin0 -> 1752 bytes
-rw-r--r--images/4chan_launcher.pngbin0 -> 5322 bytes
-rw-r--r--images/mangadex_lancher.pngbin0 -> 10367 bytes
-rw-r--r--images/mangatown_launcher.pngbin0 -> 6713 bytes
-rw-r--r--images/yt_launcher.pngbin0 -> 1752 bytes
-rw-r--r--images/yt_logo_rgb_dark_large.pngbin7438 -> 0 bytes
-rw-r--r--launcher/QuickMedia-4chan.desktop9
-rw-r--r--launcher/QuickMedia-mangadex.desktop9
-rw-r--r--launcher/QuickMedia-manganelo.desktop9
-rw-r--r--launcher/QuickMedia-mangatown.desktop9
-rw-r--r--launcher/QuickMedia-youtube.desktop9
-rw-r--r--src/QuickMedia.cpp2
17 files changed, 46 insertions, 1 deletions
diff --git a/icons/4chan_launcher.png b/icons/4chan_launcher.png
new file mode 100644
index 0000000..2a06620
--- /dev/null
+++ b/icons/4chan_launcher.png
Binary files differ
diff --git a/icons/mangadex_lancher.png b/icons/mangadex_lancher.png
new file mode 100644
index 0000000..c16260a
--- /dev/null
+++ b/icons/mangadex_lancher.png
Binary files differ
diff --git a/icons/manganelo_launcher.png b/icons/manganelo_launcher.png
new file mode 100644
index 0000000..4b8e707
--- /dev/null
+++ b/icons/manganelo_launcher.png
Binary files differ
diff --git a/icons/mangatown_launcher.png b/icons/mangatown_launcher.png
new file mode 100644
index 0000000..79436d2
--- /dev/null
+++ b/icons/mangatown_launcher.png
Binary files differ
diff --git a/icons/pornhub_launcher.png b/icons/pornhub_launcher.png
new file mode 100644
index 0000000..0ae5a76
--- /dev/null
+++ b/icons/pornhub_launcher.png
Binary files differ
diff --git a/icons/yt_launcher.png b/icons/yt_launcher.png
new file mode 100644
index 0000000..88085df
--- /dev/null
+++ b/icons/yt_launcher.png
Binary files differ
diff --git a/images/4chan_launcher.png b/images/4chan_launcher.png
new file mode 100644
index 0000000..2a06620
--- /dev/null
+++ b/images/4chan_launcher.png
Binary files differ
diff --git a/images/mangadex_lancher.png b/images/mangadex_lancher.png
new file mode 100644
index 0000000..c16260a
--- /dev/null
+++ b/images/mangadex_lancher.png
Binary files differ
diff --git a/images/mangatown_launcher.png b/images/mangatown_launcher.png
new file mode 100644
index 0000000..79436d2
--- /dev/null
+++ b/images/mangatown_launcher.png
Binary files differ
diff --git a/images/yt_launcher.png b/images/yt_launcher.png
new file mode 100644
index 0000000..88085df
--- /dev/null
+++ b/images/yt_launcher.png
Binary files differ
diff --git a/images/yt_logo_rgb_dark_large.png b/images/yt_logo_rgb_dark_large.png
deleted file mode 100644
index 64d91a3..0000000
--- a/images/yt_logo_rgb_dark_large.png
+++ /dev/null
Binary files differ
diff --git a/launcher/QuickMedia-4chan.desktop b/launcher/QuickMedia-4chan.desktop
new file mode 100644
index 0000000..3894089
--- /dev/null
+++ b/launcher/QuickMedia-4chan.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=QuickMedia 4chan
+GenericName=4chan viewer
+Comment=4chan viewer with autoplay support and quick comment navigation
+Icon=/usr/share/quickmedia/icons/4chan_launcher.png
+Exec=QuickMedia 4chan
+Terminal=false
+Keywords=4chan;viewer;quickmedia;mpv;
diff --git a/launcher/QuickMedia-mangadex.desktop b/launcher/QuickMedia-mangadex.desktop
new file mode 100644
index 0000000..0d2791b
--- /dev/null
+++ b/launcher/QuickMedia-mangadex.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=QuickMedia MangaDex
+GenericName=MangaDex reader
+Comment=MangaDex reader, keeps track of your progress
+Icon=/usr/share/quickmedia/icons/mangadex_launcher.png
+Exec=QuickMedia mangadex
+Terminal=false
+Keywords=manga;comics;reader;quickmedia;automedia;
diff --git a/launcher/QuickMedia-manganelo.desktop b/launcher/QuickMedia-manganelo.desktop
new file mode 100644
index 0000000..da58996
--- /dev/null
+++ b/launcher/QuickMedia-manganelo.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=QuickMedia Manganelo
+GenericName=Manganelo reader
+Comment=Manganelo reader, keeps track of your progress
+Icon=/usr/share/quickmedia/icons/manganelo_launcher.png
+Exec=QuickMedia manganelo
+Terminal=false
+Keywords=manga;comics;reader;quickmedia;automedia;
diff --git a/launcher/QuickMedia-mangatown.desktop b/launcher/QuickMedia-mangatown.desktop
new file mode 100644
index 0000000..5212cba
--- /dev/null
+++ b/launcher/QuickMedia-mangatown.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=QuickMedia Mangatown
+GenericName=Mangatown reader
+Comment=Mangatown reader, keeps track of your progress
+Icon=/usr/share/quickmedia/icons/mangatown_launcher.png
+Exec=QuickMedia mangatown
+Terminal=false
+Keywords=manga;comics;reader;quickmedia;automedia;
diff --git a/launcher/QuickMedia-youtube.desktop b/launcher/QuickMedia-youtube.desktop
new file mode 100644
index 0000000..c82ffd6
--- /dev/null
+++ b/launcher/QuickMedia-youtube.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=QuickMedia YouTube
+GenericName=YouTube player
+Comment=YouTube search and video playing
+Icon=/usr/share/quickmedia/icons/yt_launcher.png
+Exec=QuickMedia youtube
+Terminal=false
+Keywords=youtube;player;quickmedia;mpv;
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 9b57b0b..400603b 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -794,7 +794,7 @@ namespace QuickMedia {
}
static int track_media(TrackMediaType media_type, const std::string &manga_title, const std::string &chapter_title, const std::string &url) {
- const char *args[] = { "automedia.py", "add", track_media_type_string(media_type), url.data(), "--start-after", chapter_title.data(), "--name", manga_title.data(), nullptr };
+ const char *args[] = { "automedia", "add", track_media_type_string(media_type), url.data(), "--start-after", chapter_title.data(), "--name", manga_title.data(), nullptr };
return exec_program(args, nullptr, nullptr);
}