fatg3erman / RompR

Web client for Mopidy and MPD
https://fatg3erman.github.io/RompR/
Other
191 stars 22 forks source link

read-in m3u playlist skips tracks with spaces in filename #136

Closed g13092 closed 1 year ago

g13092 commented 1 year ago

I've been trying to figure a nice method to move some playlists into my setup. I generated a playlist with Clementine, then updated the path to match "local:track:" instead of relative "../" or absolute path "/server/blah/.." After updating the collection via Rompr, expanding the list of tracks in the playlist, I noticed that the only tracks listed are ones that happen to have no spaces in the file names. All the ones listed have no spaces, either using %20 or _ or -.

Funny thing, I can find the tracks in the library and play them directly. So then I add them to my playlist and resave. Looking the playlist text, I see the former spaces have %20 in the spaces.

Maybe this is all expected behavior?

BTW, rompr is pretty fn cool for interfacing with mopidy and snapserver.

fatg3erman commented 1 year ago

Sorry for taking so long to reply to this. Mopidy urlencodes everything. Spaces have to be encoded to %20 or they won't work. This isn't a RompR thing, it's how Mopidy handles URIs.