From 8dce7ee0f3f29209bd5a6329981dc71892f7dcf0 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 5 Apr 2009 10:24:10 +0200 Subject: [PATCH] Add comments pertaining to the type, codectype and description fields Better document the type, codectype and description fields, noting they equivalent DAAP fields and usage/restrictions. --- src/ff-dbstruct.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ff-dbstruct.h b/src/ff-dbstruct.h index f4bfef22..f1e00265 100644 --- a/src/ff-dbstruct.h +++ b/src/ff-dbstruct.h @@ -68,7 +68,7 @@ typedef struct media_file_info { char *album; /* TALB */ char *genre; /* TCON */ char *comment; /* COMM */ - char *type; + char *type; /* daap.songformat */ char *composer; /* TCOM */ char *orchestra; /* TPE2 */ char *conductor; /* TPE3 */ @@ -101,8 +101,9 @@ typedef struct media_file_info { uint32_t got_id3; uint32_t id; - char *description; /* long file type */ + char *description; /* daap.songdescription */ char *codectype; /* song.codectype */ + /* codectype will be encoded as a short int, no more than 4 chars */ uint32_t item_kind; /* song or movie */ uint32_t data_kind; /* dmap.datakind (asdk) */