Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
redsaph committed Feb 13, 2019
2 parents ec3bc73 + bdd8f19 commit e884432
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 8 deletions.
2 changes: 1 addition & 1 deletion @Resources/align.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-- ALIGNMENT MODULE
-- Made by Redsaph exclusively for Cleartext
--
-- redsaph.ml
-- redsaph.xyz
-- github.com/redsaph/cleartext
--
-- If you have read this and have the intention
Expand Down
70 changes: 68 additions & 2 deletions @Resources/base.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ PlayerType=TITLE
RegExpSubstitute=#removeExtraFromText#
Substitute="^(?siU)^(.+) (-.+|((\(|\[).*(mix|with|feat|ft|from|version|track|live|unplugged|acoustic|bootleg|demo|cover|theme|remaster|as heard|w\/).+))+$":"\1"

[mTitle1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Title
RegExpSubstitute=#removeExtraFromText#
Substitute="^(?siU)^(.+) (-.+|((\(|\[).*(mix|with|feat|ft|from|version|track|live|unplugged|acoustic|bootleg|demo|cover|theme|remaster|as heard|w\/).+))+$":"\1"

[mTitle2]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -66,6 +73,13 @@ PlayerType=ARTIST
RegExpSubstitute=#removeExtraFromText#
Substitute="^(?siU)^(.+)((-|,).+)+$":"\1"

[mArtist1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Artist
RegExpSubstitute=#removeExtraFromText#
Substitute="^(?siU)^(.+)((-|,).+)+$":"\1"

[mArtist2]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -80,6 +94,13 @@ PlayerType=ALBUM
RegExpSubstitute=#removeExtraFromText#
Substitute="^(?siU)^(.+) (-.+|((\(|\[).*(mix|with|feat|ft|from|version|track|live|unplugged|acoustic|bootleg|demo|cover|theme|remaster|as heard|w\/).+))+$":"\1"

[mAlbum1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Album
RegExpSubstitute=#removeExtraFromText#
Substitute="^(?siU)^(.+) (-.+|((\(|\[).*(mix|with|feat|ft|from|version|track|live|unplugged|acoustic|bootleg|demo|cover|theme|remaster|as heard|w\/).+))+$":"\1"

[mAlbum2]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -93,6 +114,12 @@ PlayerName=#Player#
PlayerType=POSITION
UpdateDivider=20

[mPosition1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Position
UpdateDivider=20

[mPosition2]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -106,6 +133,12 @@ PlayerName=#Player#
PlayerType=DURATION
UpdateDivider=20

[mLength1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Duration
UpdateDivider=20

[mLength2]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -124,6 +157,17 @@ Measure=Calc
Formula=[mProgress0W] / 100
DynamicVariables=1

[mProgress1W]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Progress
UpdateDivider=20

[mProgress1P]
Measure=Calc
Formula=[mProgress1W] / 100
DynamicVariables=1

[mProgress2W]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -142,19 +186,30 @@ PlayerName=#Player#
PlayerType=STATE
Substitute="0":"play","1":"pause","2":"play"

[mStateButton1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=State
Substitute="0":"play","1":"pause","2":"play"

[mStateButton2]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=State
Substitute="0":"play","1":"pause","2":"play","3":"replay"


[mStatus0]
Measure=NowPlaying
PlayerName=#currentlySetPlayer#
PlayerType=Status
UpdateDivider=10

[mStatus1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Status
UpdateDivider=10

[mStatus2]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -172,6 +227,17 @@ IfAboveAction=!ShowFade
Disabled=(#MusicSwitch# = 0 ? (#adaptiveHideActive# = 1 ? 0 : 1) : 1)
UpdateDivider=10

[mAdaptiveHide1]
Measure=Plugin
Plugin=GPMDPPlugin
PlayerInfo=Status
IfBelowValue=1
IfBelowAction=!HideFade
IfAboveValue=0
IfAboveAction=!ShowFade
Disabled=(#MusicSwitch# = 1 ? (#adaptiveHideActive# = 1 ? 0 : 1) : 1)
UpdateDivider=10

[mAdaptiveHide2]
Measure=Plugin
Plugin=WebNowPlaying
Expand All @@ -193,7 +259,7 @@ UpdateDivider=10
[mVersion]
Measure=Plugin
Plugin=WebParser
URL=http://www.redsaph.ml/updates/cleartext/version.ini
URL=http://www.redsaph.x10.mx/updates/cleartext/version.ini
RegExp=(?siU)(.*)$
UpdateDivider=20
UpdateRate=600
Expand Down
2 changes: 1 addition & 1 deletion @Resources/constant.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Variables]

currentVersion=511
currentVersion=520

baseColumn1=42
baseColumn2=220
Expand Down
9 changes: 7 additions & 2 deletions @Resources/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-- SETTINGS MODULE
-- Made by Redsaph exclusively for Cleartext
--
-- redsaph.ml
-- redsaph.xyz
-- github.com/redsaph/cleartext
--
-- If you have read this and have the intention
Expand All @@ -13,7 +13,7 @@
--
-- Thank you very much.
--
-- Last modified by Redsaph on July 28, 2018
-- Last modified by Redsaph on February 13, 2019
--

playerTable = {
Expand Down Expand Up @@ -52,6 +52,11 @@ playerTable = {
musicSwitch = "2",
player = "Spotify"
},
["GPMDP"] = {
playerController = "StateButton1",
musicSwitch = "1",
player = "Spotify"
},
["MediaMonkey"] = {
playerController = "Title0",
musicSwitch = "0",
Expand Down
2 changes: 1 addition & 1 deletion @Resources/variables.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ activePlugin=NowPlaying
topTextWidth=551
bottomTextWidth=160

; 0 = MUSIC, 2 = WEBNOWPLAYING
; 0 = MUSIC, 1=GPMDP, 2 = WEBNOWPLAYING
MusicSwitch=0
playerController=Title0
currentlySetName=Windows Media Player
Expand Down
Binary file modified Cleartext Pure.ini
Binary file not shown.
Binary file modified Cleartext.ini
Binary file not shown.
Binary file modified Settings/Settings.ini
Binary file not shown.
2 changes: 1 addition & 1 deletion _Defaults/defaultvariables.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ activePlugin=NowPlaying
topTextWidth=551
bottomTextWidth=160

; 0 = MUSIC, 2 = WEBNOWPLAYING
; 0 = MUSIC, 1=GPMDP, 2 = WEBNOWPLAYING
MusicSwitch=0
playerController=Title0
currentlySetName=Windows Media Player
Expand Down

0 comments on commit e884432

Please sign in to comment.