aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--launcher/QuickMedia.desktop3
-rw-r--r--launcher/QuickMedia_tabbed.desktop9
-rw-r--r--src/QuickMedia.cpp3
4 files changed, 6 insertions, 10 deletions
diff --git a/TODO b/TODO
index dc4ec9a..1f14ee5 100644
--- a/TODO
+++ b/TODO
@@ -240,3 +240,4 @@ Bypass compositor when fullscreening application.
Sort matrix events by timestamp (join/leave events and other things).
Update room name, avatar, etc in gui when updated.
Automatically cleanup old cache files.
+Download manga pages in parallel. This helps downloading for certain websites such as mangakatana where a single page can take more than 2 seconds but loading 5 at once allows each page to load in 0.4 seconds. \ No newline at end of file
diff --git a/launcher/QuickMedia.desktop b/launcher/QuickMedia.desktop
index a9cffaa..329beeb 100644
--- a/launcher/QuickMedia.desktop
+++ b/launcher/QuickMedia.desktop
@@ -6,4 +6,5 @@ Comment=A rofi inspired native client for web services. Supports youtube, peertu
Exec=quickmedia launcher
Terminal=false
Keywords=4chan;manga;matrix;nyaa;torrent;soundcloud;podcast;youtube;music;quickmedia;
-Icon=/usr/share/quickmedia/images/qm_logo.png \ No newline at end of file
+Categories=AudioVideo;Audio;Video;Player;
+Icon=/usr/share/quickmedia/images/qm_logo.png
diff --git a/launcher/QuickMedia_tabbed.desktop b/launcher/QuickMedia_tabbed.desktop
deleted file mode 100644
index 3b1b41f..0000000
--- a/launcher/QuickMedia_tabbed.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=QuickMedia tabbed
-GenericName=QuickMedia tabbed
-Comment=Launch QuickMedia with tabs
-Exec=tabbed -c -k quickmedia launcher -e
-Terminal=false
-Keywords=4chan;manga;matrix;nyaa;torrent;soundcloud;podcast;youtube;music;quickmedia;
-Icon=/usr/share/quickmedia/images/qm_logo.png \ No newline at end of file
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 57c5489..f7859ef 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -921,6 +921,9 @@ namespace QuickMedia {
std::vector<std::string> urls;
for(const std::string &js_section : extract_javascript_sections(html_source)) {
std::vector<std::string> js_string_array = get_javascript_string_arrays_unique(js_section);
+ for(std::string &str : js_string_array) {
+ string_replace_all(str, "i1.mangakatana", "i3.mangakatana");
+ }
urls.insert(urls.end(), std::move_iterator(js_string_array.begin()), std::move_iterator(js_string_array.end()));
}
return urls;