MaxFour / Music-Player

Lightweight and Material designed Music Player
GNU General Public License v3.0
281 stars 71 forks source link

[CRASH] M3u playlists #13

Open ildar opened 6 years ago

ildar commented 6 years ago

Opening any m3u playlist crashes the app

MaxFour commented 6 years ago

Hello! Hmmm, strange error, but I will try to fix it!

Thanks!

sjlongland commented 4 years ago

I have it working here… Maybe check that the paths in the M3U file are correct?

I wrote a Python script to generate my M3U files after consulting Wikipedia for a reference on how they work, so they have the following characteristics:

Example snippet:

#EXTM3U
#PLAYLIST:Pink Floyd - A Momentary Lapse Of Reason
#EXTINF:1,[s1/o01/t001] Pink Floyd - Signs Of Life
../Pink Floyd/A Momentary Lapse Of Reason/001 Pink Floyd - Signs Of Life.ogg
#EXTINF:2,[s1/o02/t002] Pink Floyd - Learning To Fly
../Pink Floyd/A Momentary Lapse Of Reason/002 Pink Floyd - Learning To Fly.ogg
#EXTINF:3,[s1/o03/t003] Pink Floyd - The Dogs Of War
../Pink Floyd/A Momentary Lapse Of Reason/003 Pink Floyd - The Dogs Of War.ogg
… etc

These work just fine. admittedly the display text doesn't seem to show up, but the basic M3U playlist seems to work as expected. So maybe this bug is already solved? Otherwise, maybe attach a copy of the offending playlist so we can have a look and see what's tripping it up?