Skip to content

Fix local file URL handling when adding files to playlist#1793

Merged
ddennedy merged 1 commit intomltframework:masterfrom
immiglitch:fix-special-characters-playlist
Mar 10, 2026
Merged

Fix local file URL handling when adding files to playlist#1793
ddennedy merged 1 commit intomltframework:masterfrom
immiglitch:fix-special-characters-playlist

Conversation

@immiglitch
Copy link
Contributor

@immiglitch immiglitch commented Mar 10, 2026

Fixes #1582 and #1704

Problem
This PR fixes an issue where files with special characters or quotes in their names failed to load into the playlist.

Cause
The bug was caused by an implicit conversion from QString to QUrl, leading to malformed encoding.

Fix
I replaced this with an explicit call to QUrl::fromLocalFile()

@ddennedy ddennedy added this to the Next Release milestone Mar 10, 2026
@ddennedy ddennedy merged commit fb7fe18 into mltframework:master Mar 10, 2026
1 check passed
@ddennedy
Copy link
Member

Thank you!

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.

Files with quotation marks (") in the name can't be added to Playlist

2 participants