From 5f300e202217580790dd3dd5502dd8633a1af847 Mon Sep 17 00:00:00 2001 From: Nicholas Piper Date: Tue, 25 Apr 2006 16:51:49 +0000 Subject: 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 --- bindings/python/examples/add_song.py | 2 -- 1 file changed, 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 -- cgit