This repository has been archived by the owner on Aug 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
121 lines (120 loc) · 3.26 KB
/
blueprints.yaml
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
name: Last.fm
version: 2.0.1
description: A simple Last.fm scrobbler
icon: headphones
author:
name: Ayoze Hernández Díaz
email: ayoze.dev@gmail.com
homepage: https://github.com/ayozehd/lastfm
keywords: plugin, music, scrobbler, lastfm, cover, vue
bugs: https://github.com/ayozehd/lastfm/issues
docs: https://github.com/ayozehd/lastfm/blob/master/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.6' }
form:
validation: strict
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
security.fieldset:
type: fieldset
title: Security
info: API Key
markdown: true
text: 'Signup or login at [Last.fm](https://www.last.fm/) and then [create an API account](https://www.last.fm/api/account/create) to get your API Key:'
icon: lock
collapsible: true
fields:
api_key:
type: text
label: API Key
placeholder: Last.fm API key
help: Create a Last.fm API account to get your key.
lastfm_username:
type: text
label: Last.fm Username
placeholder: Username
help: Find your Last.fm username in your profile
appearance.fieldset:
type: fieldset
title: Appearance
icon: paint-brush
collapsible: true
fields:
limit:
type: number
size: small
label: Slides
help: 'Total list of slides from Last.fm. Max: 50'
validate:
max: 50
min: 1
display:
type: number
size: small
label: Display
help: 'Number of visible slides. Max: 25'
validate:
max: 25
min: 1
width:
type: number
size: small
label: Width
help: Width of main slide
height:
type: number
size: small
label: Height
help: Height of main slide
image_size:
type: select
size: small
label: Image size
help: Choose a size for the album image
default: medium
options:
small: Small
medium: Medium
large: Large
extralarge: Extralarge
background_color:
type: colorpicker
label: Background color
advanced.fieldset:
type: fieldset
title: Advanced
icon: flask
collapsible: true
fields:
path:
type: text
label: Route
placeholder: '/_lastfm'
help: Change this value only in case of collision with your other pages. `/_lastfm` by default.
cache_enabled:
type: toggle
label: Cache enabled
help: Enable or disable the cache storage
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
cache_lifetime:
type: number
size: x-small
label: Cache lifetime
help: 'Define how much long should keep data stored in cache.'
append: seconds