diff options
author | Nicholas Piper <nicholas@users.sourceforge.net> | 2006-04-25 16:51:49 +0000 |
---|---|---|
committer | Nicholas Piper <nicholas@users.sourceforge.net> | 2006-04-25 16:51:49 +0000 |
commit | 5f300e202217580790dd3dd5502dd8633a1af847 (patch) | |
tree | a0192ad4188ab2c96dc745be89dd4712a5be21ea | |
parent | 179be1e1cdf56f625bbe82bd6bf74001ceb139e3 (diff) | |
download | libgpod-5f300e202217580790dd3dd5502dd8633a1af847.tar.gz libgpod-5f300e202217580790dd3dd5502dd8633a1af847.tar.xz libgpod-5f300e202217580790dd3dd5502dd8633a1af847.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
-rwxr-xr-x | bindings/python/examples/add_song.py | 2 |
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 |