-
Notifications
You must be signed in to change notification settings - Fork 385
Open
Description
There is an edgecase for stickers with names and values containing =, making the server output hard to parse.
$ nc localhost 6600
OK MPD 0.24.0
sticker set playlist TestPlaylist "test=1" "value=2"
OK
sticker list playlist TestPlaylist
sticker: test=1=value=2
OK
First solution that comes to mind would be to wrap the name and value in quotes, but then you could maybe put "=" inside your string or something (I guess we could escape quotes as well?). Not sure what the best solution is here. Newlines maybe?
I feel like this is in the grey area of being a bug, considering it's up to the client developer to choose sensible tag names. But one client might interfere with another, so maybe it should be considered so.
Metadata
Metadata
Assignees
Labels
No labels