'#' and '?' are reserved URI characters, used as separators for the query and fragment components respectively. So a URI like "file:///Mystify#.flac" is correctly parsed as having a path component of "/Mystify" and fragment component ".flac".
If music-app is producing URIs containing these characters but intending them to be part of the path component, then that is an error. If you want to convert between URLs and file names, Qt provides QUrl::toLocalFile and QUrl::fromLocalFile methods. These will take care of the necessary escaping. They don't seem to be exposed on the QML URL type though, so would probably need a C++ plugin to expose. If music-app still has the URIs provided by mediascanner, they should also be well formed with correct escaping. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1449790 Title: Fails to play a file with a # (hash symbol) in the path To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1449790/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
