Closed
Bug 1208331
Opened 9 years ago
Closed 9 years ago
[music] Fix checkPlayability (again)
Categories
(Firefox OS Graveyard :: Gaia::Music, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: squib, Assigned: squib)
Details
Attachments
(1 file)
As in bug 1198169, valid audio files can (and usually do!) trigger the onsuspend event, so we can't use that as a fallback to detect broken audio files. Let's use a timeout like video, and then we'll land my "hide dotfiles" patch to help performance.
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8665762 -
Flags: review?(dflanagan)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → squibblyflabbetydoo
Status: NEW → ASSIGNED
Assignee | ||
Updated•9 years ago
|
Attachment #8665762 -
Flags: review?(dflanagan) → review?(hub)
Comment 2•9 years ago
|
||
While it is fine on OGA, I can't get it to work with NGA. Last log lines are:
W/Music NGA( 7374): Content JS WARN: MediaDB: error parsing metadata for /sdcard1/sdcard/DCIM/100MZLLA/VID_0087.3gp : Error: Found video track in MP4 container
W/Music NGA( 7374): at metadataError (app://music-nga.gaiamobile.org/shared/js/mediadb.js:1916:1)
And it is stalled.
Assignee | ||
Comment 3•9 years ago
|
||
Are you sure that it works without my patch? I didn't touch any of the MP4-specific code.
Comment 4•9 years ago
|
||
Yes it does work without your patch. Just checked again.
Comment 5•9 years ago
|
||
OK, it actually does work on music-nga. The current caveat is that we don't rebuild metadata_scripts.js. Justin is working on fixing this for bug 1208154, so it will be good. BTW at that point we'll only need one fix.
Comment 6•9 years ago
|
||
Comment on attachment 8665762 [details] [review]
[gaia] jimporter:music-check-playability-fix > mozilla-b2g:master
Ship it !
See my comment though.
Attachment #8665762 -
Flags: review?(hub) → review+
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Hubert Figuiere [:hub] from comment #5)
> BTW at that point we'll only need one fix.
I think we'd need both anyway, since our goal should be to fix bugs in both NGA and OGA until we actually retire OGA for real. I don't want us to get near the end of 2.5, realize that NGA has some showstopping issue, and have nothing to fall back on.
Assignee | ||
Comment 8•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•