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

Add File "Not supported" #40

Closed
starinspace opened this issue Apr 27, 2021 · 3 comments
Closed

Add File "Not supported" #40

starinspace opened this issue Apr 27, 2021 · 3 comments
Assignees
Labels
bug 🐛 Something isn't working
Milestone

Comments

@starinspace
Copy link

starinspace commented Apr 27, 2021

When I add "ADD VIA URL" it does work however, when I choose "ADD VIA FILE UPLOAD" with the same file but offline I get "File Was rejected, unsupported file format (test.m3u)". However, If I change the extension to *.m3u8 It does work. I hope you could fix this problem so the m3u-file can be used. :)

@4gray 4gray added the bug 🐛 Something isn't working label Apr 27, 2021
@4gray 4gray added this to the 0.7.0 milestone Apr 27, 2021
@4gray 4gray self-assigned this May 2, 2021
@4gray
Copy link
Owner

4gray commented May 2, 2021

Thank you for the bug report ;-)

I tried adding a playlist on Linux and on the MacOs, it worked in both cases. What operating system are you using?
It would be interesting to know the mime type of your playlist. Currently, the following types are supported:

'application/x-mpegurl',
'application/octet-stream',
'application/mpegurl',
'application/vnd.apple.mpegurl',
'application/vnd.apple.mpegurl.audio',
'audio/x-mpegurl',
'audio/mpegurl'

@starinspace
Copy link
Author

Oh, i forgott. I use Windows 10 64-bit. I have not checked if it might be utf-8 or similar if that might be a problem, but when adding a 8 in m3u it does load (m3u8).

I can send you a snippet of that file tomorrow.

@starinspace
Copy link
Author

starinspace commented May 4, 2021

This does not work to open, however if I add a 8 to the extention m3u8 it does work.

saved as UTF-8 and file named test.m3u

#EXTM3U

#EXTINF:-1 tvg-id="" tvg-name="Expressen TV" tvg-logo="https://i.imgur.com/Kt88QxS.png" group-title="SWEDEN",Expressen TV
https://httpcache0-03837-cachelive2.dna.qbrick.com/03837-cachelive2/smil:03837_tx2_720p/chunklist_b3628000.m3u8

@4gray 4gray closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants