aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--src/plugins/youtube/YoutubeMediaProxy.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/TODO b/TODO
index 3eb8b9f..003a7ea 100644
--- a/TODO
+++ b/TODO
@@ -200,4 +200,5 @@ Youtube is still getting throttled, but to 500kb/sec from 5mb/sec. How to detect
Opening a media url should display it directly in quickmedia.
Automatically resize body item thumbnail if body is small, or move thumbnail above the text.
Support &nbsp?.
-Add option to navigate studios/producers/author in AniList/MAL. \ No newline at end of file
+Add option to navigate studios/producers/author in AniList/MAL.
+Renable throttle detection after fixing it (it doesn't detect throttling well and it breaks for very long videos, such as 8 hour long videos). \ No newline at end of file
diff --git a/src/plugins/youtube/YoutubeMediaProxy.cpp b/src/plugins/youtube/YoutubeMediaProxy.cpp
index 61eb374..c5af20e 100644
--- a/src/plugins/youtube/YoutubeMediaProxy.cpp
+++ b/src/plugins/youtube/YoutubeMediaProxy.cpp
@@ -474,6 +474,7 @@ namespace QuickMedia {
}
}
+#if 0
if(download_started) {
struct timespec tp;
clock_gettime(CLOCK_MONOTONIC, &tp);
@@ -501,6 +502,7 @@ namespace QuickMedia {
throttle_started = false;
}
}
+#endif
// TODO: Remove this code and instead create the header ourselves and send it to the client. Then pipe the curl output directly to the client input.
if(!download_header_finished) {