Skip to content

fix: use Split limit 2 to handle titles containing pipe characters - #782

Open
Noethix55555 wants to merge 2 commits into
mpvnet-player:mainfrom
Noethix55555:fix/recent-title-pipe
Open

fix: use Split limit 2 to handle titles containing pipe characters#782
Noethix55555 wants to merge 2 commits into
mpvnet-player:mainfrom
Noethix55555:fix/recent-title-pipe

Conversation

@Noethix55555

Copy link
Copy Markdown

GetTitleAndPath in src/MpvNet/App.cs splits the path|title input on every |, so titles that contain a pipe character are silently truncated.

Passing a count of 2 to Split ensures only the first pipe is treated as a separator, preserving any pipe characters in the title portion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant