Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-906] createAudioPlayer() can't find audio data with .M3U and .PLS files

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2012-07-25T14:58:14.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, audio, createaudioplayer, feature, ios, m3u, pls
ReporterDoney
AssigneeNeeraj Gupta
Created2011-04-15T02:38:57.000+0000
Updated2012-07-28T16:23:21.000+0000

Description

When trying to play (stream) .m3u and .pls files in the background, you get the following error:

== AUDIO ERROR == No audio data found.

Can someone add support for these file types?

Comments

  1. kosso 2011-04-15

    It might be best for you to actually download the file and parse out the mp3 urls yourself. They're usually a simple text format. Then you could build your own playlist array inside your app.

  2. Doney 2011-04-15

    It actually is for a radio streaming app which needs to access these file types.

  3. Eric 2011-04-15

    I'm getting the same issue with the video player. The m3u8 file contains different streams for different bandwidths.

    I've created a test app in Objective C using MPMoviePlayerController (what Titanium uses) and it plays the file just fine. It must be something with how Titanium is setting up the player.

  4. Stephen Tramer 2011-04-15

    These are playlist files, not audio files. AudioStreamer is for streaming audio only but will discuss this in planning triage. Likely to be marked invalid.

  5. Ping Wang 2012-07-25

    Mark as invalid based on the last comment.

JSON Source