~matttbe/ubuntu/raring/rhythmbox/lp1010619

« back to all changes in this revision

Viewing changes to plugins/ipod/rb-ipod-source.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-01-05 23:31:55 UTC
  • mto: (2.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 197.
  • Revision ID: package-import@ubuntu.com-20120105233155-435dw23l2mlbzig7
Tags: upstream-2.90.1~git20120106.cf2d7c0
ImportĀ upstreamĀ versionĀ 2.90.1~git20120106.cf2d7c0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1572
1572
                device = rb_ipod_db_get_device (priv->ipod_db);
1573
1573
                if (device && itdb_device_supports_artwork (device)) {
1574
1574
                        RBExtDBKey *key;
1575
 
                        key = rb_ext_db_key_create ("album", song->album);
1576
 
                        rb_ext_db_key_add_field (key, "artist", RB_EXT_DB_FIELD_OPTIONAL, song->artist);
 
1575
                        key = rb_ext_db_key_create_lookup ("album", song->album);
 
1576
                        rb_ext_db_key_add_field (key, "artist", song->artist);
1577
1577
                        if (song->albumartist) {
1578
 
                                rb_ext_db_key_add_field (key, "album-artist", RB_EXT_DB_FIELD_OPTIONAL, song->albumartist);
 
1578
                                rb_ext_db_key_add_field (key, "artist", song->albumartist);
1579
1579
                        }
1580
1580
 
1581
1581
                        rb_ext_db_request (priv->art_store,