Bugzilla – Bug 18102
Album named "+" saved in playlist makes playlist unviewable
Last modified: 2014-08-22 07:00:57 UTC
Created attachment 7728 [details] Screenshot of LMS web UI showing display problem Copy an album named + to the library location (discovered because Ed Sheeran has an album named that). In my use case, the album is in the \FLAC-3\Test Artist\Test Artist-+\ directory structure. The album tag only has a + in it. Rescan for new and changed so the album appears in the library. Clear the Now playing list. In New Music, click the + icon to add the album to the Now playing list. Click the icon to save the Now playing list. The result is the image attached to this report. Return to the Home screen and select Playlists under My Music. A playlist named "Untitled" has been created. Clicking on it will generate the same type of blank pane. The only way to delete the playlist is to remove it from the playlists directory and do another scan.
Able to verify bug, and restore normal operation, by renaming album folder from '+' to 'Plus', and re-tagging MP3s similarly. Then manually delete affected playlists from the playlist directory and re-scan library. Worth fixing for more than jut one artist's album name as this may indicate poor programming and exposure to other special character flaws.
Could you please post a server.log excerpt from when this happens? Thanks!
Created attachment 7736 [details] Server Log extract as requested. Weirdness commences at about [14-08-18 23:21:58.6817]. I added music to my collection, which included deleting a duplicate of Imagine Dragons' Night Vision album and Ed Sheeran's '+' album. Initiated a scan to find new music. Subsequently I attempted to add both new albums to a new playlist and experienced same as original poster's screenshot. Messed about for a while before re-importing an updated version of the '+' album with folder name and tag updated to show 'Plus' rather than '+'. That resolved the issue. I experienced issue with 7.7.3. I updated to 7.8.1 earlier this evening after discovering your excellent new work. I have not re-tested issue but sense from issue being seen in 7.9 that it will be also in 7.8.1. Thank you.
Commit c0da41ba0d6fe0e0007f99da42f0ac524b3e31fe - don't use a regex on the title to check whether we need to include the album title or not. The '+' does break the underlying regex (other titles like '?' might as well). Check only once, based on the titleformat preference.