Closed Bug 788339 Opened 12 years ago Closed 12 years ago

DeviceStorageFile::IsType misclassifies audio files on otoro

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:+)

RESOLVED FIXED
blocking-basecamp +

People

(Reporter: dhylands, Unassigned)

Details

(Whiteboard: [WebAPI:P0])

I tried to run the Music player app on my otoro and even though I have songs in my Music folder, the Music player showed no songs. Looking in logcat, I saw:

IsType of /sdcard/Music/treasure_island_01-02_stevenson.ogg is video/ogg (took: 0ms)
IsType of /sdcard/Music/b2g.ogg is video/ogg (took: 0ms)
IsType of /sdcard/Music/Salt_Creek.ogg is video/ogg (took: 0ms)
IsType of /sdcard/Music/jonobacon-freesoftwaresong2.ogg is video/ogg (took: 0ms)
GetTypeFromFile failed for /sdcard/Music/01_-_Love Who You LoveRascal Flatts.mp3 (took: 0ms)

Using the linux file command showed:

01_-_Love Who You LoveRascal Flatts.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo
b2g.ogg:                                 Ogg data, Vorbis audio, stereo, 44100 Hz, ~192000 bps, created by: Xiph.Org libVorbis I
jonobacon-freesoftwaresong2.ogg:         Ogg data, Vorbis audio, stereo, 44100 Hz, ~160000 bps, created by: Xiph.Org libVorbis I
Salt_Creek.ogg:                          Ogg data, Vorbis audio, stereo, 44100 Hz, ~112000 bps, created by: Xiph.Org libVorbis I
treasure_island_01-02_stevenson.ogg:     Ogg data, Vorbis audio, mono, 44100 Hz, ~80000 bps, created by: Xiph.Org libVorbis I (1.1.0 RC1)
probably fixed by 786922	.
I saw this, too, and think it should block.  Bug 786922 is already a Basecamp blocker.
blocking-basecamp: ? → +
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Resolution: DUPLICATE → FIXED
Whiteboard: [WebAPI:P0]
You need to log in before you can comment on or make changes to this bug.