mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-16 08:08:18 +00:00
The previous implementation split on commas without respecting quoted values, causing subtitles with commas in names (e.g., "English, Forced") or URIs with special characters to be incorrectly parsed. Uses regex to properly match key=value pairs where values can be either quoted (containing any characters except quotes) or unquoted (no commas).