~rejon/openfontlibrary/trunk

« back to all changes in this revision

Viewing changes to export-deploy-2010-01-16

  • Committer: rejon
  • Date: 2011-07-27 02:39:48 UTC
  • Revision ID: svn-v4:8d524c46-678c-45c7-9eff-ff2b6d26555c::324
updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?
2
 
 
3
 
if( !defined('IN_CC_HOST') ) exit; 
4
 
 
5
 
$cc_host_config_export = array ( 
6
 
 
7
 
     array( 
8
 
        'config_type'  => 'config',
9
 
        'config_scope' => 'media',
10
 
        'config_data'  => array (
11
 
            'cc-host-version' => 5.1,
12
 
            'cookie-domain' => '',
13
 
            'site-disabled' => '',
14
 
            'enable-key' => 'jimi',
15
 
            'enable-password' => '_change_me_1263468543',
16
 
            'user-upload-root' => 'content',
17
 
            'contest-upload-root' => 'contests',
18
 
            'dataview-dir' => 'openfontlibrary_files/dataviews/',
19
 
            'template-root' => 'openfontlibrary_files/skins/',
20
 
            'image-upload-dir' => 'openfontlibrary_files/images/',
21
 
            'files-root' => 'openfontlibrary_files/docs',
22
 
            'extra-lib' => 'openfontlibrary_files/lib',
23
 
            'error-txt' => 'openfontlibrary_files/error-msg.txt',
24
 
            'disabled-msg' => 'openfontlibrary_files/disabled-msg.txt',
25
 
            'install-user-root' => 'openfontlibrary_files/',
26
 
            'avatar-dir' => '',
27
 
            'temp-dir' => '/var/www/openfontlibrary.org/temp/',
28
 
            'logfile-dir' => '/var/www/openfontlibrary.org/logs/',
29
 
            'mail_sender' => 'dave@lab6.com',
30
 
            'mail_anon' => 8,
31
 
            'mail_uploaders' => 8,
32
 
            'mail_registered' => 8,
33
 
            'mail_throttle' => 3,
34
 
            'mail_to_admin' => 4,
35
 
            'pretty-urls' => 'on',
36
 
            'getid3-path' => '/var/www/openfontlibrary.org/htdocs/getid3',
37
 
            'getid3-v1' => 1,
38
 
            'getid3-fileverify-enabled' => 1,
39
 
            'ban-message' => 'str_ban_message',
40
 
            'ban-email-enable' => 1,
41
 
            'ban-email' => 'str_ban_email',
42
 
            'allow-pool-ui' => 1,
43
 
            'allow-pool-search' => 1,
44
 
            'allow-pool-register' => '',
45
 
            'file-perms' => 511,
46
 
            'querylimit' => 25,
47
 
            'lang' => 'en_US',
48
 
            'lang_locale_pref' => 'default',
49
 
            'supers' => 'admin',
50
 
            'run_once' => 'welcome',
51
 
            'pool-push-hub' => '',
52
 
            'pool-pull-hub' => '',
53
 
            'pool-remix-throttle' => 10,
54
 
            'no-cache' => '',
55
 
            'reg-type' => '',
56
 
            'tags-min-length' => 3,
57
 
            'tags-max-length' => 25,
58
 
            'feed-cache-flag' => '',
59
 
            'format' => 1,
60
 
            'adminformat' => 1,
61
 
            'reviews_enabled' => 1,
62
 
            'flagging' => 1,
63
 
            'flag_msg' => 'str_flag_msg',
64
 
            'notify' => 1,
65
 
            'tags-min-show' => 1,
66
 
            'do-bpm' => '',
67
 
            'lang_per_user' => '',
68
 
            'site_promo_tag' => 'site_promo',
69
 
            'default_user_image' => 'openfontlibrary_files/images/avatar.png',
70
 
            'pubwiz' => 4,
71
 
            'tags-inherit' => array (
72
 
                0 => 'digital_distortion',
73
 
                ),
74
 
            'enable_playlists' => 1,
75
 
            'playlist_promo_tag' => 'site_promo',
76
 
            'embedded_player' => 'ccskins/shared/players/player_native.php',
77
 
            'contests' => array (
78
 
                ),
79
 
            'counter' => '',
80
 
            'license' => '',
81
 
            'checksum' => '',
82
 
            'search-user-path-first' => 1,
83
 
            'show_google_form' => 1,
84
 
            'collab_enabled' => '',
85
 
            'v_5_1_paging' => 1,
86
 
            'v_5_1_button' => 1,
87
 
            'v_5_oh1_bug' => 1,
88
 
            'v_5_1_minilic' => 1,
89
 
            'mod-stamp' => 1263468844,
90
 
            'v_5_1_dlcount' => 1,
91
 
            'v_5_1_embed_play' => 1,
92
 
            'v_5_1_lic_editing' => 1,
93
 
            'v_5_1_topic_format' => 1,
94
 
            'v_5_1_topic_nsfw' => 1,
95
 
            'v_5_2_tag_cats' => 1,
96
 
            'install_done' => 1,
97
 
            'v_5_instdone' => 1,
98
 
            'v_5_OFL' => 1,
99
 
            'openid-type' => 1,
100
 
            'v_5_openid2' => 1,
101
 
            'v_5_openid' => 1,
102
 
            ),
103
 
     ),
104
 
    array( 
105
 
        'config_type'  => 'settings',
106
 
        'config_scope' => 'media',
107
 
        'config_data'  => array (
108
 
            'homepage' => 'docs/home',
109
 
            'admins' => 'admin',
110
 
            'upload-auto-pub' => 1,
111
 
            'ratings' => 1,
112
 
            'editors' => '',
113
 
            'default-feed-tags' => '',
114
 
            ),
115
 
     ),
116
 
    array( 
117
 
        'config_type'  => 'ttag',
118
 
        'config_scope' => 'media',
119
 
        'config_data'  => array (
120
 
            'site-title' => 'Open Font Library',
121
 
            'root-url' => 'http://openfontlibrary.org/',
122
 
            'site-description' => '',
123
 
            'footer' => 'This site uses <a href="http://wiki.creativecommons.org/wiki/CcHost">ccHost</a> and <a href="http://getid3.sourceforge.net/">GetID3</a>, and is licensed under <a href="http://creativecommons.org/licenses/GPL/2.0/">CC-GNU-GPL</a>',
124
 
            'site-license' => 'The text of this site is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License</a>',
125
 
            'site-meta-description' => 'Open Font Library champions open font creation and sharing',
126
 
            'site-meta-keywords' => '',
127
 
            'banner-message' => '',
128
 
            'beta_message' => '',
129
 
            ),
130
 
     ),
131
 
    array( 
132
 
        'config_type'  => 'format-allow',
133
 
        'config_scope' => 'media',
134
 
        'config_data'  => array (
135
 
            'audio-aiff-aiff' => '',
136
 
            'audio-au-au' => '',
137
 
            'audio-flac-flac' => '',
138
 
            'audio-mp3-mp3' => '',
139
 
            'audio-ogg-vorbis' => '',
140
 
            'audio-real-real' => '',
141
 
            'audio-asf-wma' => '',
142
 
            'archive-zip-' => '',
143
 
            'image-gif-gif' => 1,
144
 
            'image-jpg-jpg' => 1,
145
 
            'image-png-png' => 1,
146
 
            'video-swf-swf' => '',
147
 
            'audio-midi-midi' => '',
148
 
            'audio-riff-wav' => '',
149
 
            'video-riff-avi' => '',
150
 
            'video-quicktime-quicktime' => '',
151
 
            'video-real-real' => '',
152
 
            'video-asf-wmv' => '',
153
 
            'image-bmp-bmp' => '',
154
 
            ),
155
 
     ),
156
 
    array( 
157
 
        'config_type'  => 'name-masks',
158
 
        'config_scope' => 'media',
159
 
        'config_data'  => array (
160
 
            'song' => '',
161
 
            'remix' => '',
162
 
            'contest' => '%contest% - %login% - %filename%',
163
 
            'contest-source' => '%contest% - %filename%',
164
 
            'upload-replace-sp' => 1,
165
 
            ),
166
 
     ),
167
 
    array( 
168
 
        'config_type'  => 'id3-tag-masks',
169
 
        'config_scope' => 'media',
170
 
        'config_data'  => array (
171
 
            'title' => '%title% %feat%',
172
 
            'artist' => '%artist%',
173
 
            'copyright' => '%Y% %artist% Licensed to the public under %license_url% Verify at %song_page%',
174
 
            'original_artist' => '%source_artist%',
175
 
            'remixer' => '%artist%',
176
 
            'year' => '%Y%',
177
 
            'url_user' => '%artist_page%',
178
 
            'album' => '%site%',
179
 
            ),
180
 
     ),
181
 
    array( 
182
 
        'config_type'  => 'chart',
183
 
        'config_scope' => 'media',
184
 
        'config_data'  => array (
185
 
            'ratings' => 1,
186
 
            'ratings_ban' => '',
187
 
            'requires-review' => '',
188
 
            'thumbs_up' => 1,
189
 
            'cut-off' => '2 weeks ago',
190
 
            'rank_formula' => '((upload_num_scores*4) + (upload_num_playlists*2))',
191
 
            ),
192
 
     ),
193
 
    array( 
194
 
        'config_type'  => 'tab_pages',
195
 
        'config_scope' => 'media',
196
 
        'config_data'  => array (
197
 
            'media' => array (
198
 
                'Uploading Fonts' => array (
199
 
                    'text' => 'Uploading Fonts',
200
 
                    'help' => 'How to get your fonts online',
201
 
                    'tags' => '/docs/uploading',
202
 
                    'limit' => '',
203
 
                    'access' => 4,
204
 
                    'function' => 'url',
205
 
                    ),
206
 
                'Formats' => array (
207
 
                    'text' => 'Font formats',
208
 
                    'help' => 'All about OTFs, TTFs and more',
209
 
                    'tags' => '/docs/formats',
210
 
                    'limit' => '',
211
 
                    'access' => 4,
212
 
                    'function' => 'url',
213
 
                    ),
214
 
                'Licenses' => array (
215
 
                    'text' => 'Licensing your font',
216
 
                    'help' => 'Permissive font licensing explained',
217
 
                    'tags' => '/docs/licenses',
218
 
                    'limit' => '',
219
 
                    'access' => 4,
220
 
                    'function' => 'url',
221
 
                    ),
222
 
                'Font linking' => array (
223
 
                    'text' => 'Web font linking with @font-face',
224
 
                    'help' => 'How to harness the potential of web fonts',
225
 
                    'tags' => '/docs/font-linking',
226
 
                    'limit' => '',
227
 
                    'access' => 4,
228
 
                    'function' => 'url',
229
 
                    ),
230
 
                'people' => array (
231
 
                    'text' => 'Contributors',
232
 
                    'help' => 'str_see_people',
233
 
                    'tags' => '/people',
234
 
                    'limit' => '',
235
 
                    'access' => 4,
236
 
                    'function' => 'url',
237
 
                    ),
238
 
                'Patrons' => array (
239
 
                    'text' => 'Patrons',
240
 
                    'help' => 'Organisations who support OFLB',
241
 
                    'tags' => '/docs/patrons',
242
 
                    'limit' => '',
243
 
                    'access' => 4,
244
 
                    'function' => 'url',
245
 
                    ),
246
 
                ),
247
 
            ),
248
 
     ),
249
 
    array( 
250
 
        'config_type'  => 'throttle',
251
 
        'config_scope' => 'media',
252
 
        'config_data'  => array (
253
 
            'enabled' => '',
254
 
            'user-exceptions' => '',
255
 
            'quota-msg' => 'str_quota_msg',
256
 
            ),
257
 
     ),
258
 
    array( 
259
 
        'config_type'  => 'throttle_rules',
260
 
        'config_scope' => 'media',
261
 
        'config_data'  => array (
262
 
            0 => array (
263
 
                'order' => 1,
264
 
                'num_uploads' => 3,
265
 
                'limit_by_type' => 'remix',
266
 
                'time_period' => '1 days ago',
267
 
                'allow' => 'forbid',
268
 
                'allow_type' => 'remix',
269
 
                'stop' => 'stop',
270
 
                ),
271
 
            1 => array (
272
 
                'order' => 2,
273
 
                'num_uploads' => 4,
274
 
                'limit_by_type' => 'remix',
275
 
                'time_period' => '1 weeks ago',
276
 
                'allow' => 'forbid',
277
 
                'allow_type' => 'all',
278
 
                'stop' => 'stop',
279
 
                ),
280
 
            2 => array (
281
 
                'order' => 3,
282
 
                'num_uploads' => 1,
283
 
                'limit_by_type' => 'remix',
284
 
                'time_period' => 'forever',
285
 
                'allow' => 'allow',
286
 
                'allow_type' => 'all',
287
 
                'stop' => 'stop',
288
 
                ),
289
 
            ),
290
 
     ),
291
 
    array( 
292
 
        'config_type'  => 'logging',
293
 
        'config_scope' => 'media',
294
 
        'config_data'  => array (
295
 
            0 => 'uploaddone',
296
 
            1 => 'srcchange',
297
 
            2 => 'filedone',
298
 
            3 => 'delete',
299
 
            4 => 'deletefile',
300
 
            5 => 'userdel',
301
 
            6 => 'uploadmoderated',
302
 
            7 => 'useripbanned',
303
 
            8 => 'userreg',
304
 
            9 => 'userprof',
305
 
            10 => 'topicdelete',
306
 
            ),
307
 
     ),
308
 
    array( 
309
 
        'config_type'  => 'submit_forms',
310
 
        'config_scope' => 'media',
311
 
        'config_data'  => array (
312
 
            'remix' => array (
313
 
                'enabled' => 1,
314
 
                'submit_type' => 'Upload a font branch',
315
 
                'text' => 'Upload a font branch',
316
 
                'help' => 'Use this form to submit a branch and create a new font record',
317
 
                'tags' => array (
318
 
                    0 => 'remix',
319
 
                    1 => 'media',
320
 
                    ),
321
 
                'suggested_tags' => 'african,arabic,asian,cyrillic,fantasy,latin,monospace,ornament,sans_serif,script,serif,symbol',
322
 
                'weight' => 1,
323
 
                'form_help' => 'Upload each font file individually. When you have uploaded the first file, you can add a sampler image and copies of the source files for each font',
324
 
                'isremix' => 1,
325
 
                'licenses' => 'cczero,ofl_1_1',
326
 
                'maxfilesize' => '',
327
 
                'action' => '',
328
 
                'delete' => '',
329
 
                'logo' => 'submit-remix.gif',
330
 
                'type_key' => 'remix',
331
 
                ),
332
 
            'typeface' => array (
333
 
                'enabled' => 1,
334
 
                'submit_type' => 'Font',
335
 
                'text' => 'Upload a Font',
336
 
                'help' => 'Use this form to upload an original font file and create a new font record',
337
 
                'tags' => array (
338
 
                    0 => 'original',
339
 
                    1 => 'media',
340
 
                    ),
341
 
                'suggested_tags' => 'african,arabic,asian,cyrillic,fantasy,latin,monospace,ornament,sans_serif,script,serif,symbol',
342
 
                'weight' => 1,
343
 
                'form_help' => 'Upload each font file individually. When you have uploaded the first file, you can add a sampler image and copies of the source files for each font',
344
 
                'isremix' => '',
345
 
                'licenses' => 'cczero,ofl_1_1',
346
 
                'maxfilesize' => '',
347
 
                'action' => '',
348
 
                'delete' => '',
349
 
                'logo' => '',
350
 
                'type_key' => 'typeface',
351
 
                ),
352
 
            ),
353
 
     ),
354
 
    array( 
355
 
        'config_type'  => 'groups',
356
 
        'config_scope' => 'media',
357
 
        'config_data'  => array (
358
 
            'artist' => array (
359
 
                'group_name' => 'Your profile',
360
 
                'weight' => 2,
361
 
                ),
362
 
            'configure' => array (
363
 
                'group_name' => 'Site admin tasks',
364
 
                'weight' => 100,
365
 
                ),
366
 
            ),
367
 
     ),
368
 
    array( 
369
 
        'config_type'  => 'menu',
370
 
        'config_scope' => 'media',
371
 
        'config_data'  => array (
372
 
            'artist' => array (
373
 
                'menu_text' => 'View',
374
 
                'menu_group' => 'artist',
375
 
                'weight' => 10,
376
 
                'access' => 1,
377
 
                'id' => 'mi_yourpage',
378
 
                'action' => 'people/%login_name%',
379
 
                ),
380
 
            'editprofile' => array (
381
 
                'menu_text' => 'Edit',
382
 
                'menu_group' => 'artist',
383
 
                'weight' => 11,
384
 
                'access' => 1,
385
 
                'id' => 'mi_edityourprofile',
386
 
                'action' => 'people/profile',
387
 
                ),
388
 
            'configpage' => array (
389
 
                'menu_text' => 'Manage Site',
390
 
                'menu_group' => 'configure',
391
 
                'weight' => 1,
392
 
                'access' => 8,
393
 
                'id' => 'mi_managesite',
394
 
                'action' => 'admin/site',
395
 
                ),
396
 
            'manage_content_pages' => array (
397
 
                'menu_text' => 'Manage content pages',
398
 
                'menu_group' => 'configure',
399
 
                'weight' => 1,
400
 
                'access' => 8,
401
 
                'id' => 'mi_6',
402
 
                'action' => '/admin/content',
403
 
                ),
404
 
            'globalsettings' => array (
405
 
                'menu_text' => 'Global Settings',
406
 
                'menu_group' => 'configure',
407
 
                'weight' => 2,
408
 
                'access' => 8,
409
 
                'id' => 'mi_globalsettings',
410
 
                'action' => 'admin/site/global',
411
 
                ),
412
 
            ),
413
 
     ),
414
 
    array( 
415
 
        'config_type'  => 'channels',
416
 
        'config_scope' => 'media',
417
 
        'config_data'  => array (
418
 
            0 => array (
419
 
                'tags' => 'remix,editorial_pick',
420
 
                'text' => 'editors\' picks',
421
 
                ),
422
 
            1 => array (
423
 
                'tags' => 'remix,female_vocals',
424
 
                'text' => 'female vocals',
425
 
                ),
426
 
            2 => array (
427
 
                'tags' => 'remix,hip_hop',
428
 
                'text' => 'hip hop',
429
 
                ),
430
 
            3 => array (
431
 
                'tags' => 'remix,chill',
432
 
                'text' => 'chill',
433
 
                ),
434
 
            4 => array (
435
 
                'tags' => 'remix,downtempo',
436
 
                'text' => 'downtempo',
437
 
                ),
438
 
            5 => array (
439
 
                'tags' => 'remix,experimental',
440
 
                'text' => 'experimental',
441
 
                ),
442
 
            6 => array (
443
 
                'tags' => 'remix,trip_hop',
444
 
                'text' => 'trip hop',
445
 
                ),
446
 
            7 => array (
447
 
                'tags' => 'remix,funky',
448
 
                'text' => 'funky',
449
 
                ),
450
 
            8 => array (
451
 
                'tags' => 'remix,rap',
452
 
                'text' => 'rap',
453
 
                ),
454
 
            9 => array (
455
 
                'tags' => 'remix,dnb',
456
 
                'text' => 'drums n bass',
457
 
                ),
458
 
            10 => array (
459
 
                'tags' => 'remix,electronic',
460
 
                'text' => 'electronic',
461
 
                ),
462
 
            11 => array (
463
 
                'tags' => 'remix,acoustic',
464
 
                'text' => 'acoustic',
465
 
                ),
466
 
            ),
467
 
     ),
468
 
    array( 
469
 
        'config_type'  => 'skin-settings',
470
 
        'config_scope' => 'media',
471
 
        'config_data'  => array (
472
 
            'skin-file' => 'openfontlibrary_files/skins/oflb-skin/skin.tpl',
473
 
            'string_profile' => 'openfontlibrary_files/skins/oflb-skin/strings/oflb.php',
474
 
            'list_file' => 'openfontlibrary_files/skins/oflb-skin/oflb_upload_page_narrow.php',
475
 
            'list_files' => 'openfontlibrary_files/skins/oflb-skin/oflb_upload_list_narrow.tpl',
476
 
            'form_fields' => 'form_fields.tpl/form_fields',
477
 
            'grid_form_fields' => 'form_fields.tpl/grid_form_fields',
478
 
            'tab_pos' => 'ccskins/shared/layouts/tab_pos_nested.php',
479
 
            'box_shape' => 'ccskins/shared/layouts/box_none.php',
480
 
            'page_layout' => 'ccskins/shared/layouts/layout024.php',
481
 
            'font_scheme' => 'ccskins/shared/colors/font_arial.php',
482
 
            'font_size' => 'ccskins/shared/colors/fontsize_sz_small.php',
483
 
            'color_scheme' => 'ccskins/shared/colors/color_mono.php',
484
 
            'paging_style' => 'ccskins/shared/layouts/paging_google_ul.php',
485
 
            'formfields_layout' => 'ccskins/shared/layouts/form_fields_sets.php',
486
 
            'gridform_layout' => 'ccskins/shared/layouts/gridform_matrix.php',
487
 
            'button_style' => 'ccskins/shared/layouts/button_rounded.php',
488
 
            'head-type' => 'ccskins/shared/head.tpl',
489
 
            'skin_profile' => 'openfontlibrary_files/skins/profiles/oflb-skin.php',
490
 
            'max-listing' => 100,
491
 
            ),
492
 
     ),
493
 
    array( 
494
 
        'config_type'  => 'extras',
495
 
        'config_scope' => 'media',
496
 
        'config_data'  => array (
497
 
            'macros' => array (
498
 
                0 => 'ccskins/shared/extras/extras_edpicks.tpl',
499
 
                1 => 'ccskins/shared/extras/extras_latest.tpl',
500
 
                2 => 'ccskins/shared/extras/extras_search_box.tpl',
501
 
                ),
502
 
            ),
503
 
     ),
504
 
    array( 
505
 
        'config_type'  => 'site-logo',
506
 
        'config_scope' => 'media',
507
 
        'config_data'  => array (
508
 
            'src' => '',
509
 
            'h' => '',
510
 
            'w' => '',
511
 
            ),
512
 
     ),
513
 
    array( 
514
 
        'config_type'  => 'pseudo-verify',
515
 
        'config_scope' => 'media',
516
 
        'config_data'  => array (
517
 
            'ac3' => array (
518
 
                'action' => 'da',
519
 
                'media-type' => 'audio',
520
 
                'default-ext' => 'ac3',
521
 
                'description' => 'Dolby AC-3 / Dolby Digital',
522
 
                'tags' => 'audio,ac3',
523
 
                'pattern' => '^\x0B\x77',
524
 
                'isgetid3' => 1,
525
 
                ),
526
 
            'adif' => array (
527
 
                'action' => 'da',
528
 
                'media-type' => 'audio',
529
 
                'default-ext' => 'adif',
530
 
                'description' => 'AAC - ADIF format',
531
 
                'tags' => 'audio,adif',
532
 
                'pattern' => '^ADIF',
533
 
                'isgetid3' => 1,
534
 
                ),
535
 
            'adts' => array (
536
 
                'action' => 'da',
537
 
                'media-type' => 'audio',
538
 
                'default-ext' => 'adts',
539
 
                'description' => 'AAC - ADTS format',
540
 
                'tags' => 'audio,adts',
541
 
                'pattern' => '^\xFF[\xF0-\xF1\xF8-\xF9]',
542
 
                'isgetid3' => 1,
543
 
                ),
544
 
            'avr' => array (
545
 
                'action' => 'da',
546
 
                'media-type' => 'audio',
547
 
                'default-ext' => 'avr',
548
 
                'description' => 'Audio Visual Research',
549
 
                'tags' => 'audio,avr',
550
 
                'pattern' => '^2BIT',
551
 
                'isgetid3' => 1,
552
 
                ),
553
 
            'bonk' => array (
554
 
                'action' => 'da',
555
 
                'media-type' => 'audio',
556
 
                'default-ext' => 'bonk',
557
 
                'description' => 'Bonk v0.9+',
558
 
                'tags' => 'audio,bonk',
559
 
                'pattern' => '^\x00(BONK|INFO|META| ID3)',
560
 
                'isgetid3' => 1,
561
 
                ),
562
 
            'la' => array (
563
 
                'action' => 'da',
564
 
                'media-type' => 'audio',
565
 
                'default-ext' => 'la',
566
 
                'description' => 'Lossless Audio',
567
 
                'tags' => 'audio,la',
568
 
                'pattern' => '^LA0[2-4]',
569
 
                'isgetid3' => 1,
570
 
                ),
571
 
            'lpac' => array (
572
 
                'action' => 'da',
573
 
                'media-type' => 'audio',
574
 
                'default-ext' => 'lpac',
575
 
                'description' => 'Lossless Predictive Audio Compression',
576
 
                'tags' => 'audio,lpac',
577
 
                'pattern' => '^LPAC',
578
 
                'isgetid3' => 1,
579
 
                ),
580
 
            'mac' => array (
581
 
                'action' => 'da',
582
 
                'media-type' => 'audio',
583
 
                'default-ext' => 'mac',
584
 
                'description' => 'Monkey\'s Audio Compressor',
585
 
                'tags' => 'audio,mac',
586
 
                'pattern' => '^MAC',
587
 
                'isgetid3' => 1,
588
 
                ),
589
 
            'mod' => array (
590
 
                'action' => 'da',
591
 
                'media-type' => 'audio',
592
 
                'default-ext' => 'mod',
593
 
                'description' => 'MODule (assorted sub-formats)',
594
 
                'tags' => 'audio,mod',
595
 
                'pattern' => '^.{1080}(M.K.|[5-9]CHN|[1-3][0-9]CH)',
596
 
                'isgetid3' => 1,
597
 
                ),
598
 
            'it' => array (
599
 
                'action' => 'da',
600
 
                'media-type' => 'audio',
601
 
                'default-ext' => 'it',
602
 
                'description' => 'MODule (Impulse Tracker)',
603
 
                'tags' => 'audio,it',
604
 
                'pattern' => '^IMPM',
605
 
                'isgetid3' => 1,
606
 
                ),
607
 
            'xm' => array (
608
 
                'action' => 'da',
609
 
                'media-type' => 'audio',
610
 
                'default-ext' => 'xm',
611
 
                'description' => 'MODule (eXtended Module)',
612
 
                'tags' => 'audio,xm',
613
 
                'pattern' => '^Extended Module',
614
 
                'isgetid3' => 1,
615
 
                ),
616
 
            's3m' => array (
617
 
                'action' => 'da',
618
 
                'media-type' => 'audio',
619
 
                'default-ext' => 's3m',
620
 
                'description' => 'MODule (ScreamTracker)',
621
 
                'tags' => 'audio,s3m',
622
 
                'pattern' => '^.{44}SCRM',
623
 
                'isgetid3' => 1,
624
 
                ),
625
 
            'mpc' => array (
626
 
                'action' => 'da',
627
 
                'media-type' => 'audio',
628
 
                'default-ext' => 'mpc',
629
 
                'description' => 'Musepack / MPEGplus',
630
 
                'tags' => 'audio,mpc',
631
 
                'pattern' => '^(MP\+|[\x00\x01\x10\x11\x40\x41\x50\x51\x80\x81\x90\x91\xC0\xC1\xD0\xD1][\x20-37][\x00\x20\x40\x60\x80\xA0\xC0\xE0])',
632
 
                'isgetid3' => 1,
633
 
                ),
634
 
            'ofr' => array (
635
 
                'action' => 'da',
636
 
                'media-type' => 'audio',
637
 
                'default-ext' => 'ofr',
638
 
                'description' => 'OptimFROG',
639
 
                'tags' => 'audio,ofr',
640
 
                'pattern' => '^(\*RIFF|OFR)',
641
 
                'isgetid3' => 1,
642
 
                ),
643
 
            'rkau' => array (
644
 
                'action' => 'da',
645
 
                'media-type' => 'audio',
646
 
                'default-ext' => 'rkau',
647
 
                'description' => 'RKive AUdio compressor',
648
 
                'tags' => 'audio,rkau',
649
 
                'pattern' => '^RKA',
650
 
                'isgetid3' => 1,
651
 
                ),
652
 
            'shn' => array (
653
 
                'action' => 'da',
654
 
                'media-type' => 'audio',
655
 
                'default-ext' => 'shn',
656
 
                'description' => 'MKW Shorten',
657
 
                'tags' => 'audio,shn',
658
 
                'pattern' => '^ajkg',
659
 
                'isgetid3' => 1,
660
 
                ),
661
 
            'tta' => array (
662
 
                'action' => 'da',
663
 
                'media-type' => 'audio',
664
 
                'default-ext' => 'tta',
665
 
                'description' => 'TTA Lossless Audio Compressor',
666
 
                'tags' => 'audio,tta',
667
 
                'pattern' => '^TTA',
668
 
                'isgetid3' => 1,
669
 
                ),
670
 
            'voc' => array (
671
 
                'action' => 'da',
672
 
                'media-type' => 'audio',
673
 
                'default-ext' => 'voc',
674
 
                'description' => 'Creative Voice',
675
 
                'tags' => 'audio,voc',
676
 
                'pattern' => '^Creative Voice File',
677
 
                'isgetid3' => 1,
678
 
                ),
679
 
            'vqf' => array (
680
 
                'action' => 'da',
681
 
                'media-type' => 'audio',
682
 
                'default-ext' => 'vqf',
683
 
                'description' => 'Vector Quantization Format',
684
 
                'tags' => 'audio,vqf',
685
 
                'pattern' => '^TWIN',
686
 
                'isgetid3' => 1,
687
 
                ),
688
 
            'wv' => array (
689
 
                'action' => 'da',
690
 
                'media-type' => 'audio',
691
 
                'default-ext' => 'wv',
692
 
                'description' => 'WavPack (v4.0+)',
693
 
                'tags' => 'audio,wv',
694
 
                'pattern' => '^wvpk',
695
 
                'isgetid3' => 1,
696
 
                ),
697
 
            'bink' => array (
698
 
                'action' => 'da',
699
 
                'media-type' => 'video',
700
 
                'default-ext' => 'bink',
701
 
                'description' => 'Bink / Smacker',
702
 
                'tags' => 'audio,video,bink',
703
 
                'pattern' => '^(BIK|SMK)',
704
 
                'isgetid3' => 1,
705
 
                ),
706
 
            'matroska' => array (
707
 
                'action' => 'da',
708
 
                'media-type' => 'video',
709
 
                'default-ext' => 'matroska',
710
 
                'description' => 'Mastroka (audio/video)',
711
 
                'tags' => 'audio,video,matroska',
712
 
                'pattern' => '^\x1A\x45\xDF\xA3',
713
 
                'isgetid3' => 1,
714
 
                ),
715
 
            'mpeg' => array (
716
 
                'action' => 'da',
717
 
                'media-type' => 'video',
718
 
                'default-ext' => 'mpeg',
719
 
                'description' => 'Moving Pictures Experts Group (audio/video)',
720
 
                'tags' => 'audio,video,mpeg',
721
 
                'pattern' => '^\x00\x00\x01(\xBA|\xB3)',
722
 
                'isgetid3' => 1,
723
 
                ),
724
 
            'nsv' => array (
725
 
                'action' => 'da',
726
 
                'media-type' => 'video',
727
 
                'default-ext' => 'nsv',
728
 
                'description' => 'Nullsoft Streaming Video',
729
 
                'tags' => 'audio,video,nsv',
730
 
                'pattern' => '^NSV[sf]',
731
 
                'isgetid3' => 1,
732
 
                ),
733
 
            'pcd' => array (
734
 
                'action' => 'da',
735
 
                'media-type' => 'graphic',
736
 
                'default-ext' => 'pcd',
737
 
                'description' => 'Kodak Photo CD',
738
 
                'tags' => 'graphic,pcd',
739
 
                'pattern' => '^.{2048}PCD_IPI\x00',
740
 
                'isgetid3' => 1,
741
 
                ),
742
 
            'tiff' => array (
743
 
                'action' => 'da',
744
 
                'media-type' => 'graphic',
745
 
                'default-ext' => 'tiff',
746
 
                'description' => 'Tagged Information File Format',
747
 
                'tags' => 'graphic,tiff',
748
 
                'pattern' => '^(II\x2A\x00|MM\x00\x2A)',
749
 
                'isgetid3' => 1,
750
 
                ),
751
 
            'iso' => array (
752
 
                'action' => 'da',
753
 
                'media-type' => 'document',
754
 
                'default-ext' => 'iso',
755
 
                'description' => '(ISO) CD-ROM Image',
756
 
                'tags' => 'document,iso',
757
 
                'pattern' => '^.{32769}CD001',
758
 
                'isgetid3' => 1,
759
 
                ),
760
 
            'rar' => array (
761
 
                'action' => 'da',
762
 
                'media-type' => 'archive',
763
 
                'default-ext' => 'rar',
764
 
                'description' => 'RAR compressed data',
765
 
                'tags' => 'archive,rar',
766
 
                'pattern' => '^Rar\!',
767
 
                'isgetid3' => 1,
768
 
                ),
769
 
            'szip' => array (
770
 
                'action' => 'da',
771
 
                'media-type' => 'archive',
772
 
                'default-ext' => 'szip',
773
 
                'description' => 'SZIP compressed data',
774
 
                'tags' => 'archive,szip',
775
 
                'pattern' => '^SZ\x0A\x04',
776
 
                'isgetid3' => 1,
777
 
                ),
778
 
            'txt' => array (
779
 
                'action' => 'da',
780
 
                'media-type' => 'document',
781
 
                'default-ext' => 'txt',
782
 
                'description' => 'Plain Text (ASCII)',
783
 
                'tags' => 'document,txt',
784
 
                'pattern' => '^[\s\x21-\x7F]+$',
785
 
                'isgetid3' => '',
786
 
                ),
787
 
            'flv' => array (
788
 
                'action' => 'da',
789
 
                'media-type' => 'video',
790
 
                'default-ext' => 'flv',
791
 
                'description' => 'Flash Video',
792
 
                'tags' => 'audio,video,flv',
793
 
                'pattern' => '^FLV\x01',
794
 
                'isgetid3' => 1,
795
 
                ),
796
 
            'tar' => array (
797
 
                'action' => 'da',
798
 
                'media-type' => 'archive',
799
 
                'default-ext' => 'tar',
800
 
                'description' => 'TAR compressed data',
801
 
                'tags' => 'archive,tar',
802
 
                'pattern' => '^.{100}[0-9\x20]{7}\x00[0-9\x20]{7}\x00[0-9\x20]{7}\x00[0-9\x20\x00]{12}[0-9\x20\x00]{12}',
803
 
                'isgetid3' => 1,
804
 
                ),
805
 
            'gz' => array (
806
 
                'action' => 'da',
807
 
                'media-type' => 'archive',
808
 
                'default-ext' => 'gz',
809
 
                'description' => 'GZIP compressed data',
810
 
                'tags' => 'archive,gz',
811
 
                'pattern' => '^\x1F\x8B\x08',
812
 
                'isgetid3' => 1,
813
 
                ),
814
 
            'pdf' => array (
815
 
                'action' => 'da',
816
 
                'media-type' => 'document',
817
 
                'default-ext' => 'pdf',
818
 
                'description' => 'Adobe PDF',
819
 
                'tags' => 'document,pdf',
820
 
                'pattern' => '^\x25PDF',
821
 
                'isgetid3' => 1,
822
 
                ),
823
 
            'msoffice' => array (
824
 
                'action' => 'da',
825
 
                'media-type' => 'document',
826
 
                'default-ext' => 'msoffice',
827
 
                'description' => 'Office (Word, Excel, Powerpoint, etc.)',
828
 
                'tags' => 'document,msoffice',
829
 
                'pattern' => '^\xD0\xCF\x11\xE0',
830
 
                'isgetid3' => 1,
831
 
                ),
832
 
            'ttf' => array (
833
 
                'action' => 'sig',
834
 
                'media-type' => 'graphic',
835
 
                'default-ext' => 'ttf',
836
 
                'description' => 'TrueType Font',
837
 
                'tags' => 'graphic,ttf',
838
 
                'pattern' => '^(\000\001\000\000\000|true|typ1|000\000\000|true|typ1|FFIL)',
839
 
                'isgetid3' => '',
840
 
                ),
841
 
            'otf' => array (
842
 
                'action' => 'sig',
843
 
                'default-ext' => 'otf',
844
 
                'media-type' => 'font',
845
 
                'description' => 'OpenType font',
846
 
                'tags' => 'graphic,otf',
847
 
                'pattern' => '^(0x00010000|OTTO)',
848
 
                'isgetid3' => '',
849
 
                ),
850
 
            'pfa' => array (
851
 
                'action' => 'sig',
852
 
                'default-ext' => 'pfa',
853
 
                'media-type' => 'font',
854
 
                'description' => 'PostScript Type 1 font',
855
 
                'tags' => 'graphic,pfa',
856
 
                'pattern' => '^(%\!FontType1|%\!PS-AdobeFont-1.0|LWFN)',
857
 
                'isgetid3' => '',
858
 
                ),
859
 
            'sfd' => array (
860
 
                'action' => 'sig',
861
 
                'default-ext' => 'sfd',
862
 
                'media-type' => 'source',
863
 
                'description' => 'FontForge source',
864
 
                'tags' => 'graphic,sfd',
865
 
                'pattern' => '^SplineFontDB',
866
 
                'isgetid3' => '',
867
 
                ),
868
 
            'dss' => array (
869
 
                'action' => 'da',
870
 
                'default-ext' => 'dss',
871
 
                'media-type' => 'audio',
872
 
                'description' => '(??)',
873
 
                'tags' => 'audio,dss',
874
 
                'pattern' => '^[\x02]dss',
875
 
                'isgetid3' => 1,
876
 
                ),
877
 
            'dts' => array (
878
 
                'action' => 'da',
879
 
                'default-ext' => 'dts',
880
 
                'media-type' => 'audio',
881
 
                'description' => '(??)',
882
 
                'tags' => 'audio,dts',
883
 
                'pattern' => '^\x7F\xFE\x80\x01',
884
 
                'isgetid3' => 1,
885
 
                ),
886
 
            'par2' => array (
887
 
                'action' => 'da',
888
 
                'default-ext' => 'par2',
889
 
                'media-type' => 'document',
890
 
                'description' => '(??)',
891
 
                'tags' => 'document,par2',
892
 
                'pattern' => '^PAR2\x00PKT',
893
 
                'isgetid3' => 1,
894
 
                ),
895
 
            'zip' => array (
896
 
                'action' => 'sig',
897
 
                'default-ext' => 'zip',
898
 
                'media-type' => 'archive',
899
 
                'description' => 'ZIP archive',
900
 
                'tags' => 'archive,zip',
901
 
                'pattern' => '^\x50\x4B\x03\x04',
902
 
                'isgetid3' => '',
903
 
                ),
904
 
            ),
905
 
     ),
906
 
   ); 
907
 
 
908
 
 ?>