diff options
author | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2006-09-23 12:28:23 +0000 |
---|---|---|
committer | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2006-09-23 12:28:23 +0000 |
commit | a27f3a82085c561ee880dcdc150c73b3bfe50bdf (patch) | |
tree | d2cb8f10657561ae9e7d49ee13f202c5514a7c01 /src | |
parent | d6874b4c5038dbed975433a1b70cc3ab61fa2c49 (diff) | |
download | libgpod-a27f3a82085c561ee880dcdc150c73b3bfe50bdf.tar.gz libgpod-a27f3a82085c561ee880dcdc150c73b3bfe50bdf.tar.xz libgpod-a27f3a82085c561ee880dcdc150c73b3bfe50bdf.zip |
* src/itdb.h: explain 'checked' field in Itdb_Track declaration
* src/itdb_playlist.c (itdb_spl_update): in SPLs with 'match
checked tracks only" set, all unchecked tracks were matched.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1318 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src')
-rw-r--r-- | src/itdb.h | 4 | ||||
-rw-r--r-- | src/itdb_playlist.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* Time-stamp: <2006-09-22 00:04:45 jcs> +/* Time-stamp: <2006-09-23 21:25:40 jcs> | | Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net> | Part of the gtkpod project. @@ -686,7 +686,7 @@ struct _Itdb_Track guint8 compilation; guint32 starttime; guint32 stoptime; - guint8 checked; + guint8 checked; /* 0x0: checkmark on track is set 0x1: not set */ guint64 dbid; /* unique database ID */ guint32 drm_userid; /* Apple Store/Audible User ID (for DRM'ed files only, set to 0 otherwise). */ diff --git a/src/itdb_playlist.c b/src/itdb_playlist.c index fcd099f..b6c5d9a 100644 --- a/src/itdb_playlist.c +++ b/src/itdb_playlist.c @@ -1,4 +1,4 @@ -/* Time-stamp: <2006-05-30 00:29:18 jcs> +/* Time-stamp: <2006-09-23 21:25:39 jcs> | | Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net> | Part of the gtkpod project. @@ -643,7 +643,7 @@ void itdb_spl_update (Itdb_Playlist *spl) g_return_if_fail (t); /* skip non-checked songs if we have to do so (this takes care of *all* the match_checked functionality) */ - if (spl->splpref.matchcheckedonly && (t->checked == 0)) + if (spl->splpref.matchcheckedonly && (t->checked != 0)) continue; /* first, match the rules */ if (spl->splpref.checkrules) |