Describe the bug
When a download starts, and cookies are needed, once the download completes and pinchflat requests yt-dlp to fetch the thumbnail, it simulates again without cookies. when that fails, instead of retrying with cookies, it starts the entire download process again and ends up stuck in a loop.
To Reproduce
Force download any video,with cookies for the source set to 'when needed'. note the error will only happen if yt-dlp is failing when trying without cookies.
Expected behavior
If the download itself requires cookies - then when pinchflat requests the thumbnail metadata,it should use cookies first time.
Diagnostic info
- App Version: 2025.9.26
- yt-dlp Version: 2026.03.17
- Apprise Version: v1.10.0
- System Architecture: x86_64-pc-linux-gnu
- Timezone: UTC
Additional context
The attached extract from the logs.
pinchflat_logs_extract.txt
the first video (SyBUlEdhyjs) i set the source to use cookies in all operations. the second video (qxfq4dtRDLY), cookies was set to use when needed. you can see the second video start going in an loop.
Describe the bug
When a download starts, and cookies are needed, once the download completes and pinchflat requests yt-dlp to fetch the thumbnail, it simulates again without cookies. when that fails, instead of retrying with cookies, it starts the entire download process again and ends up stuck in a loop.
To Reproduce
Force download any video,with cookies for the source set to 'when needed'. note the error will only happen if yt-dlp is failing when trying without cookies.
Expected behavior
If the download itself requires cookies - then when pinchflat requests the thumbnail metadata,it should use cookies first time.
Diagnostic info
Additional context
The attached extract from the logs.
pinchflat_logs_extract.txt
the first video (SyBUlEdhyjs) i set the source to use cookies in all operations. the second video (qxfq4dtRDLY), cookies was set to use when needed. you can see the second video start going in an loop.