gdavis / Mimir-Feedback

The place to report bugs and suggest improvements for the podcast app Mimir
https://mimirpodcasts.app
9 stars 0 forks source link

[iOS][macOS]: Audio at the end of the file can get cut off when using BTE headphones #233

Closed gdavis closed 1 year ago

gdavis commented 1 year ago

When using the remote loader, it appears we get a content Length that is not accurate back from the server for multi-part content ranges for some assets. For example, using the SYSK podcast episode "Must We Suffer Emotional Pain?", the full file size is 55,581,968 bytes when downloaded. However, the remote loader is getting a byte size of 47,389,548, from the server content length which causes the buffer provider to think it is at the end of the file before it actually gets there.

We need a consistent way to get more accurate file sizes, or maybe just disable the multi-part requests?

gdavis commented 1 year ago

This fix may also resolve #231 because it no longer is making partial requests. The entire file should just be available when first loaded from the secure source.