GNOME Bugzilla – Bug 657549
add GRL_METADATA_KEY_TRACK_NUMBER
Last modified: 2011-09-02 16:17:30 UTC
This is kind of an obvious property to include, though it seems only the upnp plugin would be able to supply it.
Yes, seems obvious. I don't know why we didn't include it :) I think it makes sense not only in UPnP, but in any plugin providing songs from an album. I'll add it. Thanks.
Created attachment 195217 [details] [review] Add GRL_METADATA_KEY_TRACK_NUMBER Patch for further review before pushing it to upstream (just in case someone is interested). It adds GRL_METADATA_KEY_TRACK_NUMBER into Grilo, as well as API to handle it in GrlMediaAudio, as it is where the new key makes more sense.
Review of attachment 195217 [details] [review]: Committed as: commit 832547ea7cf83fdf7bd4629d43640a36b094b800 Author: Juan A. Suarez Romero <jasuarez@igalia.com> Date: Tue Aug 30 15:16:41 2011 +0000 core: Add GRL_METADATA_KEY_TRACK_NUMBER Add a key for Track Number. Add also required API in GrlMediaAudio to handle this key. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=657549 Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> src/data/grl-media-audio.c | 26 ++++++++++++++++++++++++++ src/data/grl-media-audio.h | 4 ++++ src/grl-metadata-key.c | 10 ++++++++++ src/grl-metadata-key.h | 1 + 4 files changed, 41 insertions(+), 0 deletions(-)