Issue 13 in gmtk: Parsing of artist/title/album not working

11 views
Skip to first unread message

gm...@googlecode.com

unread,
Mar 8, 2013, 6:13:03 PM3/8/13
to gnome-...@googlegroups.com
Status: New
Owner: s.ramac...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 13 by s.ramac...@gmail.com: Parsing of artist/title/album not
working
http://code.google.com/p/gmtk/issues/detail?id=13

The code in gmtk-media-player.c to read the meta data from mplayer doesn't
work for me. mplayer2 is reporting the field names in all lower case
whereas the code expects the first character to be uppercase. It checks
for "Artist: ", "Album: " and so on.

Here is an example output:

GMLIB-Message: Clip info:
GMLIB-Message: title: Some Velvet Morning
GMLIB-Message: ID_CLIP_INFO_NAME0=title
GMLIB-Message: ID_CLIP_INFO_VALUE0=Some Velvet Morning
GMLIB-Message: album: Songs We Should Have Written
GMLIB-Message: ID_CLIP_INFO_NAME1=album
GMLIB-Message: ID_CLIP_INFO_VALUE1=Songs We Should Have Written
GMLIB-Message: genre: Alternative & Punk
GMLIB-Message: ID_CLIP_INFO_NAME2=genre
GMLIB-Message: ID_CLIP_INFO_VALUE2=Alternative & Punk
GMLIB-Message: date: 2003
GMLIB-Message: ID_CLIP_INFO_NAME3=date
GMLIB-Message: ID_CLIP_INFO_VALUE3=2003
GMLIB-Message: track: 7/11
GMLIB-Message: ID_CLIP_INFO_NAME4=track
GMLIB-Message: ID_CLIP_INFO_VALUE4=7/11
GMLIB-Message: artist: Firewater
GMLIB-Message: ID_CLIP_INFO_NAME5=artist
GMLIB-Message: ID_CLIP_INFO_VALUE5=Firewater

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gm...@googlecode.com

unread,
Mar 9, 2013, 11:05:59 AM3/9/13
to gnome-...@googlegroups.com

Comment #1 on issue 13 by kdeko...@gmail.com: Parsing of artist/title/album
not working
http://code.google.com/p/gmtk/issues/detail?id=13

This is going to require some changes in this area that are going to be
larger than I initially thought. It is too bad that mplayer2 decided to be
incompatible in this area. So not sure how long this will take me to fix,
without just duplicating code blocks and replacing uppercase characters
with lowercase.
Reply all
Reply to author
Forward
0 new messages