Closed Bug 960333 Opened 12 years ago Closed 11 years ago

[User story] Create a ringtone from an audio file downloaded from the browser

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.0)

RESOLVED FIXED
2.0 S3 (6june)
feature-b2g 2.0

People

(Reporter: skasetti, Assigned: squib)

References

Details

(Whiteboard: [ucid:media121, 1.4:p2, ft:media],[dependency:Marketplace] )

User Story

As a user, I want to be able to create a new ringtone from any audio file downloaded from the browser

Acceptance Criteria:
1. Tap on an audio file you found on the web.
Selecting save or download will take you to the download manager
2. In the download manager you should be able to tap on the audio file and an option to set it as ringtone should show up
3. Selecting set as ringtone should make the audio file your ringtone
4. Check that the audio file is included in the list of ringtones
No description provided.
User Story: (updated)
Blocks: 963897
Flags: in-moztrap?(mozillamarcia.knous)
User Story: (updated)
Summary: [User story] Create a ringtone from a downloaded audio file → [User story] Create a ringtone from an audio file downloaded from the browser
Whiteboard: [ucid:media121, 1.4:p2, ft:media] → [ucid:media121, 1.4:p2, ft:media][dependency:marketplace]
Whiteboard: [ucid:media121, 1.4:p2, ft:media][dependency:marketplace] → [ucid:media121, 1.4:p2, ft:media],[dependency:Marketplace]
My understanding is that this is already done, but I don't know how to make things show up in the download manager to test this. David: I recall you reviewed the patch that I'm thinking of; do you know anything about this?
Flags: needinfo?(dflanagan)
Jim, I thought the download manager was a separate app, and I remember reviewing, or at least discussing, code that allowed it to trigger a share activity. Now, however, it appears that the download manager is in the system and settings apps. Maybe our share requirement has been dropped in the change? Most of the download manager checkins are from TEF developers apparently. Sorry I don't know any more about this
Flags: needinfo?(dflanagan)
Gregor: Hema tells me you might know about this. Has this already been completed by the Download Manager folks, and if not, how do I get something to show up in the download manager? The last time I tried, I couldn't figure out how to do that.
Flags: needinfo?(anygregor)
Tef did a lot of the front-end work. You might want to ping francisco or borja. Aus knows the back-end implementation.
Flags: needinfo?(anygregor)
feature-b2g: --- → 2.0
(In reply to Gregor Wagner [:gwagner] from comment #4) > Tef did a lot of the front-end work. You might want to ping francisco or > borja. > Aus knows the back-end implementation. NI Francisco...see jim's comment1/3 on how to test this case out - help is appreciated!
Flags: needinfo?(francisco)
Hi, (In reply to David Flanagan [:djf] from comment #2) > Jim, > > I thought the download manager was a separate app, and I remember reviewing, > or at least discussing, code that allowed it to trigger a share activity. > Now, however, it appears that the download manager is in the system and > settings apps. Maybe our share requirement has been dropped in the change? > Most of the download manager checkins are from TEF developers apparently. > > Sorry I don't know any more about this David you are totally right, there is a share activity, despite that download manager lives between the system app (for notifications) and settings (for managing). We decided to implement the sharing via web activities to make it as compatible with other apps as possible. Right now we do have a share activity to setup the rign tone, I was just trying it and saw the following: E/GeckoConsole( 861): [JavaScript Error: "TypeError: storage is null" {file: "app://settings.gaiamobile.org/shared/js/download/download_helper.js" line: 117}] Will open a bug to block this user story. Thanks everyone.
Flags: needinfo?(francisco)
No longer depends on: 1016463
Hi, now that I've tried on a newer build, and now that I can interact with downloads, I just downloaded a mp3, went to the downloads list on settings and click on it, then shared and there it is on the ringtones list. Do we need a QA round to verify this functionality is already there? Cheers, F.
Could we re-test with the latest build and get this story verified?
Keywords: qawanted
I've tested on the latest Open_C build and can verify Francisco's findings; Selecting the MP3 in the downloads menu brings up a Set as Ringtone option AND a share option where "Set Ringtone" is one of the "share with:" options as well. Environmental Variables: Device: Open_C 2.0 BuildID: 20140528043007 Gaia: bc6f07c149770c6e6dfbea941ac65138dc364a15 Gecko: e017c15325ae Version: 32.0a1 Firmware Version: P821A10V1.0.0B06_LOG_DL
Keywords: qawanted
Ok, this works. It turns out the issue is that I had to force the song to have a Content-Disposition of attachment, since there seems to be no way to download a song from the in-browser music player UI.
Assignee: nobody → squibblyflabbetydoo
Target Milestone: --- → 2.0 S3 (6june)
I believe this has worked for a while, but I'm sure it works with the new ringtones app, so -> FIXED.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.