libgpod have changed from using guint32 mac-type timestamps to standard
time_t timestamps.  The guint32 mac-type timestamp that Quod Libet is
supplying is too long to fit in a time_t, which is causing the traceback
error.  Clearly even if the mac-type timestamp did fit within a time_t
the output would still be wrong.

All that needs changing are two lines in
/usr/share/quodlibet/devices/ipod.py (well it works now):

204,205c204,205
<             'time_added':    time.time(),
<             'time_modified': util.mtime(song('~filename')),
---
>             'time_added':    self.__mactime(time.time()),
>             'time_modified': self.__mactime(util.mtime(song('~filename'))),

David.

** Attachment added: "Replacement ipod.py"
   http://launchpadlibrarian.net/10805716/ipod.py

-- 
QuodLibet crashes when exporting to iPod
https://bugs.launchpad.net/bugs/144599
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to