diff options
| author | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-02-24 15:17:37 +0000 |
|---|---|---|
| committer | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-02-24 15:17:37 +0000 |
| commit | 6821cdc4f0ef0797f596a757845ea3834bfb9eda (patch) | |
| tree | c26a9622429bdb6597ab1102405e157048c788f6 /src/itdb.h | |
| parent | 6fc9f376fc427b9a7bd35054f26ad18b53e15fe7 (diff) | |
| download | libgpod-6821cdc4f0ef0797f596a757845ea3834bfb9eda.tar.gz libgpod-6821cdc4f0ef0797f596a757845ea3834bfb9eda.tar.xz libgpod-6821cdc4f0ef0797f596a757845ea3834bfb9eda.zip | |
* src/itdb.h
src/itdb_itunesdb.c
src/itdb_playlist.c:
Updated smart playlist handling to recognize album artist, tv
show, last skipped, season number, skipcount and video kind
fields.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1396 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
| -rw-r--r-- | src/itdb.h | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* Time-stamp: <2007-01-19 00:59:18 jcs> +/* Time-stamp: <2007-02-24 23:11:13 jcs> | | Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net> | Part of the gtkpod project. @@ -212,6 +212,7 @@ typedef enum { SPLACTION_IS_LESS_THAN = 0x00000040, /* "Is Before" in iTunes */ SPLACTION_IS_IN_THE_RANGE = 0x00000100, SPLACTION_IS_IN_THE_LAST = 0x00000200, + SPLACTION_BINARY_AND = 0x00000400, SPLACTION_IS_STRING = 0x01000001, SPLACTION_CONTAINS = 0x01000002, @@ -258,7 +259,8 @@ typedef enum splat_playlist, splat_none, splat_invalid, - splat_unknown + splat_unknown, + splat_binary_and } SPLActionType; @@ -325,10 +327,16 @@ typedef enum { SPLACTION_IS_NOT_INT/from=1) */ SPLFIELD_BPM = 0x23, /* Int (e.g. from/to = 60) */ SPLFIELD_GROUPING = 0x27, /* String */ - SPLFIELD_PLAYLIST = 0x28, /* XXX - Unknown...not parsed + SPLFIELD_PLAYLIST = 0x28, /* FIXME - Unknown...not parsed correctly...from/to = 0xb6fbad5f - for * "Purchased Music". Extra - data after * "to"... */ + for "Purchased Music". Extra + data after "to"... */ + SPLFIELD_VIDEO_KIND = 0x3c, /* Logic Int */ + SPLFIELD_TVSHOW = 0x3e, /* String */ + SPLFIELD_SEASON_NR = 0x3f, /* Int */ + SPLFIELD_SKIPCOUNT = 0x44, /* Int */ + SPLFIELD_LAST_SKIPPED = 0x45, /* Int/Mac Timestamp */ + SPLFIELD_ALBUMARTIST = 0x47 /* String */ } SPLField; #define SPLDATE_IDENTIFIER (G_GINT64_CONSTANT (0x2dae2dae2dae2daeU)) |
