1 /* 2 * libcddb - CDDB Interface Library for xmcd/cda 3 * 4 * This library implements an interface to access the "classic" 5 * CDDB1 services. 6 * 7 * Copyright (C) 1993-2004 Ti Kan 8 * E-mail: xmcd@amb.org 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 * 24 */ 25 #ifndef _GENRETBL_H_ 26 #define _GENRETBL_H_ 27 28 #ifndef lint 29 static char *_genretbl_h_ident_ = "@(#)genretbl.h 7.10 03/12/12"; 30 #endif 31 32 #define GENREMAP_VERSION 1 33 34 /* Default CDDB1 <-> CDDB2 genre map */ 35 fcddb_gmap_t fcddb_genre_map[] = { 36 { "blues", 37 { "28", "Blues" }, 38 { "32", "General Blues" }, 39 0, NULL 40 }, 41 { "classical", 42 { "40", "Classical" }, 43 { "46", "General Classical" }, 44 0, NULL 45 }, 46 { "country", 47 { "55", "Country" }, 48 { "60", "General Country" }, 49 0, NULL 50 }, 51 { "data", 52 { "70", "Data" }, 53 { "71", "General Data" }, 54 0, NULL 55 }, 56 { "folk", 57 { "94", "Folk" }, 58 { "96", "General Folk" }, 59 0, NULL 60 }, 61 { "jazz", 62 { "153", "Jazz" }, 63 { "160", "General Jazz" }, 64 0, NULL 65 }, 66 { "misc", 67 { "220", "Unclassifiable" }, 68 { "221", "General Unclassifiable" }, 69 0, NULL 70 }, 71 { "newage", 72 { "166", "New Age" }, 73 { "169", "General New Age" }, 74 0, NULL 75 }, 76 { "reggae", 77 { "113", "Reggae" }, 78 { "246", "General Reggae" }, 79 0, NULL 80 }, 81 { "rock", 82 { "180", "Rock" }, 83 { "191", "General Rock" }, 84 0, NULL 85 }, 86 { "soundtrack", 87 { "213", "Soundtrack" }, 88 { "214", "General Soundtrack" }, 89 0, NULL 90 }, 91 { "unclass", 92 { "220", "Unclassifiable" }, 93 { "221", "General Unclassifiable" }, 94 CDDB_GMAP_DUP, NULL 95 }, 96 { NULL, 97 { NULL, NULL }, 98 { NULL, NULL }, 99 0, NULL 100 } 101 }; 102 103 104 #endif /* _GENRETBL_H_ */ 105 106