-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.php
48 lines (48 loc) · 1.43 KB
/
conf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
$EXT_CONF['audd'] = array(
'title' => 'Retrieve mp3 info from Audd',
'description' => 'Extracts 10 seconds of an mp3 song, sends it to Audd.io and evaluates the result.',
'disable' => false,
'version' => '1.0.0',
'releasedate' => '2024-01-02',
'author' => array('name'=>'Uwe Steinmann', 'email'=>'[email protected]', 'company'=>'MMK GmbH'),
'config' => array(
'apitoken' => array(
'title'=>'API token',
'help'=>'API token used to access Audd.io. If not set, the number of accesses is vastly reduced.',
'type'=>'input',
),
'startsec' => array(
'title'=>'Start second',
'help'=>'Start in seconds of portion of mp3 file sind to Audd.io',
'type'=>'number',
),
'numsecs' => array(
'title'=>'Duration',
'help'=>'Number of seconds extracted from mp3 file and send to Audd.io',
'type'=>'number',
),
'countries' => array(
'title'=>'Countries',
'help'=>'List only albums published in this countries',
'type'=>'select',
'options' => ['DE'=>'Germany','US'=>'USA', 'GB'=>'Great Britain', 'JP'=>'Japan', 'XE'=>'Europe'],
'multiple' => true,
'allow_empty' => true,
'size' => 1,
),
),
'constraints' => array(
'depends' => array('php' => '5.6.40-', 'seeddms' => ['5.1.24-5.1.99', '6.0.17-6.0.99']),
),
'icon' => 'icon.svg',
'changelog' => 'changelog.md',
'class' => array(
'file' => 'class.audd.php',
'name' => 'SeedDMS_ExtAudd'
),
'language' => array(
'file' => 'lang.php',
),
);
?>