Closed Bug 867448 Opened 12 years ago Closed 12 years ago

[Music] Need to be able to save from the "open" activity window

Categories

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

x86
macOS
defect

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix

People

(Reporter: gnarf, Assigned: dkuo)

References

()

Details

(Keywords: feature)

Attachments

(1 file, 1 obsolete file)

To copy some text from bug 840056: The audio file is opened by the media player, while the sound is played in the music player, the user has the option to "save" that content, if the user selects that option, a banner indicating the success/failure of the operation is shown when completed.
Blocks: 840056
Blocks: 840065
The fix for this bug will probably resemble the fix for bug 867231. If you take this bug, please see the work I've done in that one. In particular, my pull request in that bug includes useful utilities in shared/js/device_storage_utils.js You'll almost certainly want to use those for this bug as well.
Depends on: 868625
This bug is blocked on a gecko crash in bug 868625. When that is fixed, I can probably take this one. But I haven't taken it yet in case someone else wants it.
does this cover audio and video, or just audio?
I think I should be the someone else so I am taking it.
Assignee: nobody → dkuo
Summary: Need to be able to save from the "open" activity window → [Music] Need to be able to save from the "open" activity window
The one for video is filed in Bug 869292, this one will cover audio only.
Blocks a blocker.
blocking-b2g: --- → leo+
Priority: -- → P1
Keywords: feature
David, This is the patch that implements the save funtion in open activity, I followed how gallery/video did and modified some parts base on the currect open acticity of music app. The major one is the workaround of bug 848723 casue it seems fixed to me so I removed it as well. And I also modified the metadata.js so our audio parser will be able to parse both file and blob without errors, that's becasue I heard that browser app might support save media files from web page and probably use open/view activity to achieve this.
Attachment #747484 - Flags: review?(dflanagan)
Comment on attachment 747484 [details] add a save option to music app open activity Dominic, This is a good patch, but I'm giving r- because one of the uitests doesn't work right (it won't save without a .ogg extension on the filename). There is also an unsed title variable that can be removed. Because the MMS team wants this quickly, I'll modify your patch to make those two minor changes and land that.
Attachment #747484 - Flags: review?(dflanagan) → review-
Attaching a link to a new PR that fixes the merge commits and a couple of trivial bugs in Dominic's patch so that it is ready to land and giving an r+
Attachment #747484 - Attachment is obsolete: true
Attachment #747613 - Flags: review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Flags: in-moztrap?
Flags: in-moztrap? → in-moztrap+
QA Contact: amiller
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: