Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Normal .m3u playlist import does not work #544

Open
1 task done
CodingSamS opened this issue May 15, 2024 · 3 comments
Open
1 task done

[Bug] Normal .m3u playlist import does not work #544

CodingSamS opened this issue May 15, 2024 · 3 comments
Labels
priority: high High priority state: triage Under triage type: bug Something isn't working

Comments

@CodingSamS
Copy link

Description

Importing a normal .m3u playlist results in an empty playlist. However, importing an extended .m3u playlist does work.

Non-working .m3u playlist:

/storage/emulated/0/Music/Music Library/Secret Service/Oh Susie/01 Ten O'Clock Postman.m4a

Working .m3u playlist:

#EXTM3U


#EXTINF:0,01 Ten O'Clock Postman.m4a
/storage/emulated/0/Music/Music Library/Secret Service/Oh Susie/01 Ten O'Clock Postman.m4a

Steps to Reproduce

  1. Go to Playlists Tab
  2. Click on "Import Playlist"
  3. Import the .m3u file
  4. After Import look into playlist
  5. Result: The playlist is empty

Expected Behavior

The playlist should contain the tracks mentioned in the .m3u file.

Device

  • Device: Google Pixel 6a
  • OS: Graphene OS with Android 14

Checklist

@CodingSamS CodingSamS added the type: bug Something isn't working label May 15, 2024
@zyrouge zyrouge added priority: high High priority state: triage Under triage labels May 16, 2024
@zyrouge
Copy link
Owner

zyrouge commented May 16, 2024

I've never seen the non-extended format being used. That said, this is easy to implement but parsing extended format is more secure since it is structured. Is there any specification about the non-extended one?

@CodingSamS
Copy link
Author

According to Wikipedia there is no specification - it's a de facto standard.

https://en.m.wikipedia.org/wiki/M3U

But it is simple - only absolute paths, relative paths and URLs.

@CodingSamS
Copy link
Author

I found a pretty good summary of the format here:

https://gonze.com/playlists/playlist-format-survey.html#M3U

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high High priority state: triage Under triage type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants