Skip to content

Commit eeaf39b

Browse files
committed
Fixed MeasureGenre running on GPMDP and Spotify
This was using some cpu and ram which was unneccesary.
1 parent af339c2 commit eeaf39b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

@Resources/include/MeasureGPMDP.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Plugin=GPMDPPlugin
3838
PlayerInfo=Cover
3939
DefaultPath=#@#images\nocover.png
4040
CoverPath=#@#images\coverGPMDP.png
41+
Substitute="":"#@#images\nocover.png"
4142
Paused=#ShowMonstercatCover#
4243

4344
[MeasurePosition]

@Resources/include/MeasureSpotify.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Type=AlbumArt
3333
Res=640
3434
DefaultPath=#@#images\nocover.png
3535
CoverPath=#@#images\coverSpotify.png
36+
Substitute="":"#@#images\nocover.png"
3637
Paused=#ShowMonstercatCover#
3738

3839
[MeasurePosition]

@Resources/include/MeasureStyling.inc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
Measure=String
33
String=#PlayerName#
44
IfMatch=Spotify
5-
IfMatchAction=[!WriteKeyValue Variables MPMode Spotify "#@#variables.ini"][!SetOption MeasureGenre Disabled "1"]
5+
IfMatchAction=[!WriteKeyValue Variables MPMode Spotify "#@#variables.ini"][!DisableMeasure MeasureGenre]
66
IfMatch2=GPMDP
7-
IfMatchAction2=[!WriteKeyValue Variables MPMode GPMDP "#@#variables.ini"][!SetOption MeasureGenre Disabled "1"]
8-
IfNotMatchAction=[!WriteKeyValue Variables MPMode NowPlaying "#@#variables.ini"][!SetOption MeasureGenre Disabled "0"]
7+
IfMatchAction2=[!WriteKeyValue Variables MPMode GPMDP "#@#variables.ini"][!DisableMeasure MeasureGenre]
8+
IfNotMatchAction=[!WriteKeyValue Variables MPMode NowPlaying "#@#variables.ini"][!EnableMeasure MeasureGenre]
99
UpdateDivider=-1
1010

1111
[MeasureSetDynamicColors]
@@ -38,13 +38,15 @@ Measure=Plugin
3838
Plugin=Chameleon
3939
Type=File
4040
Path=[MeasureCover]
41+
UpdateDivider=10
4142
[MeasureCoverColor]
4243
Measure=Plugin
4344
Plugin=Chameleon
4445
Parent=MeasureGetCoverColor
4546
Format=Dec
4647
Color=Background1
4748
Substitute="":"#Color#","0,0,0,255":"#Color#","254,254,254":"#Color#"
49+
UpdateDivider=10
4850

4951
[MeasureGenre]
5052
Measure=Plugin
@@ -93,6 +95,7 @@ IfMatchAction12=[!SetVariable GenreColor "#FutureBass#"]
9395
IfMatch13=Mashup|Mash\sUp
9496
IfMatchAction13=[!SetVariable GenreColor "192,255,99"]
9597
Substitute="":"#Color#"
98+
Disabled=1
9699

97100
[StyleStaticBar]
98101
BarColor=#Color#

0 commit comments

Comments
 (0)