Closed
Bug 1073801
Opened 11 years ago
Closed 7 years ago
Music storage not working on real device (Alcatel OneTouch Fire E, Firefox OS Flame, ZTE Open C)
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: nazar, Unassigned)
Details
Music storage not working on Firefox OS device.
I'm developer of CleverStyle Music application:
https://github.com/nazar-pc/CleverStyle-Music
https://marketplace.firefox.com/app/cleverstyle-music/
Application works fine in Firefox OS Simulator and on some devices (even on Android with latest Nightly), but not working on others.
Yesterday I've got new Alcatel OneTouch Fire E device with Firefox OS 1.3, and app is not working there.
I've tried to debug it in such way:
music_storage = navigator.getDeviceStorage('music');
cursor = music_storage.enumerate();
cursor.onsuccess = function() {
var file;
if (cursor.result) {
console.log(cursor.result);
}
};
cursor.onerror = function() {
console.error(this.error.name);
};
But nothing, I mean no errors, no warnings, nothing in console output.
I'm wondering why is it so, because looks like Gaia's Music app have the same privileges, and it works fine.
I've tried to put music into root directory, into "Music" subdirectory, change default media location in settings back and forth - no luck.
I've got few negative reviews because of this and bug report on GitHub from another phone model, in addition to my device at least Firefox OS Flame and ZTE Open C affected.
Reporter | ||
Comment 1•11 years ago
|
||
After few reboots application finally found music from Music directory (not from the root though).
Since Music storage is abscract - it should take music from anywhere, and work immediately.
Updated•11 years ago
|
Component: General → DOM: Device Interfaces
Product: Firefox OS → Core
Comment 2•11 years ago
|
||
Moved to the Core > DOM: Device Interfaces component because this is about device storage IIUC.
Comment 3•7 years ago
|
||
FxOS/Gonk has been removed from the codebase. Mass-invalidating FxOS related Device Interface bugs to clean up the component.
If I incorrectly invalidated something, please let me know.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Comment 4•7 years ago
|
||
Bulk correction of resolution of B2G bugs to INCOMPLETE.
Resolution: INVALID → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•