kabouzeid / Phonograph

A material designed music player for Android
GNU General Public License v3.0
2.73k stars 728 forks source link

Relative Path Playlists #905

Open trymeouteh opened 3 years ago

trymeouteh commented 3 years ago

When you save a playlist into a m3u file the playlist songs paths are something like this...

/storage/0000-0000/Music/Black Sabbath/13/03 Loner.flac

It would be better if it looked like this in the m3u file

/Black Sabbath/13/03 Loner.flac

This way when you sync your playlists to other devices such as your computer the playlist will work in other music players. This will also make synced playlists between different Android devices using Vinyl work where device A music files are in internal storage and device B music files are on the external storage.

Sogolumbo commented 3 years ago

I ran into the same problem when trying to sync playlists between desktop and android systems. I went and made a program which allows you to "convert" the .m3u files by changing the base directories (e.g. /storage/0000-0000/Music/ to C:\users\trymeouteh\music). You can even have multiple base directories in parallel. Btw I'm using a more complex system to sync the playlists between the computer and phone, there's a description of that in the readme.