Problem: Using the latest recommended emfield and the current 2.x dev branch of media_archive some audio files refuse to play back with an error message that include the text "200, Stream not found..._vbr.m3u is not streamable"

Reason: audio code assumes there will be a vbr.m3u file along with the derived archive.org files for audio. This is an invalid assumption. The code is using to determine the "best" mp3 to embed.

This bug is further compounded by the fact that when the file is not found archive.org returns http status 200 as if it was found and returned successfully.

Proposed solution: Modify the code to a more tedious check for .mp3 files as follows:
- try to get a *_vbr.mp3 file first
- try next to get a *_128kb.mp3 file next
- try next to get a *_64kb.mp3 file next
- get any available .mp3 file in the list
- fail if no .mp3

I'll fix as soon as I have a chance.

Comments

winston’s picture

Assigned: winston » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 38162a5 on 6.x-2.x, 7.x-2.x by winston:
    #956694 by slerby: Fixing in 2.x version #983884 by winston: Improve...