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 425117 - Misc iPod source patches
Misc iPod source patches
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-01 10:55 UTC by Christophe Fergeau
Modified: 2007-06-07 20:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove unused #ifdef (2.67 KB, patch)
2007-04-01 10:56 UTC, Christophe Fergeau
committed Details | Review
Rework playlist handling (3.63 KB, patch)
2007-04-01 10:57 UTC, Christophe Fergeau
committed Details | Review
Use the new itdb_device_supports_artwork from libgpod (566 bytes, patch)
2007-04-14 12:33 UTC, Christophe Fergeau
committed Details | Review
Use itdb_get_mountpoint instead of having a priv->ipod_path var (3.78 KB, patch)
2007-04-14 12:34 UTC, Christophe Fergeau
none Details | Review

Description Christophe Fergeau 2007-04-01 10:55:27 UTC
Here are 2 patches which aren't making any functional changes to the iPod source, but which clean-up the code somehow. 1st one removes dead code and the 2nd one makes the code a bit cleaner imo, but it's totally subjective ;)
Comment 1 Christophe Fergeau 2007-04-01 10:56:31 UTC
Created attachment 85645 [details] [review]
Remove unused #ifdef
Comment 2 Christophe Fergeau 2007-04-01 10:57:18 UTC
Created attachment 85646 [details] [review]
Rework playlist handling
Comment 3 Christophe Fergeau 2007-04-01 10:57:56 UTC
The second patch (and maybe the 1st one) won't apply without the patch from http://bugzilla.gnome.org/show_bug.cgi?id=424086#c12
Comment 4 Christophe Fergeau 2007-04-14 11:42:05 UTC
I committed both of those patches (with slight changes so that they apply/compile)
Comment 5 Christophe Fergeau 2007-04-14 12:29:03 UTC
2 more tiny patches for the iPod source.
Comment 6 Christophe Fergeau 2007-04-14 12:33:12 UTC
Created attachment 86335 [details] [review]
Use the new itdb_device_supports_artwork from libgpod

This patch uses the new itdb_device_supports_artwork from libgpod to skip artwork processing altogether if the iPod can't display artwork. I realised when attaching this patch that a configure check for the new function is missing (though using  HAVE_ITDB_TRACK_SET_THUMBNAILS_FROM_PIXBUF might be enough, it would only fail for people using a post libgpod 0.4.2 cvs checkout, but not up to date)
Comment 7 Christophe Fergeau 2007-04-14 12:34:51 UTC
Created attachment 86336 [details] [review]
Use itdb_get_mountpoint instead of having a priv->ipod_path var
Comment 8 James "Doc" Livingston 2007-04-16 12:11:44 UTC
Looks fine to me.
Comment 9 Christophe Fergeau 2007-04-23 20:45:20 UTC
I committed the patch from comment #6 but not the one from comment #7 since I have some changes in progress that would conflict with that patch. 
Errr, and I noticed the "needs-work" status on the patch I committed after writing that comment :-/ I guess I'll clean that up when libgpod 0.5.0 is released.
Comment 10 Christophe Fergeau 2007-06-07 20:07:23 UTC
Patch from comment #7 is obsolete with the landing of the async iTunesDB saving, marking it as such and marking that bug as fixed