teeoius <teeo...@proton.me> writes:

> When an audio file's artist or album info contains '/', 
> emms-tag-editor-rename-track will have wrong behaviors. I wrote this patch to 
> fix it.
>
> Let's suppose an audio "test.mp3" which artist is "Alice/Bob", when I
> call emms-tag-editor-rename-track to rename it to {artist - track},
> emms will regard "Alice/Bob - test.mp3" as a directory called "Alice"
> and its file "Bob - test.mp3", instead of rename the file
> correctly. If we replace '/' with '_', then the rename function will
> work.

It would be much easier to simply replace the forward slash in the
artist/album name with the Unicode visual equivalent of a forward slash
such as DIVISION SLASH U+2215 or FRACTION SLASH U+2044. This way we
preserve this feature for people who actually want Emms to help them
create a directory structure for their music collection.

-- 
   "Cut your own wood and it will warm you twice"

Reply via email to