summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authornicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-04-25 16:51:49 +0000
committernicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-04-25 16:51:49 +0000
commit963c9f2d2e365f97d1105ddb81d9f9956cabdb92 (patch)
treea0192ad4188ab2c96dc745be89dd4712a5be21ea /bindings/python
parent40c753567221b4463bd1d2ec6ac0242acbf19141 (diff)
downloadlibgpod-963c9f2d2e365f97d1105ddb81d9f9956cabdb92.tar.gz
libgpod-963c9f2d2e365f97d1105ddb81d9f9956cabdb92.tar.xz
libgpod-963c9f2d2e365f97d1105ddb81d9f9956cabdb92.zip
Don't change flag1; it is automatic now as it means coverart present or not
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1248 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings/python')
-rwxr-xr-xbindings/python/examples/add_song.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bindings/python/examples/add_song.py b/bindings/python/examples/add_song.py
index 5817db1..acca621 100755
--- a/bindings/python/examples/add_song.py
+++ b/bindings/python/examples/add_song.py
@@ -101,14 +101,12 @@ for path in args:
track.tracklen = audiofile.getPlayTime() * 1000 # important to add!, iPod uses ms.
if options.ispodcast:
- track.flag1 = 0x02 # unknown
track.flag2 = 0x01 # skip when shuffling
track.flag3 = 0x01 # remember playback position
track.flag4 = 0x01 # Show Title/Album on the 'Now Playing' page
playlists = [gpod.itdb_playlist_podcasts(itdb)]
print "Adding Podcast %s (Title: %s)" % (path,track.title)
else:
- track.flag1 = 0x02 # unknown
track.flag2 = 0x00 # do not skip when shuffling
track.flag3 = 0x00 # do not remember playback position
track.flag4 = 0x00 # Show Title/Album/Artist on the 'New Playing' page