-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmp3browser.xml
191 lines (180 loc) · 13 KB
/
mp3browser.xml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is part of mp3 Browser.
This is free software: you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation, either version 2 of the
License, or (at your option) any later version.
You should have received a copy of the GNU General Public License (V2) along with this. If not,
see <http://www.gnu.org/licenses/>.
Previous copyright likely held by others such as Jon Hollis, Luke Collymore, as associated with
dotcomdevelopment.com.
Copyright 2012-'13 Totaal Software (www.totaalsoftware.com).
-->
<extension version="1.6" type="plugin" group="content" method="upgrade">
<name>PLG_MP3BROWSER_SYS_NAME</name>
<version>0.4.1</version>
<description>
<![CDATA[Plugin to create a formatted table of MP3s.
<br/<br/>To use the plugin:
<br/><br/>Place the tags <code>{music}folderName/subfolder{/music}</code> in any content
item.
<br/>The plugin will strip the tags and replace it with a table containing all the
MP3s from that folder for playing or downloading.
<br/><br/>For the file name the MP3's ID3 tag of title/artist is used; if no title tag
is present the file name is used.
<br/><br/>Please remember to publish the plugin!
<br/><br/>Examples:
<br/><code>{music}images/tunes{/music}</code>
<br/><code>{music}media/dj-fresh{/music}</code>
<br/><br/>As of yet this is a shameless fork from dotcomdevelopment.com, so I suggest
not hassling them for support on this fork.
<br/><br/>Released Under the GNU/GPL (V2)
<br/><a href="http://www.gnu.org/licenses/gpl-2.0.html"
target="_blank">http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL (V2)</a>]]>
</description>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL (V2)</license>
<author>Totaal Software</author>
<authoremail>[email protected]</authoremail>
<authorurl>http://code.google.com/p/mp3-browser/</authorurl>
<copyright>Previous copyright likely held by others such as Jon Hollis, Luke Collymore, as
associated with dotcomdevelopment.com. Copyright 2012-'13 Totaal Software
</copyright>
<creationDate>2012</creationDate>
<files>
<filename>Configuration.php</filename>
<filename>CoverImage.php</filename>
<filename>downloadtune-blue.jpg</filename>
<filename>downloadtune.jpg</filename>
<filename>index.html</filename>
<filename plugin="mp3browser">mp3browser.php</filename>
<filename>MusicFolder.php</filename>
<filename>MusicItem.php</filename>
<filename>MusicTag.php</filename>
<filename>MusicTagsHelper.php</filename>
<filename>PluginHelper.php</filename>
<folder>dewplayer</folder>
<folder>getid3/</folder>
<folder>html/</folder>
</files>
<languages>
<language tag="en-GB">language/en-GB/en-GB.plg_content_mp3browser.ini</language>
<language tag="en-GB">language/en-GB/en-GB.plg_content_mp3browser.sys.ini</language>
<language tag="nl-NL">language/nl-NL/nl-NL.plg_content_mp3browser.ini</language>
<language tag="nl-NL">language/nl-NL/nl-NL.plg_content_mp3browser.sys.ini</language>
</languages>
<config>
<fields name="params">
<fieldset name="basic">
<field name="spacerLimit" type="spacer" label="PLG_MP3BROWSER_SYS_PARAMS_SPACER_LIMIT" />
<field name="maxRows" type="text" default="20"
label="PLG_MP3BROWSER_SYS_PARAMS_MAXROWS" description="PLG_MP3BROWSER_SYS_PARAMS_MAXROWS_DESC" />
<field name="hideEmptyTable" type="checkbox" default="0" value="0" label="PLG_MP3BROWSER_SYS_PARAMS_HIDEEMPTYTABLE"
description="PLG_MP3BROWSER_SYS_PARAMS_HIDEEMPTYTABLE_DESC"/>
<field name="includeSubdirectories" type="checkbox" default="0" value="0" label="PLG_MP3BROWSER_SYS_PARAMS_SUBDIRS"
description="PLG_MP3BROWSER_SYS_PARAMS_SUBDIRS_DESC">
</field>
<field name="spacerSorting" type="spacer" label="PLG_MP3BROWSER_SYS_PARAMS_SPACER_SORTING" />
<field name="sortByField" type="list" default="filename" label="PLG_MP3BROWSER_SYS_PARAMS_SORTBYFIELD"
description="PLG_MP3BROWSER_SYS_PARAMS_SORTBYFIELD_DESC">
<option value="fileatime">PLG_MP3BROWSER_SYS_PARAMS_SORTBYFIELD_FILEATIME</option>
<option value="filectime">PLG_MP3BROWSER_SYS_PARAMS_SORTBYFIELD_FILECTIME</option>
<option value="filemtime">PLG_MP3BROWSER_SYS_PARAMS_SORTBYFIELD_FILEMTIME</option>
<option value="filename">PLG_MP3BROWSER_SYS_PARAMS_SORTBYFIELD_FILENAME</option>
</field>
<field name="sortBy" type="radio" default="1" label="PLG_MP3BROWSER_SYS_PARAMS_SORTBY"
description="PLG_MP3BROWSER_SYS_PARAMS_SORTBY_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_SORTBY_ASCENDING</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_SORTBY_DESCENDING</option>
</field>
</fieldset>
<fieldset name="columns" label="PLG_MP3BROWSER_SYS_PARAMS_FIELDSET_COLUMNS">
<field name="showDownload" type="radio" default="1" label="PLG_MP3BROWSER_SYS_PARAMS_COL_DOWNLOAD"
description="PLG_MP3BROWSER_SYS_PARAMS_COL_DOWNLOAD_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_SHOW</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_HIDE</option>
</field>
<field name="limitDownload" type="checkbox" default="0" value="1" label="PLG_MP3BROWSER_SYS_PARAMS_LIMITDOWNLOAD"
description="PLG_MP3BROWSER_SYS_PARAMS_LIMITDOWNLOAD_DESC">
</field>
<field name="showSize" type="radio" default="1" label="PLG_MP3BROWSER_SYS_PARAMS_COL_SIZE"
description="PLG_MP3BROWSER_SYS_PARAMS_COL_SIZE_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_SHOW</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_HIDE</option>
</field>
<field name="showLength" type="radio" default="1" label="PLG_MP3BROWSER_SYS_PARAMS_COL_DURATION"
description="PLG_MP3BROWSER_SYS_PARAMS_COL_DURATION_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_SHOW</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_HIDE</option>
</field>
<field name="showExtendedInfo" type="radio" default="0" label="PLG_MP3BROWSER_SYS_PARAMS_COL_EXTENDEDINFO"
description="PLG_MP3BROWSER_SYS_PARAMS_COL_EXTENDEDINFO_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_SHOW</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_HIDE</option>
</field>
</fieldset>
<fieldset name="styling" label="PLG_MP3BROWSER_SYS_PARAMS_FIELDSET_STYLING">
<field name="spacerTable" type="spacer" label="PLG_MP3BROWSER_SYS_PARAMS_SPACER_TABLESTYLING" />
<field name="tableWidth" type="text" size="5" label="PLG_MP3BROWSER_SYS_PARAMS_TABLEWIDTH"
description="PLG_MP3BROWSER_SYS_PARAMS_TABLEWIDTH_DESC" />
<field name="tableStrategy" type="list" default="table" label="PLG_MP3BROWSER_SYS_PARAMS_TABLESTRATEGY"
description="PLG_MP3BROWSER_SYS_PARAMS_TABLESTRATEGY_DESC">
<option value="div">PLG_MP3BROWSER_SYS_PARAMS_TABLESTRATEGY_DIV</option>
<option value="table">PLG_MP3BROWSER_SYS_PARAMS_TABLESTRATEGY_TABLE</option>
<option value="switch">PLG_MP3BROWSER_SYS_PARAMS_TABLESTRATEGY_SWITCH</option>
</field>
<field name="tableStrategySwitchTemplate" type="templatestyle"
label="PLG_MP3BROWSER_SYS_PARAMS_TABLESTRATEGYSWITCHTEMPLATE" description="PLG_MP3BROWSER_SYS_PARAMS_TABLESTRATEGYSWITCHTEMPLATE_DESC" />
<field name="headerHeight" type="text" size="5" label="PLG_MP3BROWSER_SYS_PARAMS_HEADERHEIGHT"
description="PLG_MP3BROWSER_SYS_PARAMS_HEADERHEIGHT_DESC" />
<field name="rowHeight" type="text" size="5" label="PLG_MP3BROWSER_SYS_PARAMS_ROWHEIGHT"
description="PLG_MP3BROWSER_SYS_PARAMS_ROWHEIGHT_DESC" />
<field name="headerColor" type="text" size="12" default="#CCCCCC" label="PLG_MP3BROWSER_SYS_PARAMS_HEADERCOLOR"
description="PLG_MP3BROWSER_SYS_PARAMS_HEADERCOLOR_DESC" />
<field name="primaryRowColor" type="text" size="12" default="#FFFFFF"
label="PLG_MP3BROWSER_SYS_PARAMS_PRIMARYROWCOLOR" description="PLG_MP3BROWSER_SYS_PARAMS_PRIMARYROWCOLOR_DESC" />
<field name="altRowColor" type="text" size="12" default="#D6E3EB" label="PLG_MP3BROWSER_SYS_PARAMS_ALTROWCOLOR"
description="PLG_MP3BROWSER_SYS_PARAMS_ALTROWCOLOR_DESC" />
<field name="bottomRowBorder" type="text" size="12" default="#C0C0C0"
label="PLG_MP3BROWSER_SYS_PARAMS_BOTTOMROWBORDER" description="PLG_MP3BROWSER_SYS_PARAMS_BOTTOMROWBORDER_DESC" />
<field name="spacerDownloadColumn" type="spacer" label="PLG_MP3BROWSER_SYS_PARAMS_SPACER_DOWNLOADCOLUMNSTYLING" />
<field name="downloadColWidth" type="text" size="5" default=""
label="PLG_MP3BROWSER_SYS_PARAMS_DOWNLOADCOLWIDTH"
description="PLG_MP3BROWSER_SYS_PARAMS_DOWNLOADCOLWIDTH_DESC" />
<field name="downloadImage" type="text" size="40" label="PLG_MP3BROWSER_SYS_PARAMS_DOWNLOADIMAGE"
description="PLG_MP3BROWSER_SYS_PARAMS_DOWNLOADIMAGE_DESC" />
<field name="downloadImageAlt" type="text" size="40" default=""
label="PLG_MP3BROWSER_SYS_PARAMS_DOWNLOADIMAGEALT"
description="PLG_MP3BROWSER_SYS_PARAMS_DOWNLOADIMAGEALT_DESC" />
<field name="spacerVolumeControl" type="spacer" label="PLG_MP3BROWSER_SYS_PARAMS_SPACER_VOLUMECONTROLSTYLING" />
<field name="volumeControl" type="radio" default="0" label="PLG_MP3BROWSER_SYS_PARAMS_VOLUMECONTROL"
description="PLG_MP3BROWSER_SYS_PARAMS_VOLUMECONTROL_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_SHOW</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_HIDE</option>
</field>
<field name="spacerBacklink" type="spacer" label="PLG_MP3BROWSER_SYS_PARAMS_SPACER_BACKLINK" />
<field name="backlink" type="radio" default="1" label="PLG_MP3BROWSER_SYS_PARAMS_BACKLINK"
description="PLG_MP3BROWSER_SYS_PARAMS_BACKLINK_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_SHOW</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_HIDE</option>
</field>
</fieldset>
<fieldset name="advanced">
<field name="configurationOverrideAllowed" type="radio" default="0" label="PLG_MP3BROWSER_SYS_PARAMS_CONFIGURATIONOVERRIDEALLOWED"
description="PLG_MP3BROWSER_SYS_PARAMS_CONFIGURATIONOVERRIDEALLOWED_DESC">
<option value="1">PLG_MP3BROWSER_SYS_PARAMS_CONFIGURATIONOVERRIDEALLOWED_ALLOWED</option>
<option value="0">PLG_MP3BROWSER_SYS_PARAMS_CONFIGURATIONOVERRIDEALLOWED_NOTALLOWED</option>
</field>
<field name="fileFilter" type="text" default=".+\.mp3" label="PLG_MP3BROWSER_SYS_PARAMS_FILEFILTER"
description="PLG_MP3BROWSER_SYS_PARAMS_FILEFILTER_DESC" />
<field name="id3v1Encoding" type="text" default="ISO-8859-1"
label="PLG_MP3BROWSER_SYS_PARAMS_ID3V1ENCODING"
description="PLG_MP3BROWSER_SYS_PARAMS_ID3V1ENCODING_DESC" />
<field name="playerCode" type="textarea"
default="<audio controls preload="metadata" style="width: %1;"><source src="%3" type="audio/mpeg"><object width="%1" height="20" bgcolor="%2" data="%4" type="application/x-shockwave-flash"><param name="wmode" value="transparent" /><param name="movie" value="%4" /><param name="flashvars" value="mp3=%3" /></object></audio>"
label="PLG_MP3BROWSER_SYS_PARAMS_PLAYERCODE"
description="PLG_MP3BROWSER_SYS_PARAMS_PLAYERCODE_DESC"
cols="50" rows="5" filter="raw" />
</fieldset>
</fields>
</config>
</extension>