You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of music software support m3u containing backslashes or forward-slashes. I managed to convert my existing playlists using bash and sed.
My problem is that I uses beets.io to maintain "automatic libraries" that are created and updated based on queries (for example "all the songs from the 2000"). These are called automatic playlists because they are automatically updated when I modify my library ("beets import new_folder_music_mp3") so I don't have to think about yet another manual step.
Unfortunately, I am using Windows, and beets uses backslashes on windows, and MPD can only recognize forwards.
I tried to skim the source code, and if I got things correctly, the problem is here
some path comparison is done using string comparison which does not work is forward and backlsashes are mixed. Would adding here a "sanitizing" pass (let's say, "if the path contains 0 forward, and 1+ backslash, convert all the backslashes into forward") be an option ? Can you help me figure out if my way of solving the problem (fixing mpd) is correct, and if this part of the source code may be the good approach ?
Long live MPD, the best music player so far !
Example of playlist that works fixed by bash+sed:
#EXTINF:346,Le Knight Club - Coco Girlz
Le Knight Club/Ilictronix/01 Coco Girlz.mp3
#EXTINF:325,Alec Carlsson - OMG
Compilations/Shiny Disco Club Presents_ Millenium Disco (vol.1)/18 OMG.mp3
#EXTINF:190,Calypso
Compilations/Shiny Disco Club Presents_ Millenium Disco (vol.1)/12 Calypso.mp3
#EXTINF:225,Kartell - Ending Season
Compilations/Shiny Disco Club Presents_ Millenium Disco (vol.1)/19 Ending Season.mp3
Example of playlist that does not work, generated by beets.io:
Compilations\Sakifo Musik Festival 2006\05 Avec Le Vent.mp3
Compilations\Disco Hits\00 Ring My Bell (badq).mp3
Anita Ward\Maximum Disco 12''\00 Ring My Bell (Original Disco Version).mp3
BlastRec\Volume Zero\09 Astrid Eve.mp3
Django Unchained\Original Motion Picture Soundtrack\23 Trinity (Titoli).mp3
The text was updated successfully, but these errors were encountered:
Feature request
Most of music software support m3u containing backslashes or forward-slashes. I managed to convert my existing playlists using bash and sed.
My problem is that I uses beets.io to maintain "automatic libraries" that are created and updated based on queries (for example "all the songs from the 2000"). These are called automatic playlists because they are automatically updated when I modify my library ("beets import new_folder_music_mp3") so I don't have to think about yet another manual step.
Unfortunately, I am using Windows, and beets uses backslashes on windows, and MPD can only recognize forwards.
I tried to skim the source code, and if I got things correctly, the problem is here
MPD/src/fs/Traits.cxx
Lines 87 to 119 in e87f0ca
Long live MPD, the best music player so far !
Example of playlist that works fixed by bash+sed:
Example of playlist that does not work, generated by beets.io:
The text was updated successfully, but these errors were encountered: