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

m3u playlists exported from Apple Music cannot be read #4948

Open
brackeen opened this issue May 25, 2024 · 1 comment
Open

m3u playlists exported from Apple Music cannot be read #4948

brackeen opened this issue May 25, 2024 · 1 comment

Comments

@brackeen
Copy link

Apple Music exports playlists in m3u and m3u8 format with old mac newlines (\r) rather than windows (\r\n) or unix (\n) newlines. When opening these files, IINA shows an error dialog that reads "Cannot open file or stream!"

The logs show "[mpv][w] [cplayer] warn: Empty playlist!"

Workaround: use mac2unix to convert the file to use unix newlines.

System and IINA version:

  • macOS 14.4.1
  • IINA 1.3.4
  • Apple Music 1.4.4.48

Expected behavior:
IINA reads m3u files exported from Apple Music without any conversion step.

Actual behavior:
m3u files must be converted before IINA can read them.

Steps to reproduce:

  1. Export a playlist from Apple Music to m3u or m3u8 format. Or, convert an existing working m3u playlist using the unix2mac utility.
  2. Open the playlist in IINA
@uiryuu
Copy link
Member

uiryuu commented May 26, 2024

Since parsing playlist is done by mpv, I think this should be resolved upstream. Please file an issue in mpv. If they don't want to do, maybe we can discuss what we can do later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants