Mercurial > hg > fapweb
comparison msite.inc.php @ 808:887e88fad15a
More filetype data.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 Nov 2014 13:29:50 +0200 |
parents | 0bb4b1973e08 |
children | a165d2e101f9 |
comparison
equal
deleted
inserted
replaced
807:0bb4b1973e08 | 808:887e88fad15a |
---|---|
129 $previewFileTypeList = array( | 129 $previewFileTypeList = array( |
130 "PNG" => array( | 130 "PNG" => array( |
131 "type" => EPREV_IMAGE, | 131 "type" => EPREV_IMAGE, |
132 "mime" => "image/png", | 132 "mime" => "image/png", |
133 "fext" => ".png", | 133 "fext" => ".png", |
134 "test" => "^PNG image data", | |
134 ), | 135 ), |
135 "JPEG" => array( | 136 "JPEG" => array( |
136 "type" => EPREV_IMAGE, | 137 "type" => EPREV_IMAGE, |
137 "mime" => "image/jpeg", | 138 "mime" => "image/jpeg", |
138 "fext" => ".jpg", | 139 "fext" => ".jpg", |
140 "test" => "^JPEG image data", | |
139 ), | 141 ), |
140 "GIF" => array( | 142 "GIF" => array( |
141 "type" => EPREV_IMAGE, | 143 "type" => EPREV_IMAGE, |
142 "mime" => "image/gif", | 144 "mime" => "image/gif", |
143 "fext" => ".gif", | 145 "fext" => ".gif", |
146 "test" => "^GIF image data", | |
144 ), | 147 ), |
145 | 148 |
146 "MP3" => array( | 149 "MP3" => array( |
147 "type" => EPREV_AUDIO, | 150 "type" => EPREV_AUDIO, |
148 "mime" => "audio/mpeg", | 151 "mime" => "audio/mpeg", |
149 "fext" => ".mp3", | 152 "fext" => ".mp3", |
153 "test" => "MPEG ADTS, layer III", | |
150 ), | 154 ), |
151 "OggVorbis" => array( | 155 "OggVorbis" => array( |
152 "type" => EPREV_AUDIO, | 156 "type" => EPREV_AUDIO, |
153 "mime" => "audio/ogg; codecs=vorbis", | 157 "mime" => "audio/ogg; codecs=vorbis", |
154 "fext" => ".ogg", | 158 "fext" => ".ogg", |
159 "test" => "Ogg data, Vorbis audio", | |
160 ), | |
161 | |
162 // Special cases | |
163 "ILBM" => array( | |
164 "type" => EPREV_IMAGE, | |
165 "mime" => "gfx", // Special cases to be converted through gfxconv .. | |
166 "fext" => ".lbm", | |
167 "test" => "^IFF data", | |
168 ), | |
169 "PCX" => array( | |
170 "type" => EPREV_IMAGE, | |
171 "mime" => "image/x-pcx", | |
172 "fext" => ".pcx", | |
173 "test" => "^PCX ver\. 3\.0", | |
174 ), | |
175 | |
176 "PTMOD" => array( | |
177 "type" => EPREV_AUDIO, | |
178 "mime" => "audio/x-mod", | |
179 "fext" => ".mod", | |
180 "test" => "^\d+-channel Protracker module", | |
181 ), | |
182 "PTMOD" => array( | |
183 "type" => EPREV_AUDIO, | |
184 "mime" => "audio/x-mod", | |
185 "fext" => ".mod", | |
186 "test" => "^\d+-channel Fasttracker module", | |
187 ), | |
188 "S3M" => array( | |
189 "type" => EPREV_AUDIO, | |
190 "mime" => "audio/x-mod", | |
191 "fext" => ".s3m", | |
192 "test" => "^ScreamTracker III Module", | |
193 ), | |
194 "XM" => array( | |
195 "type" => EPREV_AUDIO, | |
196 "mime" => "audio/x-mod", | |
197 "fext" => ".xm", | |
198 "test" => "^Fasttracker II module", | |
199 ), | |
200 "IT" => array( | |
201 "type" => EPREV_AUDIO, | |
202 "mime" => "audio/x-mod", | |
203 "fext" => ".it", | |
204 "test" => "^Impulse Tracker module", | |
205 ), | |
206 "PTM" => array( | |
207 "type" => EPREV_AUDIO, | |
208 "mime" => "audio/x-mod", | |
209 "fext" => ".ptm", | |
210 "test" => "^Poly Tracker PTM Module", | |
155 ), | 211 ), |
156 ); | 212 ); |
157 | 213 |
158 | 214 |
159 // | 215 // |