You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked the Changelog that the issue is not already fixed.
I believe this issue is a bug, and not a general technical issue, question or feature requests that can be discussed on the forum.
Describe the bug
When saving a playlist in XSPF format, the playlist's title, as seen in Strawberry's UI, is not exported as part of the playlist. Depending on the consumer, this results in the filename being re-used as the playlist title. This prevents users from renaming the files without inserting the tag manually. Even if the file is consumed exactly as exported, the playlist title as show by the player may retain the file extension which is undesirable.
To Reproduce
Create a new playlist called "MyPlaylist"
Save it using the XSPF format.
grep MyPlaylist MyPlaylist.xspf returns no results
Expected behavior
File content should be something like
While it would be nice to have the title saved in the playlist, it is not required by the specification https://www.xspf.org/spec#41121-title—indicated by 'MAY'. The current format is probably legacy Clementine code.
I don't believe I claimed it was required by the spec. I still think it's a bug because it introduces an unnecessary limitation playlist names.
Another scenario:
name playlist "Black / White / Grey"
click save, see suggestion " Grey.xspf"
the leading space is arguably a bug too
try saving it as Black / White / Grey.xspf, knowing that's not a legal name
realize that getting the name of the playlist into your music play is impossible with Strawberry as the only way to express slashes is via the title tag.
Describe the bug
When saving a playlist in XSPF format, the playlist's title, as seen in Strawberry's UI, is not exported as part of the playlist. Depending on the consumer, this results in the filename being re-used as the playlist title. This prevents users from renaming the files without inserting the tag manually. Even if the file is consumed exactly as exported, the playlist title as show by the player may retain the file extension which is undesirable.
To Reproduce
grep MyPlaylist MyPlaylist.xspf
returns no resultsExpected behavior
File content should be something like
instead.
Screenshots:
N/A
System Information:
Version 1.2.2
Additional context
strawberry/src/playlistparsers/xspfparser.cpp
Line 152 in 53c72d4
The text was updated successfully, but these errors were encountered: