summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorTodd Zullinger <tmzullinger@users.sourceforge.net>2008-02-13 08:59:06 +0000
committerTodd Zullinger <tmzullinger@users.sourceforge.net>2008-02-13 08:59:06 +0000
commit19e7fb6c2ca8ebd2c0fe93bf7deacc08ce013859 (patch)
treedb183de0cb5744fa5650facf575e62d18160dd16 /bindings
parent53adf6dad55ef6698b7a5f196700caf9d633c53f (diff)
downloadlibgpod-19e7fb6c2ca8ebd2c0fe93bf7deacc08ce013859.tar.gz
libgpod-19e7fb6c2ca8ebd2c0fe93bf7deacc08ce013859.tar.xz
libgpod-19e7fb6c2ca8ebd2c0fe93bf7deacc08ce013859.zip
Track.set_thumbnail() was renamed to Track.set_coverart_from_file() a long time ago
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1949 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/ipod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/ipod.py b/bindings/python/ipod.py
index 20fd510..f8e608e 100644
--- a/bindings/python/ipod.py
+++ b/bindings/python/ipod.py
@@ -315,7 +315,7 @@ class Track:
self._set_userdata_utf8('filename',filename)
possible_image = os.path.join(os.path.split(filename)[0],'folder.jpg')
if os.path.exists(possible_image):
- self.set_thumbnail(possible_image)
+ self.set_coverart_from_file(possible_image)
try:
audiofile = MP3(self._userdata_into_default_locale('filename'))
except Exception, e: