We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a video is stuck due to unavailable fragments, we know this because it is in fact stuck at x bytes. The bytes progress is captured with downloaded_bytes used in the progress_hook's lambda function (in xklb at https://github.com/chapmanjacobd/library/blob/3d22ac49488db6a59a6ae7999d0c048473c41428/xklb/createdb/tube_backend.py#L394C9-L396C10).
A particular video, https://www.youtube.com/watch?v=4BL65HElOPg, just returns nothing. The download_bytes key couldn't be read.
root@lrn2:/usr/local/calibre-web-py3/cps/tasks# tail -f /var/log/xklb.log 2024-07-16 11:19:09 - [Debug] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-16 11:19:09 - [Debug] File "/root/.local/pipx/venvs/xklb/lib/python3.12/site-packages/yt_dlp/downloader/common.py", line 448, in download 2024-07-16 11:19:09 - [Debug] self._hook_progress({ 2024-07-16 11:19:09 - [Debug] File "/root/.local/pipx/venvs/xklb/lib/python3.12/site-packages/yt_dlp/downloader/common.py", line 481, in _hook_progress 2024-07-16 11:19:09 - [Debug] ph(status) 2024-07-16 11:19:09 - [Debug] File "/root/.local/pipx/venvs/xklb/lib/python3.12/site-packages/xklb/createdb/tube_backend.py", line 394, in <lambda> 2024-07-16 11:19:09 - [Debug] lambda d: log.debug(f"downloading {d['_percent_str']} {d['_speed_str']} {d['downloaded_bytes']} bytes") 2024-07-16 11:19:09 - [Debug] ~^^^^^^^^^^^^^^^^^^^^ 2024-07-16 11:19:09 - [Debug] KeyError: 'downloaded_bytes' 2024-07-16 11:19:09 - [Error] Error 1 occurred while running lb-wrapper's xklb commands.
The text was updated successfully, but these errors were encountered:
@deldesir this sounds like a bug from the user's perspective!
Sorry, something went wrong.
No branches or pull requests
When a video is stuck due to unavailable fragments, we know this because it is in fact stuck at x bytes. The bytes progress is captured with downloaded_bytes used in the progress_hook's lambda function (in xklb at https://github.com/chapmanjacobd/library/blob/3d22ac49488db6a59a6ae7999d0c048473c41428/xklb/createdb/tube_backend.py#L394C9-L396C10).
A particular video, https://www.youtube.com/watch?v=4BL65HElOPg, just returns nothing. The download_bytes key couldn't be read.
The text was updated successfully, but these errors were encountered: