summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2006-09-23 12:28:23 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2006-09-23 12:28:23 +0000
commita27f3a82085c561ee880dcdc150c73b3bfe50bdf (patch)
treed2cb8f10657561ae9e7d49ee13f202c5514a7c01
parentd6874b4c5038dbed975433a1b70cc3ab61fa2c49 (diff)
downloadlibgpod-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
-rw-r--r--ChangeLog7
-rw-r--r--INSTALL_CVS7
-rw-r--r--docs/reference/tmpl/artwork.sgml2
-rw-r--r--docs/reference/tmpl/device.sgml5
-rw-r--r--src/itdb.h4
-rw-r--r--src/itdb_playlist.c4
6 files changed, 25 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b09599c..24c090f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-09-23 Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+ * 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.
+
2006-09-21 Jorg Schuler <jcsjcs at users.sourceforge.net>
* src/itdb_itunesdb.c: time_added and time_modified where
diff --git a/INSTALL_CVS b/INSTALL_CVS
index db709c6..66c048c 100644
--- a/INSTALL_CVS
+++ b/INSTALL_CVS
@@ -4,6 +4,13 @@ If you install from CVS, call
make
make install
+To make a distribution tarball do
+
+./autogen.sh --enable-gtk-doc
+make
+make dist
+
+
See the INSTALL and TROUBLESHOOTING file for more information.
----------------------------------------------------------------------
diff --git a/docs/reference/tmpl/artwork.sgml b/docs/reference/tmpl/artwork.sgml
index 94d2343..94bc4db 100644
--- a/docs/reference/tmpl/artwork.sgml
+++ b/docs/reference/tmpl/artwork.sgml
@@ -38,6 +38,8 @@ Data structure to store iPod artwork (cover and photos)
@type:
@filename:
+@image_data:
+@image_data_len:
@offset:
@size:
@width:
diff --git a/docs/reference/tmpl/device.sgml b/docs/reference/tmpl/device.sgml
index 67534e9..907bf1c 100644
--- a/docs/reference/tmpl/device.sgml
+++ b/docs/reference/tmpl/device.sgml
@@ -94,6 +94,11 @@ Data structure holding information about the iPod (model, mount point, ...)
@ITDB_IPOD_MODEL_VIDEO_WHITE:
@ITDB_IPOD_MODEL_VIDEO_BLACK:
@ITDB_IPOD_MODEL_MOBILE_1:
+@ITDB_IPOD_MODEL_VIDEO_U2:
+@ITDB_IPOD_MODEL_NANO_SILVER:
+@ITDB_IPOD_MODEL_NANO_BLUE:
+@ITDB_IPOD_MODEL_NANO_GREEN:
+@ITDB_IPOD_MODEL_NANO_PINK:
<!-- ##### STRUCT Itdb_ArtworkFormat ##### -->
<para>
diff --git a/src/itdb.h b/src/itdb.h
index b81dacf..d51fac0 100644
--- a/src/itdb.h
+++ b/src/itdb.h
@@ -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)