Sometimes http/1.1 Response 416 when trying to download media for offline usage

Be sure to read How to get debug information and open a proper issue to provide necessary logs and information.
Any issue without the logs can be automatically closed without further notice.

Issue description: Downloading media for offline usage mostly works, but not always. Some items stuck with http 416. In this case repeating or resuming download does not cure the failty state which means the user has to remove the failed item from download manager, remember the missing item and search it in media library to trigger download again. This has to be done for all failed items.

I tried to fix this issue on http proxy with correct http range header, but everything was already configured fine. I noticed that the emby server already sents http 416 response. I have attached yatse log and emby server log.

Logs:

Emby_debug.log (108.4 KB)

Yatse_debug.log (789.4 KB)

Screenshots:

Additional information: I mentioned this issue back in 2020 already, see: