Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Commit

Permalink
Example skin fixes
Browse files Browse the repository at this point in the history
I forgot I never added seek buttons :P
  • Loading branch information
tjhrulz committed Oct 25, 2017
1 parent 965aecb commit 7710cb2
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
Binary file added ExampleSkin/@resources/images/seekBack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ExampleSkin/@resources/images/seekForward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 26 additions & 3 deletions ExampleSkin/Example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Background=255,255,255
Color=0,0,0
Highlight=222,79,44

;This will get if there is any supported website open and connected
[MeasureStatus]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Status

;Example of how to get the title of the current song, if GPMDP has no song selected or it is closed it will be a blank string.
[MeasureTitle]
Measure=Plugin
Expand Down Expand Up @@ -85,6 +91,13 @@ Plugin=WebNowPlaying
PlayerType=Progress
Substitute="":"N/A"

;This is what percent of the way through the song you are
[MeasureVolume]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Volume
Substitute="":"N/A"

;The play state of the player
;0 is no song is selected, this will almost never happen as the plugin retains the last known song in the future I may change it so it clears when the websocket closes but I dont think I want to do that in the event the websocket closes unexpectedly you may want it to keep old data
;1 is playing
Expand Down Expand Up @@ -152,6 +165,7 @@ Meter=Image
h=250
w=250
MeasureName=MeasureAlbumArt
PreserveAspectRatio=1
;Example of how the bangs work, in this example clicking the album art will set the song to halfway through the song, the number after SetPosition is the percent through the song you want
;Note: the percent internally is an integer so it does not support decimals, same with the standard NowPlaying plugin. If people want it to I could make SetPosition support decimals however.
LeftMouseUpAction=[!CommandMeasure MeasureArtist "SetPosition 50"]
Expand Down Expand Up @@ -313,7 +327,7 @@ AntiAlias=1

[MeterPositionBack]
Meter=Image
ImageName=#@#Images\VolumeDown.png
ImageName=#@#Images\seekBack.png
ImageTint=#Color#
X=R
Y=r
Expand All @@ -326,7 +340,7 @@ AntiAlias=1

[MeterPositionForward]
Meter=Image
ImageName=#@#Images\VolumeUp.png
ImageName=#@#Images\seekForward.png
ImageTint=#Color#
X=R
Y=r
Expand All @@ -352,10 +366,19 @@ FontColor=#Color#,255
Group=DynamicColors
MeasureName=MeasureDuration

[MeterConnectionProgress]
[MeterProgress]
Meter=String
y=R
Text=%1%
FontColor=#Color#,255
Group=DynamicColors
MeasureName=MeasureProgress

[MeterVolume]
Meter=String
x=R
y=r
Text=%1%
FontColor=#Color#,255
Group=DynamicColors
MeasureName=MeasureVolume

0 comments on commit 7710cb2

Please sign in to comment.