Debian Codegraph @

src/id3_compat.gperf

raw
1 %{
2 /*
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 * $Id$
18 */
19
20 #define EQ(id) #id
21 #define OBSOLETE 0
22 #define TX(id) #id
23
24 %}
25 %define hash-function-name compat_hash
26 id3_compat;
27 %%
28 #
29 # ID3v2.2 and ID3v2.3 frames
30 #
31 # Only obsolete frames or frames with an equivalent ID3v2.4 frame ID are
32 # listed here. If a frame ID is not listed, it is assumed that the same
33 # frame ID is itself the equivalent ID3v2.4 frame ID.
34 #
35 # This list may also include frames with new content interpretations; the
36 # translation function will rewrite the contents to comply with ID3v2.4.
37 #
38 BUF, EQ(RBUF) /* Recommended buffer size */
39 CNT, EQ(PCNT) /* Play counter */
40 COM, EQ(COMM) /* Comments */
41 CRA, EQ(AENC) /* Audio encryption */
42 CRM, OBSOLETE /* Encrypted meta frame [obsolete] */
43 EQU, OBSOLETE /* Equalization [obsolete] */
44 EQUA, OBSOLETE /* Equalization [obsolete] */
45 ETC, EQ(ETCO) /* Event timing codes */
46 GEO, EQ(GEOB) /* General encapsulated object */
47 IPL, EQ(TIPL) /* Involved people list */
48 IPLS, EQ(TIPL) /* Involved people list */
49 LNK, EQ(LINK) /* Linked information */
50 MCI, EQ(MCDI) /* Music CD identifier */
51 MLL, EQ(MLLT) /* MPEG location lookup table */
52 PIC, TX(APIC) /* Attached picture */
53 POP, EQ(POPM) /* Popularimeter */
54 REV, EQ(RVRB) /* Reverb */
55 RVA, EQ(RVAD) /* Relative volume adjustment [obsolete] */
56 RVAD, OBSOLETE /* Relative volume adjustment [obsolete] */
57 SLT, EQ(SYLT) /* Synchronised lyric/text */
58 STC, EQ(SYTC) /* Synchronised tempo codes */
59 TAL, EQ(TALB) /* Album/movie/show title */
60 TBP, EQ(TBPM) /* BPM (beats per minute) */
61 TCM, EQ(TCOM) /* Composer */
62 TCO, TX(TCON) /* Content type */
63 TCON, TX(TCON) /* Content type */
64 TCR, EQ(TCOP) /* Copyright message */
65 TDA, EQ(TDAT) /* Date [obsolete] */
66 TDAT, OBSOLETE /* Date [obsolete] */
67 TDY, EQ(TDLY) /* Playlist delay */
68 TEN, EQ(TENC) /* Encoded by */
69 TFT, EQ(TFLT) /* File type */
70 TIM, EQ(TIME) /* Time [obsolete] */
71 TIME, OBSOLETE /* Time [obsolete] */
72 TKE, EQ(TKEY) /* Initial key */
73 TLA, EQ(TLAN) /* Language(s) */
74 TLE, EQ(TLEN) /* Length */
75 TMT, EQ(TMED) /* Media type */
76 TOA, EQ(TOPE) /* Original artist(s)/performer(s) */
77 TOF, EQ(TOFN) /* Original filename */
78 TOL, EQ(TOLY) /* Original lyricist(s)/text writer(s) */
79 TOR, EQ(TDOR) /* Original release year [obsolete] */
80 TORY, EQ(TDOR) /* Original release year [obsolete] */
81 TOT, EQ(TOAL) /* Original album/movie/show title */
82 TP1, EQ(TPE1) /* Lead performer(s)/soloist(s) */
83 TP2, EQ(TPE2) /* Band/orchestra/accompaniment */
84 TP3, EQ(TPE3) /* Conductor/performer refinement */
85 TP4, EQ(TPE4) /* Interpreted, remixed, or otherwise modified by */
86 TPA, EQ(TPOS) /* Part of a set */
87 TPB, EQ(TPUB) /* Publisher */
88 TRC, EQ(TSRC) /* ISRC (international standard recording code) */
89 TRD, OBSOLETE /* Recording dates [obsolete] */
90 TRDA, OBSOLETE /* Recording dates [obsolete] */
91 TRK, EQ(TRCK) /* Track number/position in set */
92 TSI, OBSOLETE /* Size [obsolete] */
93 TSIZ, OBSOLETE /* Size [obsolete] */
94 TSS, EQ(TSSE) /* Software/hardware and settings used for encoding */
95 TT1, EQ(TIT1) /* Content group description */
96 TT2, EQ(TIT2) /* Title/songname/content description */
97 TT3, EQ(TIT3) /* Subtitle/description refinement */
98 TXT, EQ(TEXT) /* Lyricist/text writer */
99 TXX, EQ(TXXX) /* User defined text information frame */
100 TYE, EQ(TYER) /* Year [obsolete] */
101 TYER, OBSOLETE /* Year [obsolete] */
102 UFI, EQ(UFID) /* Unique file identifier */
103 ULT, EQ(USLT) /* Unsynchronised lyric/text transcription */
104 WAF, EQ(WOAF) /* Official audio file webpage */
105 WAR, EQ(WOAR) /* Official artist/performer webpage */
106 WAS, EQ(WOAS) /* Official audio source webpage */
107 WCM, EQ(WCOM) /* Commercial information */
108 WCP, EQ(WCOP) /* Copyright/legal information */
109 WPB, EQ(WPUB) /* Publishers official webpage */
110 WXX, EQ(WXXX) /* User defined URL link frame */
111 TCP, EQ(TCMP) /* non-standard iTunes compilation flag */
112 TST, EQ(TSOT) /* non-standard iTunes track sort */
113 TSA, EQ(TSOA) /* non-standard iTunes album sort */
114 TSP, EQ(TSOP) /* non-standard iTunes artist sort */
115 TS2, EQ(TSO2), /* non-standard iTunes album artist sort */
116 TSC, EQ(TSOC), /* non-standard iTunes composer sort */
117 %%