isamert / empv.el

An Emacs media player, media library manager, radio player, YouTube frontend
GNU General Public License v3.0
107 stars 19 forks source link

empv-play-thing-at-point fails when file name contains spaces #84

Closed pvagner closed 3 months ago

pvagner commented 3 months ago

Hello, I am a novice user so excuse me please if this might be me missing something. I have installed empv from melpa. I can't get empv-play-thing-at-point to play files that have spaces in their file names.

Steps

Results

The file where there are no spaces in its file names is playing fine but the other one with spaces is not playing.

Thanks for looking into it.

isamert commented 3 months ago

Thanks for opening an issue! I religiously use kebab-case in my filenames so did not notice this. Should be fixed for dired now. This also should mostly work on org-mode, eww etc. but it may fail on files with no proper way to detect filenames.

Tip: You can also select multiple files in dired and it still should work.