applied patch from Seth Remington to fix errors with newer libgpod versions

git-svn-id: svn://svn.berlios.de/gpodder/trunk@187 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
Thomas Perl 2006-12-01 14:43:42 +00:00
parent d57790e541
commit d405261077
4 changed files with 9 additions and 4 deletions

View File

@ -14,7 +14,7 @@ Thanks to all the other patch writers:
Ortwin Forster <ortwin@videotron.ca> (patch for saxutils.escape in localdb)
Camille Moncelier <pix@devlife.org> (patch for iPod video device support)
Nick <nikosapi@gmail.com> (many patches for iPod 5G support)
Seth Remington <sremington@saberlogic.com> (About dialog bugfix patch)
Seth Remington <sremington@saberlogic.com> (several important bugfixes)
Thanks for bug reports and other suggestions go out to:

View File

@ -1,3 +1,8 @@
Fri, 1 Dec 2006 15:42:07 +0100 <thp@perli.net>
* src/gpodder/libipodsync.py: Applied patch from Seth Remington
to fix a synchronization error with newer libgpod versions
* bin/gpodder: bumped version and release date
Thu, 30 Nov 2006 23:07:22 +0100 <thp@perli.net>
* src/gpodder/libgpodder.py: Remove '.cover.jpg' file for
episode if left on disk by libipodsync.py (see below)

View File

@ -26,8 +26,8 @@
# PLEASE DO NOT CHANGE FORMAT OF __version__ LINE (setup.py reads this)
__author__ = "Thomas Perl <thp@perli.net>"
__version__ = "0.8.0+svn20061122"
__date__ = "2006-11-22"
__version__ = "0.8.0+svn20061201"
__date__ = "2006-12-01"
__copyright__ = "Copyright (c) 2005-2006 %s. All rights reserved." % __author__
__licence__ = "GPL"

View File

@ -293,7 +293,7 @@ class gPodder_iPodSync(object):
ipod_date = email.Utils.parsedate(episode.pubDate)
if ipod_date != None:
# + 2082844800 for unixtime => mactime (1970 => 1904)
track.time_released = time.mktime(ipod_date) + 2082844800
track.time_released = int(time.mktime(ipod_date) + 2082844800)
track.title = str(episode.title)
track.album = str(channel.title)