Closed
Bug 947884
Opened 11 years ago
Closed 7 years ago
[Music] Support multi-page OGG meta data
Categories
(Firefox OS Graveyard :: Gaia::Music, defect)
Tracking
(b2g-v2.1 wontfix, b2g-v2.1S wontfix, b2g-v2.2 affected, b2g-master affected)
People
(Reporter: tzimmermann, Assigned: hub)
References
Details
Attachments
(1 file)
OGG files can contain multiple chunks of meta data, called pages. The music player currently only supports reading the first page, but multiple pages should be supported as well.
See STR in bug 916850 for an OGG file.
Assignee | ||
Comment 1•10 years ago
|
||
This is part of https://github.com/mozilla-b2g/gaia/pull/26660
Doesn't really block bug 907929. Makes it better
No longer blocks: 907929
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
This contain patch for bug 907929 as it depends on it.
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo)
Assignee | ||
Comment 4•10 years ago
|
||
Now rebased on master. Just a single commit.
Comment 5•10 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
Looks good overall, but there are a few comments/concerns I had (see GitHub).
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo) → review-
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•10 years ago
|
||
Note: this should go in 2.2 too.
status-b2g-v2.1:
--- → wontfix
status-b2g-v2.1S:
--- → wontfix
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
I have added tests. The only thing not changed is the change in core.js on which I commented. If still believe it is a concern, I can spend more time fixing it, even if in the current situation this is not a new problem.
Attachment #8537580 -
Flags: review- → review?(squibblyflabbetydoo)
Comment 8•10 years ago
|
||
(In reply to Hubert Figuiere [:hub] from comment #7)
> I have added tests. The only thing not changed is the change in core.js on
> which I commented. If still believe it is a concern, I can spend more time
> fixing it, even if in the current situation this is not a new problem.
I'm really worried that this will hurt startup performance when scanning music (keep in mind that we're forcing all users to rescan their media libraries in 2.2). I'd want to see some performance tests to be sure that this isn't regressing us before I r+ it. While it's possible that 256 KB is a better choice for all formats, I somewhat doubt it, and I suspect that we could go even smaller than 64 KB.
I'm also confused as to why that change is necessary, since you should be able to get more data at any time, e.g. within OggMetadata.parse().
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
cancelling review for now.
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo)
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
I have addressed this issue you had with the initial blobview size.
Also rebased.
Let me know if you still have issues.
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo)
Comment 11•9 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
It looks like there are some issues with how you're handling Promises in the patch. I also think we could simplify this by making it easier to fill an expanding buffer that could hold an entire comment field. That would eliminate the need for readContinuedComment.
I have more detail about this on the PR. Thanks for working on this!
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo) → review-
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
I think comments are addressed. Updated the PR.
Attachment #8537580 -
Flags: review- → review?(squibblyflabbetydoo)
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
cancelling review for now. I found a bug with the test app.
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo)
Assignee | ||
Comment 16•9 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
The bug was in the test framework.
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo)
Comment 17•9 years ago
|
||
Comment on attachment 8537580 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26836
r-, but really only for the first comment over on GitHub. That part looks suspect...
Attachment #8537580 -
Flags: review?(squibblyflabbetydoo) → review-
Assignee | ||
Comment 18•9 years ago
|
||
I see wtf is going on and why I actually don't need to do that. I'll fix it and re-request a review. There might be more changes into the patch though. (I'll keep a separate commit)
Comment 19•7 years ago
|
||
Firefox OS is not being worked on
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•