The endpoint '/mpd/segment' has been renamed to '/mpd/segment.mp4' for clarity in the route. Additionally, logging for internal server errors now uses 'logger.exception' to provide more detailed error information.
Integrate streaming progress tracking using tqdm_asyncio in the `stream_content` method, controlled by the new `enable_streaming_progress` setting. Update configuration to include this new setting and ensure the progress bar closes properly after streaming.
Fix debrid video playback issue in stremio libmpv player
This commit refactors the query parameter handling in the proxy routes by consolidating parameters into specific Pydantic models using the `Annotated` type for better clarity and maintainability. Additionally, extracted common setup and error-handling logic into reusable functions within `handlers.py`.
Update endpoint paths for fixing video playback in some player
Fix HLS proxy when content is chunked & removed upstream content-encoding header & parse m3u8 playlist based on response content-type header in-case of destination doesn't end with .m3u8