After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763009 - [PATCH] add several audio related keys
[PATCH] add several audio related keys
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: core
git master
Other Linux
: Normal enhancement
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks: 761624
 
 
Reported: 2016-03-02 19:44 UTC by Marinus Schraal
Modified: 2016-05-13 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
composer key (4.81 KB, patch)
2016-03-02 19:44 UTC, Marinus Schraal
none Details | Review
album artist (4.23 KB, patch)
2016-03-02 19:44 UTC, Marinus Schraal
accepted-commit_now Details | Review
codec key (4.14 KB, patch)
2016-03-02 19:45 UTC, Marinus Schraal
rejected Details | Review
composer key (4.81 KB, patch)
2016-03-03 16:08 UTC, Marinus Schraal
none Details | Review
core: Add GRL_METADATA_KEY_COMPOSER (4.86 KB, patch)
2016-05-13 12:01 UTC, Marinus Schraal
committed Details | Review
core: Add GRL_METADATA_KEY_ALBUM_ARTIST (4.29 KB, patch)
2016-05-13 12:02 UTC, Marinus Schraal
committed Details | Review

Description Marinus Schraal 2016-03-02 19:44:23 UTC
Created attachment 322912 [details] [review]
composer key

Add keys for composer, album artist & codec.
Comment 1 Marinus Schraal 2016-03-02 19:44:50 UTC
Created attachment 322913 [details] [review]
album artist
Comment 2 Marinus Schraal 2016-03-02 19:45:13 UTC
Created attachment 322914 [details] [review]
codec key
Comment 3 Marinus Schraal 2016-03-02 19:50:23 UTC
Needs the patch in https://bugzilla.gnome.org/show_bug.cgi?id=761868 for these patches to apply cleanly.
Comment 4 Bastien Nocera 2016-03-03 11:47:25 UTC
Review of attachment 322912 [details] [review]:

::: src/data/grl-media.c
@@ +3236,3 @@
+ * Returns: the n-th composer of the media
+ *
+ * Since: 0.3.0

Why is this one since 0.3.0?
Comment 5 Bastien Nocera 2016-03-03 11:49:44 UTC
Review of attachment 322913 [details] [review]:

Sure.
Comment 6 Bastien Nocera 2016-03-03 11:52:03 UTC
Review of attachment 322914 [details] [review]:

This is broken. Audio containers can have multiple tracks with different codecs. Video containers can have video tracks with multiple codecs. A single codec won't help.

Look for the GStreamer plugin in bugzilla for a way to get properly formatted metadata from the container about the different audio/video track codecs.
Comment 7 Marinus Schraal 2016-03-03 16:08:14 UTC
Created attachment 323004 [details] [review]
composer key

0.3.0 was an oversight
Comment 8 Marinus Schraal 2016-03-03 16:10:12 UTC
(In reply to Bastien Nocera from comment #6)
> Review of attachment 322914 [details] [review] [review]:
> 
> This is broken. Audio containers can have multiple tracks with different
> codecs. Video containers can have video tracks with multiple codecs. A
> single codec won't help.

Yeah makes sense. Let's drop that from here for now and I'll see if i can cook something  up later and drop it in a new bug.
Comment 9 Marinus Schraal 2016-05-13 12:01:54 UTC
Created attachment 327786 [details] [review]
core: Add GRL_METADATA_KEY_COMPOSER

Add GRL_METADATA_KEY_COMPOSER, defines the composer(s) of the media.
Comment 10 Marinus Schraal 2016-05-13 12:02:12 UTC
Created attachment 327787 [details] [review]
core: Add GRL_METADATA_KEY_ALBUM_ARTIST

Add GRL_METADATA_KEY_ALBUM_ARTIST, defines the main artist of the album
from which the media originates.
Comment 11 Bastien Nocera 2016-05-13 15:14:45 UTC
Attachment 327786 [details] pushed as e61f217 - core: Add GRL_METADATA_KEY_COMPOSER
Attachment 327787 [details] pushed as e9be911 - core: Add GRL_METADATA_KEY_ALBUM_ARTIST

(after rebasing)