-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_ff_music_chart.xml
134 lines (130 loc) · 5.56 KB
/
mod_ff_music_chart.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="site" method="upgrade">
<name>Music Chart Display</name>
<author>MrMeo</author>
<creationDate>December 2019</creationDate>
<copyright>https://github.com/trananhmanh89/mod-ff-music-chart</copyright>
<license>GPL v2</license>
<authorUrl>https://github.com/trananhmanh89/mod-ff-music-chart</authorUrl>
<version>1.0.3</version>
<description><![CDATA[
Music chart for joomla. Show music charts from us billboard, uk.
Contact me: <a href="https://github.com/trananhmanh89/mod-ff-music-chart" target="_blank" >Github</a>
]]></description>
<files>
<filename module="mod_ff_music_chart">mod_ff_music_chart.php</filename>
<filename>helper.php</filename>
<folder>assets</folder>
<folder>fields</folder>
<folder>tmpl</folder>
<folder>vendor</folder>
</files>
<languages>
<language tag="en-GB">en-GB.mod_ff_music_chart.ini</language>
<language tag="en-GB">en-GB.mod_ff_music_chart.sys.ini</language>
</languages>
<updateservers>
<server type="collection" name="FF Update Server">https://raw.githubusercontent.com/trananhmanh89/ff-update-server/master/list.xml</server>
</updateservers>
<config>
<fields name="params">
<fieldset name="basic" addfieldpath="/modules/mod_ff_music_chart/fields">
<field
type="sponsor"
label="Like my work?"
name="like_my_work"
/>
<field
name="source"
type="list"
label="Source"
description="Choose source to display data."
default="billboard"
>
<option value="billboard">billboard.com</option>
<option value="officialcharts">officialcharts.com</option>
</field>
<field
name="billboard_chart"
type="list"
label="Billboard Charts"
description="Choose chart you want to show"
default="billboard_hot_100"
showon="source:billboard"
>
<option value="billboard_hot_100">Hot 100</option>
<option value="billboard_200">Billboard 200</option>
<option value="billboard_artist_100">Artist 100</option>
<option value="billboard_top_pop_songs">Top Pop Songs</option>
<option value="billboard_top_country_songs">Top Country Songs</option>
<option value="billboard_top_country_albums">Top Country Albums</option>
<option value="billboard_country_airplay">Country Airplay</option>
</field>
<field
name="official_chart"
type="list"
label="Official Charts"
description="Choose chart you want to show"
default="uk_top_100"
showon="source:officialcharts"
>
<option value="uk_single_top_100">Uk Single Top 100</option>
<option value="uk_album_top_100">Uk Album Top 100</option>
</field>
<field
name="num_item"
type="number"
label="Number of item"
description="Choose how many items you want to display"
default="20"
/>
<field
name="update_time"
type="number"
label="Update Time"
description="Time to update the chart result. Count as second."
default="3600"
/>
<field
name="default_cover"
type="media"
label="Default Song Cover"
description="For some reasons, song doesn't have cover. So will use this image instead." />
</fieldset>
<fieldset name="advanced">
<field
name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC"
/>
<field
name="moduleclass_sfx"
type="textarea"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
rows="3"
/>
<field
name="cache"
type="list"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"
default="1"
filter="integer"
>
<option value="1">JGLOBAL_USE_GLOBAL</option>
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field
name="cache_time"
type="number"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC"
default="900"
filter="integer"
/>
</fieldset>
</fields>
</config>
</extension>