Closed Bug 796307 Opened 12 years ago Closed 12 years ago

Trying to load videos from the sdcard with the sdcard already plugged after initially flashing the device - videos are not found

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(blocking-basecamp:+)

RESOLVED WORKSFORME
blocking-basecamp +

People

(Reporter: ghtobz, Unassigned)

Details

(Whiteboard: [label:music])

[GitHub issue by jds2501 on 2012-09-18T21:48:02Z, https://github.com/mozilla-b2g/gaia/issues/4885]
## Build

* Device: Otoro
* Gaia: d586b2fb646edd32ec4e0b782de1419dd746b30f
* Mozilla Central: b28fae5bcc221d390a8940783023c9bb601a8d06

## Steps

1. Plug a sdcard with videos in a valid location on the sdcard in the Otoro phone
2. Flash the device with the 9/18 daily build
3. Open the video app

## Expected

Scanning the sdcard should start. Then, eventually the video files should be found.

## Actual

Scanning the sdcard starts, but no videos are found. Possible this is a dup of something, but I can't find the bug on this.

cc @daleharvey
[GitHub comment by cgjones on 2012-09-19T01:19:06Z]
Do you have mp4 files on your sdcard?
[GitHub comment by jds2501 on 2012-09-19T03:12:41Z]
@cgjones Nope. I've got two WebM videos and one Ogv video.
[GitHub comment by daleharvey on 2012-09-24T16:15:15Z]
I cannot reproduce this, builds by default include one webm and one ogv file, both are correctly located on starting the Video app. If this bug requires doing something different than loading the default video app with samples to reproduce I will need more details
[GitHub comment by jds2501 on 2012-09-24T21:59:44Z]
Reopening. Here's a set of reproduction steps with the music app below. This appears to be a generic problem against device storage.

1. Populate 0 videos in your video directory on your sdcard, 1 mp3 file in your music directory on your sdcard
2. Place the sdcard in the device
3. Flash the device with the latest bits
4. Launch the music app

Result - The mp3 file is not found.

Work-around - If I take the sdcard out and put it back in, then the mp3 file is found.
[GitHub comment by autonome on 2012-09-26T16:29:55Z]
Is the sdcard mounted on the computer?
[GitHub comment by jds2501 on 2012-09-26T17:03:41Z]
@autonome What do you mean? Is my phone plugging into USB port with the sdcard already plugged in?
[GitHub comment by autonome on 2012-09-27T19:01:55Z]
The steps involve a flash, which requires the phone to be plugged in via usb. if you're not flashing user data, and have usb storage enabled, then the sdcard would be mounted as a drive, which would explain video app not being able to access videos.

but i guess the workaround debunks that theory, so never mind.
Just tried by putting a ogm and a webm file into a folder on the sdcard and ./flash.sh the device. WFM, please re-open if this still happen. (works for music too).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.