[Media Storage] Media storage use size confusion

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
6 years ago
6 months ago

People

(Reporter: leo.bugzilla.gecko, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
copy to 2.8GB 3gp file into 4GB SDCARD

check Settings - Media storage 
Music and Movies value is same 2.8GB
Space left value is 800MB

Music, Movie total use data size is over 4GB. 

I think 3gp file is processing video and music.
But 3gp file is almost video type. This confusing issue.

mp4 file also same problem occurs
(Reporter)

Comment 1

6 years ago
DeviceStorage seems to distinguish between audio files and video files, by the file's extension. Following the rules at toolkit\content\devicestorage.properties:

pictures=*.jpe; *.jpg; *.jpeg; *.gif; *.png; *.bmp;
music=*.mp3; *.ogg; *.m4a; *.m4b; *.m4p; *.m4v; *.m4r; *.3gp; *.aac; *.m3u; *.pls;
videos=*.mp4; *.mpeg; *.mpg; *.ogv; *.ogx; *.webm; *.3gp; *.ogg;

So 3gp, mp4 and ogg files can be either video or audio.
Android seems to distinguish 3gp audio files from 3gp video files.

What if the DeviceStorage checked also the mime type in case of the these extension files?

Updated

3 years ago
Component: Gaia::Settings → Gaia::System::Storage Mgmt

Comment 2

6 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 6 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.