/* * $Id: $ * * Database structure and fields */ #ifndef _FF_DBSTRUCT_H_ #define _FF_DBSTRUCT_H_ #define PL_ID 0 #define PL_TITLE 1 #define PL_TYPE 2 #define PL_ITEMS 3 #define PL_QUERY 4 #define PL_DB_TIMESTAMP 5 #define PL_PATH 6 #define PL_IDX 7 #define SG_ID 0 #define SG_PATH 1 #define SG_FNAME 2 #define SG_TITLE 3 #define SG_ARTIST 4 #define SG_ALBUM 5 #define SG_GENRE 6 #define SG_COMMENT 7 #define SG_TYPE 8 #define SG_COMPOSER 9 #define SG_ORCHESTRA 10 #define SG_CONDUCTOR 11 #define SG_GROUPING 12 #define SG_URL 13 #define SG_BITRATE 14 #define SG_SAMPLERATE 15 #define SG_SONG_LENGTH 16 #define SG_FILE_SIZE 17 #define SG_YEAR 18 #define SG_TRACK 19 #define SG_TOTAL_TRACKS 20 #define SG_DISC 21 #define SG_TOTAL_DISCS 22 #define SG_BPM 23 #define SG_COMPILATION 24 #define SG_RATING 25 #define SG_PLAY_COUNT 26 #define SG_DATA_KIND 27 #define SG_ITEM_KIND 28 #define SG_DESCRIPTION 29 #define SG_TIME_ADDED 30 #define SG_TIME_MODIFIED 31 #define SG_TIME_PLAYED 32 #define SG_DB_TIMESTAMP 33 #define SG_DISABLED 34 #define SG_SAMPLE_COUNT 35 #define SG_FORCE_UPDATE 36 #define SG_CODECTYPE 37 #define SG_IDX 38 #define SG_HAS_VIDEO 39 #define SG_CONTENTRATING 40 #endif /* _FF_DBSTRUCT_H_ */