libipodsync now defaults to 60 minutes for unknown-length podasts + warning
git-svn-id: svn://svn.berlios.de/gpodder/trunk@169 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
parent
21d8736cfa
commit
1ec20d6acb
|
@ -1,3 +1,7 @@
|
|||
Sat, 21 Oct 2006 12:15:30 +0200 <thp@perli.net>
|
||||
* src/gpodder/libipodsync.py: Defaulting to 60 minutes podcast time
|
||||
when not able to get real length (and spit out a warning for it)
|
||||
|
||||
Sat, 30 Sep 2006 20:34:19 +0200 <thp@perli.net>
|
||||
* TODO: updated TODO list
|
||||
|
||||
|
|
|
@ -218,8 +218,7 @@ class gPodder_iPodSync(object):
|
|||
track_length = eyed3_info.getPlayTime() * 1000 # in milliseconds
|
||||
# TODO: how to get length of video (mov, mp4, m4v) files??
|
||||
except:
|
||||
if libgpodder.isDebugging():
|
||||
print '(ipodsync) Warning: cannot get length for %s, will use zero-length' % episode.title
|
||||
print '(ipodsync) Warning: cannot get length for %s, will use 1 hour' % episode.title
|
||||
track_length = 20*60*1000 # hmm.. (20m so we can skip on video/audio with unknown length)
|
||||
|
||||
track = gpod.itdb_track_new()
|
||||
|
|
Loading…
Reference in New Issue