Closed Bug 927659 Opened 12 years ago Closed 7 years ago

[music][playback] Player should close files when paused

Categories

(Firefox OS Graveyard :: Gaia::Music, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dhylands, Unassigned)

References

Details

(Whiteboard: [fxos:media][wontfix?])

When the music player pauses, it should close the file being played, and reopen when the user clicks resume. Currently, it keeps the file open, which has a side effect of causing the
Bah. Continuing description. Currently, it keeps the file open, which has a side effect of causing USB Mass Storage to detect the open file, which, in turn, prevents the sdcard from being shared with the PC.
blocking-b2g: --- → koi?
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
I'd suggest that we probably only need to release the file when the we are both paused and not visible. So if we're paused and get a mozvisiblilitychange event, release. Or if we're hidden and we pause. The video app does this so that it doesn't hold on to the hardware video decoder. See bug 912609 and bug 922055 for an explanation of why this seems necessary. I'm guessing that paused music will be a frustrating source of open files that the user can't figure out how to close.
We are adding a message to let the user know that there are open files (Bug 927961). So, not blocking on this one for 1.2 (we can look into it for next release)
blocking-b2g: koi? → ---
Do we still need this given that we're moving to MTP? I think leaving the file open while paused is technically correct from the perspective of physical media players, where "paused" and "stopped" are different. I don't feel super-strongly about this, though.
Summary: [Music] Player should close files when paused → [music][playback] Player should close files when paused
Whiteboard: [fxos:media] → [fxos:media][wontfix?]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.