Update of /cvsroot/gtkpod/libgpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv19006/src
Modified Files:
itdb.h itdb_playlist.c
Log Message:
* 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.
Index: itdb.h
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- itdb.h 21 Sep 2006 15:11:42 -0000 1.42
+++ itdb.h 23 Sep 2006 12:28:23 -0000 1.43
@@ -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 @@
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). */
Index: itdb_playlist.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb_playlist.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- itdb_playlist.c 30 May 2006 14:09:44 -0000 1.18
+++ itdb_playlist.c 23 Sep 2006 12:28:23 -0000 1.19
@@ -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 @@
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)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2