kimtore / pms

Practical Music Search is an interactive Vim-like console client for the Music Player Daemon.
https://ambientsound.github.io/pms/
MIT License
249 stars 23 forks source link

can't find files with '%' in name #137

Open shmibs opened 8 months ago

shmibs commented 8 months ago

trying out go version for the first time and immediately hit this issue. my library has files at Chara/Strange Fruits/04 70% - 夕暮れのうた.ogg and 青葉市子/0/02 iam POD (0%).ogg which pms can't read. try add responds unexpected response: ACK [50@0] {add} No such directory, and press i shows like file: '青葉市子/0/02 iam POD (0%!)(MISSING).ogg'

kimtore commented 8 months ago

Not sure if this is an error with pms or the mpd library it uses. I've bumped the library version, so you can try the latest build (on commit c7c1a538501e75c3583b04e12a3e4558defb87c2) and see if your problem is fixed? Also I've fixed the print function, so when you press i the correct path should be shown. This bug is unrelated to the actual MPD error.

shmibs commented 8 months ago

mmm, latest is still the same, "No such directory"