Streaming from M3U on Android [closed]

五迷三道 提交于 2019-12-03 12:36:43

问题


I am working with Android OS to try to stream from an M3U. I don't see why this is a big deal on Android, but for some reason it is. The M3U structure is simple, it's essentially a list of URLs to external MP3 files. However, when you click the M3U in the browser, it tries to launch and then tells me that it's an unsupported file type.

MP3 is documented as being a supported streaming protocol: http://developer.android.com/guide/appendix/media-formats.html

This works flawlessly on the iPhone. I'd really like to believe that "Droid does" (as they advertise) and I don't want to hate on it too hard, but why isn't a simple M3U even supported?

Is there an external app that supports these that has to be installed first?

Thanks to anyone who can shed a little light on this subject. All I have to test with is the emulators currently, but my friends with devices can confirm that this is not working.


回答1:


That is known issue. Currently (that's 3.0.1), Android doesn't support m3u with HTTP links.

Please go to Android issue list and vote for issue, so it can be fixed.

http://code.google.com/p/android/issues/detail?id=7028

And yes, free "Just Playlists" app from Market hepls to tackle the issue.




回答2:


While MP3 is supported the playlist file M3U is not. You may be able to find a 3rd party player that supports this but the base OS / software doesn't.




回答3:


  1. Download 'Just Playlists' from the Market (free version is fine)
  2. On your PC, in Winamp, add the streaming M3U URL to a new playlist. Save this playlist itself as an M3U file on the PC.
  3. Transfer the new M3U file to the phone's SD card inside the /justplaylists/playlists/ folder
  4. Start Just Playlists, press the left hand 'playlist' button in the app, and select the transferred M3U file.



回答4:


Just Playlists works for me too. This is how I got it to open an M3U link from a website without downloading it first:
- Install Just Playlists.
- Open it and adjust the preferences.
- Open a browser and click on an M3U link in a website.
- You will be presented with a choice of apps to open the link in. Conspicuously Just Playlists is missing. I chose Chrome.
- You will be again presented with a choice of apps. This time Just Playlists is listed. Tap it.
- Just Playlists will open and start playing the playlist. To see the entire playlist and choose a different title, tap Settings, More, Now playing.




回答5:


VLC worked nicely for me. After I installed it on my phone and then clicked on an m3u link in chrome, VLC was presented as one of the potential players for the m3u, and it worked just fine.



来源:https://stackoverflow.com/questions/3648758/streaming-from-m3u-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!