Podcast flags for fifth generation iPods
git-svn-id: svn://svn.berlios.de/gpodder/trunk@176 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
parent
10f3c318ca
commit
bee113e794
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,8 @@
|
|||
Sat, 18 Nov 2006 11:41:16 +0100 <thp@perli.net>
|
||||
* src/gpodder/libipodsync.py: Applied modified patch from (nikosapi
|
||||
gmail com) to add "blue bullet" and "remember playback position"
|
||||
for fifth generation iPods when syncing to Podcasts playlist
|
||||
|
||||
Fri, 17 Nov 2006 21:42:18 +0100 <thp@perli.net>
|
||||
* src/gpodder/gpodder.py: Clear list of downloaded items after
|
||||
deleting the last channel (thanks to Alain Tauch for reporting)
|
||||
|
@ -13,10 +18,10 @@ Fri, 17 Nov 2006 11:10:42 +0100 <thp@perli.net>
|
|||
|
||||
Thu, 16 Nov 2006 23:44:43 +0100 <thp@perli.net>
|
||||
* src/gpodder/liblocaldb.py: Applied modified version of patch
|
||||
from Alain Tauch to fix a bug in liblocaldb.py; re-factored the
|
||||
whole module to get rid of caching cruft and old code; this
|
||||
should also fix the long-standing "new downloaded channel doesn't
|
||||
appear and requires a restart of gPodder" problem :)
|
||||
from Alain Tauch to fix a bug in liblocaldb.py; re-factored the
|
||||
whole module to get rid of caching cruft and old code; this
|
||||
should also fix the long-standing "new downloaded channel doesn't
|
||||
appear and requires a restart of gPodder" problem :)
|
||||
* bin/gpodder: bumped version + release date
|
||||
|
||||
Wed, 15 Nov 2006 12:12:13 +0100 <thp@perli.net>
|
||||
|
|
|
@ -181,15 +181,20 @@ class gPodder_iPodSync(object):
|
|||
def set_podcast_flags( self, track):
|
||||
if not ipod_supported():
|
||||
return False
|
||||
# try to modify track to be more podcast-ish
|
||||
try:
|
||||
# Add blue bullet next to unplayed tracks on 5G iPods
|
||||
track.mark_unplayed = 0x02
|
||||
|
||||
# Podcast flags (for new iPods?)
|
||||
track.remember_playback_position = 0x01
|
||||
|
||||
# Podcast flags (for old iPods?)
|
||||
track.flag1 = 0x02
|
||||
track.flag2 = 0x01
|
||||
track.flag3 = 0x01
|
||||
track.flag4 = 0x01
|
||||
except:
|
||||
log( '(ipodsync) Seems like your python-gpod is out-of-date.')
|
||||
pass
|
||||
|
||||
def add_episode_from_channel( self, channel, episode):
|
||||
if not ipod_supported():
|
||||
|
|
Loading…
Reference in New Issue