Server Version#: 1.19.5.3112
Player Version#: 4.34.3
I am trying to create a Smart Playlist in my music library so whenever I add music by certain artists it is automatically included in the playlist. In order to do this I am using a “Artist Title” “is” rule with multiple artists in the value list. However, if I add an artist with an ampersand (&) in its name (e.g. Paul McCartney & Wings) then it cuts off everything after the ampersand, including any artists in the list after that (so if it was [The Beatles] [Paul McCartney & Wings] [John Lennon] then it would become [The Beatles] [Paul McCartney]).
This seems like a bug. I would guess maybe the input is being used in a query string and the & is being treated as the beginning of another parameter.
Does anyone know of a work-around besides renaming all the artists in my library with “&” to “and”?
Out of curiosity I just tried this, and got the same result. It looks fine as you enter it, and it works correctly if you click “Apply.” But if you actually create the Smart Playlist, the filter is truncated at the ampersand.
Server Version#: 1.20.0.3181 on linux Mint 19.3 64bit
Player Version#: 4.39.1
Out of continued curiosity I tried your suggestion of clicking “Apply” to see that it worked and found another interesting behavior: If you click “Apply” it works, but if you click “Apply” again after that, it truncates the same way that saving does.
Looking at the URL, it looks like the first “Apply” encodes the ampersand as %252526, but when I “Apply” again it becomes %2526. It looks like it’s getting urlencoded multiple times (in urlencode, %25 = %, %26 = &, so & encodes to %26, then if you apply it again %26 becomes %2526, then once more %2526 becomes %252526). Somehow that works out without issues for the encoded spaces (%20 is a space, but it shows up as %252520 in the first pass and %2520 in the second pass), but it messes up when handling the ampersand.