From 260039c3074b0560497eef6f0e0dcbda24ec9c69 Mon Sep 17 00:00:00 2001 From: sherl Date: Sun, 5 Oct 2025 20:03:43 +0200 Subject: [PATCH] hotfix: make the chunk size an integer in videoplayback proxy --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index ee364d4..f301066 100644 --- a/views.py +++ b/views.py @@ -130,7 +130,7 @@ def videoplaybackProxy(): # or the one in initcwndbps (if user enabled the config flag to match chunk_size with initcwndbps) if ythdd_globals.config['proxy']['match_initcwndbps']: try: - chunk_size = int(params.get('initcwndbps')) / 1024 + chunk_size = int(params.get('initcwndbps') / 1024) except: pass # return a chunked response