From c0a24bfaeaf1b9b079d7a28c17ef56b32b667998 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 30 Jun 2020 23:14:04 +0200 Subject: Add desktop files for the different plugins, automedia.py > automedia to use system automedia --- icons/4chan_launcher.png | Bin 0 -> 5322 bytes icons/mangadex_lancher.png | Bin 0 -> 10367 bytes icons/manganelo_launcher.png | Bin 0 -> 17702 bytes icons/mangatown_launcher.png | Bin 0 -> 6713 bytes icons/pornhub_launcher.png | Bin 0 -> 11121 bytes icons/yt_launcher.png | Bin 0 -> 1752 bytes images/4chan_launcher.png | Bin 0 -> 5322 bytes images/mangadex_lancher.png | Bin 0 -> 10367 bytes images/mangatown_launcher.png | Bin 0 -> 6713 bytes images/yt_launcher.png | Bin 0 -> 1752 bytes images/yt_logo_rgb_dark_large.png | Bin 7438 -> 0 bytes launcher/QuickMedia-4chan.desktop | 9 +++++++++ launcher/QuickMedia-mangadex.desktop | 9 +++++++++ launcher/QuickMedia-manganelo.desktop | 9 +++++++++ launcher/QuickMedia-mangatown.desktop | 9 +++++++++ launcher/QuickMedia-youtube.desktop | 9 +++++++++ src/QuickMedia.cpp | 2 +- 17 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 icons/4chan_launcher.png create mode 100644 icons/mangadex_lancher.png create mode 100644 icons/manganelo_launcher.png create mode 100644 icons/mangatown_launcher.png create mode 100644 icons/pornhub_launcher.png create mode 100644 icons/yt_launcher.png create mode 100644 images/4chan_launcher.png create mode 100644 images/mangadex_lancher.png create mode 100644 images/mangatown_launcher.png create mode 100644 images/yt_launcher.png delete mode 100644 images/yt_logo_rgb_dark_large.png create mode 100644 launcher/QuickMedia-4chan.desktop create mode 100644 launcher/QuickMedia-mangadex.desktop create mode 100644 launcher/QuickMedia-manganelo.desktop create mode 100644 launcher/QuickMedia-mangatown.desktop create mode 100644 launcher/QuickMedia-youtube.desktop diff --git a/icons/4chan_launcher.png b/icons/4chan_launcher.png new file mode 100644 index 0000000..2a06620 Binary files /dev/null and b/icons/4chan_launcher.png differ diff --git a/icons/mangadex_lancher.png b/icons/mangadex_lancher.png new file mode 100644 index 0000000..c16260a Binary files /dev/null and b/icons/mangadex_lancher.png differ diff --git a/icons/manganelo_launcher.png b/icons/manganelo_launcher.png new file mode 100644 index 0000000..4b8e707 Binary files /dev/null and b/icons/manganelo_launcher.png differ diff --git a/icons/mangatown_launcher.png b/icons/mangatown_launcher.png new file mode 100644 index 0000000..79436d2 Binary files /dev/null and b/icons/mangatown_launcher.png differ diff --git a/icons/pornhub_launcher.png b/icons/pornhub_launcher.png new file mode 100644 index 0000000..0ae5a76 Binary files /dev/null and b/icons/pornhub_launcher.png differ diff --git a/icons/yt_launcher.png b/icons/yt_launcher.png new file mode 100644 index 0000000..88085df Binary files /dev/null and b/icons/yt_launcher.png differ diff --git a/images/4chan_launcher.png b/images/4chan_launcher.png new file mode 100644 index 0000000..2a06620 Binary files /dev/null and b/images/4chan_launcher.png differ diff --git a/images/mangadex_lancher.png b/images/mangadex_lancher.png new file mode 100644 index 0000000..c16260a Binary files /dev/null and b/images/mangadex_lancher.png differ diff --git a/images/mangatown_launcher.png b/images/mangatown_launcher.png new file mode 100644 index 0000000..79436d2 Binary files /dev/null and b/images/mangatown_launcher.png differ diff --git a/images/yt_launcher.png b/images/yt_launcher.png new file mode 100644 index 0000000..88085df Binary files /dev/null and b/images/yt_launcher.png 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 Binary files a/images/yt_logo_rgb_dark_large.png and /dev/null 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); } -- cgit v1.2.3