https://bugs.kde.org/show_bug.cgi?id=509204
Bug ID: 509204
Summary: Storage of main playlist removes protocol and host
parts from radio streams
Classification: Applications
Product: amarok
Version First 3.3.1
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Playlist
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: kf5
Commit 09b64d459540717c24c8c337f662c9b5101af303 introduced a change that fails
to encode the protocol and host fields of URLs in the location elements in the
~/.local/share/amarok/current.xspf playlist file.
STEPS TO REPRODUCE
1. Add a radio stream to the playlist
2. exit and restart amarok
OBSERVED RESULT
In the gui, the newly added stream is reduced to only the path part.
EXPECTED RESULT
The whole URL is being kept in an equivalent encoding.
SOFTWARE/OS VERSIONS
Linux: Gentoo Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
ADDITIONAL INFORMATION
It looks like the change should have kept using QUrl::toString(encoded the full
URL as string) instead of changing to QUrl::path(encoded the path part of the
URL as string), at least for things that actually are non-local URLs, but maybe
the code changed in the above mentioned commit should not have been used for
storing the current.xspf at all.
--
You are receiving this mail because:
You are watching all bug changes.