-
Notifications
You must be signed in to change notification settings - Fork 3
/
GPMDPTest.ini
156 lines (141 loc) · 2.41 KB
/
GPMDPTest.ini
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
[Rainmeter]
Update=1000
DynamicWindowSize=1
[Variables]
FontColor=255,255,255,255
FontColorShadow=169,157,136
LineColor=255,255,255,255
LineBackgroundColor=122,191,204,50
; change these values to your meter names
MeterTitleName=MeterTitle
MeterArtistName=MeterArtist
MeterAlbumName=MeterAlbum
MeterTotalTime=MeterLength
MeterCurrentTime=MeterPosition
[StyleTitle]
FontFace=Myriad Pro
FontSize=15
StringStyle=Bold
FontColor=#FontColor#
StringEffect=Border
StringAlign=Left
AntiAlias=1
[StyleAlbumArtist]
FontFace=Myriad Pro
FontSize=12
StringStyle=Italic
FontColor=#FontColor#
StringEffect=Border
FontEffectColor=#FontColorShadow#
StringAlign=Left
AntiAlias=1
[MeasureLuaScript]
Measure=Script
ScriptFile="#CURRENTPATH#GPMDPJson.lua"
; Change this path to your playback-information, this should be the same location except with a different user ofcourse. So "Maart" should be your username and for most people it's probably drive C
FileToRead="D:\Users\maart\AppData\Roaming\Google Play Music Desktop Player\json_store\playback.json"
JSONParser="#CURRENTPATH#JSON.lua"
[MeasureImageDownload]
Measure=Plugin
Plugin=WebParser
url=#CoverUrl#
Download=1
DynamicVariables=1
DownloadFile=image1.jpg
[MeasureCalcProgress]
Measure=Calc
Formula= #Length#
DynamicVariables=1
[MeterTitle]
Meter=String
MeterStyle=StyleTitle
ClipString=1
Text="Song Title"
X=100
Y=0
W=200
H=25
[MeterArtist]
Meter=String
MeterStyle=StyleAlbumArtist
ClipString=1
Text="Artist"
X=r
Y=20R
W=230
H=20
[MeterAlbum]
Meter=String
MeterStyle=StyleAlbumArtist
ClipString=1
Text="Album"
X=r
Y=7R
W=230
H=20
[MeterProgressLine]
Meter=Bar
MeasureName=MeasureCalcProgress
BackgroundMode=3
X=0
Y=110
W=150
H=5
MaxValue=100
SolidColor=#LineBackgroundColor#
BarColor="LineColor#"
AntiAlias=1
DynamicVariables=1
BarOrientation=HORIZONTAL
[MeterCover]
Meter=Image
MeasureName=MeasureImageDownload
X=0
Y=0
W=100
H=100
[MeterRoundLineBackground]
Meter=RoundLine
X=330
Y=30
W=50
H=50
StartAngle=0.5
RotationAngle=5
LineStart=15
Solid=1
LineColor=#LineBackgroundColor#
AntiAlias=1
[MeterProgress]
Meter=RoundLine
MeasureName=MeasureCalcProgress
X=r
Y=r
W=50
H=50
StartAngle=0.5
RotationAngle=5
LineStart=15
Solid=1
LineColor=#LineColor#
AntiAlias=1
DynamicVariables=1
[MeterLength]
Meter=String
MeterStyle=StyleAlbumArtist
StringAlign=Right
FontSize=8
X=400
Y=75
W=10
H=20
[MeterPosition]
Meter=String
MeasureName=MeasurePosition
MeterStyle=StyleAlbumArtist
StringAlign=Right
FontSize=8
X=400
Y=20
W=10
H=20