commit 433797b2b098c058c82d7e209c20831a67eb39b0 Author: Adam Broschinski <adam.broschin...@gmail.com> Date: Thu Apr 15 19:30:33 2010 -0400
Corrected Do not skip on shuffle flag I corrected the value entered for the don't skip on shuffle flag. It is the opposite of what shows up in iTunesDB. It seems to of been ignored when all the songs were flagged skip on shuffle. src/itdb_itunesdb.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) --- diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index 93d471b..5b6c0b5 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -6226,7 +6226,10 @@ static gboolean write_rths (WContents *cts, Itdb_Track *track) put8int (cts, 0); put32lint (cts, track->bookmark_time); /* Bookmark time */ - put8int (cts, track->skip_when_shuffling); /* Don't Skip on Shuffle */ + /* Don't Skip on shuffle */ + /* This field has the exact opposite value as in the iTunesDB */ + /* 1 when you want to skip, 0 when you don't want to skip */ + put8int (cts, !track->skip_when_shuffling); put8int (cts, track->remember_playback_position); /* Remember playing pos */ /* put8int (cts, ); In uninterruptable album */ put8int (cts, 0); /* Best guess its gapless album */ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2