It is currently March 9th, 2021, 10:31 am

Restarted PC and now Player isn't working?

Help with creating, editing & fixing problems with skins
iiFlux
Posts: 28
Joined: June 12th, 2016, 8:34 am

Re: Restarted PC and now Player isn't working?

Post by iiFlux »

balala wrote:I can't imagine what's happened when you restarted your PC. Weird, very weird...
Check some other plugins, to see if they are working. WebParser, for example.
The actual skin sort of works?
If I click the grey diamond inside the Player, it opens the media player. (This shows the skin is sort of working?)
And how should I test another plugin?
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4226
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Restarted PC and now Player isn't working?

Post by eclectic-tech »

Not sure if you saw my EDIT above...

And Balala's idea is a good one...

You can also try this code for the player.ini with the variables included (the same as if you included the external file) and it works here on Win10 using WMP. Curious if this version works for you?

Code: Select all

[Rainmeter]
Author=VakiNakamura
Update=1000


;=====================|   SETTINGS   |=====================


[Variables]


;=====================|   COLORS   |=====================


BackgroundColor=255,255,255


AccentColor=646464


FontMainColor=100,100,100
FontShadowColor=50,50,50,100


ObjectMainColor=100,100,100
ObjectShadowColor=200,200,200


;=====================|   HDDS   |====================


Disk1=C
Disk2=D
Disk3=E
Disk4=I


;=====================|   DOCK   |====================


DockGreyscale=0


ColorSwitch=on


;=====================|   PLAYER   |====================


PlayerName=WMP


;=====================|   WEATHER   |====================


Location=Eastbourne
Units=m


UnitsSwitch=C


;=====================|   WEATHER   |====================


IP=1
IPMasked=0


MaskSwitch=on


;=====================|   MEASURES  |=====================


[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying
PlayerName=#PlayerName#
PlayerType=Title

[MeasureProgress]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Progress


[MeasureTitle]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Title
Substitute="":"No track playing"


[MeasureArtist]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Artist
Substitute="":"N/A"


[MeasureCover]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Cover


[MeasureVolume]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Volume


;=====================|   BACKGROUND   |=====================


[LeftSide]
Meter=Image
ImageName=#@#Images/1.png
AntiAlias=1


[Background]
Meter=Image
X=100
Y=0
W=200
H=100
SolidColor=FFFFFF


[RightSide]
Meter=Image
ImageName=#@#Images/4.png
X=300
Y=0
AntiAlias=1


;=====================|   COVER DISPLAY   |=====================


[NoCover]
Meter=Image
X=100
Y=0
W=100
H=100
SolidColor=#ObjectShadowColor#


[Cover]
Meter=Image
MeasureName=MeasureCover
X=100
Y=0
H=100
W=100
AntiAlias=1
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "OpenPlayer"]


[CoverMask]
Meter=Image
ImageName=#@#Images/mask.png
X=100
Y=0
H=100
H=100


;=====================|   SONG INFO DISPLAY   |=====================


[Artist]
Meter=String
MeasureName=MeasureArtist
FontFace=Century Gothic
FontSize=10
FontColor=#FontShadowColor#
StringAlign=Left
StringCase=Upper
X=180
Y=5
AntiAlias=1


[Title]
Meter=String
MeasureName=MeasureTitle
FontFace=Century Gothic
FontSize=10
FontColor=#ObjectMainColor#
StringAlign=Left
X=198
Y=22
W=160
H=20
Clipstring=1
AntiAlias=1


[VolumeBar]
Meter=Bar
MeasureName=MeasureVolume
X=49
Y=49
W=52
H=2
BarColor=#AccentColor#
SolidColor=#ObjectShadowColor#
BarOrientation=Horizontal
Flip=1


[ProgressBar]
Meter=Bar
MeasureName=MeasureProgress
X=200
Y=49
W=150
H=2
BarColor=#AccentColor#
SolidColor=#ObjectShadowColor#
BarOrientation=Horizontal


[VolumeValue]
Meter=String
MeasureName=MeasureVolume
FontFace=Century Gothic
FontSize=10
FontColor=#FontShadowColor#
StringAlign=Right
X=70
Y=67
W=160
H=20
AntiAlias=1


;=====================|   CONTROLS   |=====================


[VolumeUp]
Meter=Image
ImageName=#@#Images/up.png
X=70
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "SetVolume +10"]


[VolumeDown]
Meter=Image
ImageName=#@#Images/down.png
X=70
Y=75
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "SetVolume -10"]


[Previous]
Meter=Image
ImageName=#@#Images/prev.png
X=200
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "Previous"]


[PlayPause]
Meter=Image
ImageName=#@#Images/play.png
X=240
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "PlayPause"]


[Next]
Meter=Image
ImageName=#@#Images/next.png
X=280
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "Next"]


;=====================|   END   |=====================
User avatar
balala
Rainmeter Sage
Posts: 12354
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Restarted PC and now Player isn't working?

Post by balala »

iiFlux wrote:And how should I test another plugin?
Download an appropriate skin (just to promote my own skins, this one for example). Install and load it. Go to [Variables] section and enter some values for Location, Unit and City (if you don't know your dates, just enter Location=USNY0996, Unit=f and City=NY - these variables are perfect to check). Is it working (the skin uses the WebParser to download weather dates from the internet)?
iiFlux
Posts: 28
Joined: June 12th, 2016, 8:34 am

Re: Restarted PC and now Player isn't working?

Post by iiFlux »

eclectic-tech wrote:Not sure if you saw my EDIT above...

And Balala's idea is a good one...

You can also try this code for the player.ini with the variables included (the same as if you included the external file) and it works here on Win10 using WMP. Curious if this version works for you?

Code: Select all

[Rainmeter]
Author=VakiNakamura
Update=1000


;=====================|   SETTINGS   |=====================


[Variables]


;=====================|   COLORS   |=====================


BackgroundColor=255,255,255


AccentColor=646464


FontMainColor=100,100,100
FontShadowColor=50,50,50,100


ObjectMainColor=100,100,100
ObjectShadowColor=200,200,200


;=====================|   HDDS   |====================


Disk1=C
Disk2=D
Disk3=E
Disk4=I


;=====================|   DOCK   |====================


DockGreyscale=0


ColorSwitch=on


;=====================|   PLAYER   |====================


PlayerName=WMP


;=====================|   WEATHER   |====================


Location=Eastbourne
Units=m


UnitsSwitch=C


;=====================|   WEATHER   |====================


IP=1
IPMasked=0


MaskSwitch=on


;=====================|   MEASURES  |=====================


[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying
PlayerName=#PlayerName#
PlayerType=Title

[MeasureProgress]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Progress


[MeasureTitle]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Title
Substitute="":"No track playing"


[MeasureArtist]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Artist
Substitute="":"N/A"


[MeasureCover]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Cover


[MeasureVolume]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Volume


;=====================|   BACKGROUND   |=====================


[LeftSide]
Meter=Image
ImageName=#@#Images/1.png
AntiAlias=1


[Background]
Meter=Image
X=100
Y=0
W=200
H=100
SolidColor=FFFFFF


[RightSide]
Meter=Image
ImageName=#@#Images/4.png
X=300
Y=0
AntiAlias=1


;=====================|   COVER DISPLAY   |=====================


[NoCover]
Meter=Image
X=100
Y=0
W=100
H=100
SolidColor=#ObjectShadowColor#


[Cover]
Meter=Image
MeasureName=MeasureCover
X=100
Y=0
H=100
W=100
AntiAlias=1
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "OpenPlayer"]


[CoverMask]
Meter=Image
ImageName=#@#Images/mask.png
X=100
Y=0
H=100
H=100


;=====================|   SONG INFO DISPLAY   |=====================


[Artist]
Meter=String
MeasureName=MeasureArtist
FontFace=Century Gothic
FontSize=10
FontColor=#FontShadowColor#
StringAlign=Left
StringCase=Upper
X=180
Y=5
AntiAlias=1


[Title]
Meter=String
MeasureName=MeasureTitle
FontFace=Century Gothic
FontSize=10
FontColor=#ObjectMainColor#
StringAlign=Left
X=198
Y=22
W=160
H=20
Clipstring=1
AntiAlias=1


[VolumeBar]
Meter=Bar
MeasureName=MeasureVolume
X=49
Y=49
W=52
H=2
BarColor=#AccentColor#
SolidColor=#ObjectShadowColor#
BarOrientation=Horizontal
Flip=1


[ProgressBar]
Meter=Bar
MeasureName=MeasureProgress
X=200
Y=49
W=150
H=2
BarColor=#AccentColor#
SolidColor=#ObjectShadowColor#
BarOrientation=Horizontal


[VolumeValue]
Meter=String
MeasureName=MeasureVolume
FontFace=Century Gothic
FontSize=10
FontColor=#FontShadowColor#
StringAlign=Right
X=70
Y=67
W=160
H=20
AntiAlias=1


;=====================|   CONTROLS   |=====================


[VolumeUp]
Meter=Image
ImageName=#@#Images/up.png
X=70
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "SetVolume +10"]


[VolumeDown]
Meter=Image
ImageName=#@#Images/down.png
X=70
Y=75
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "SetVolume -10"]


[Previous]
Meter=Image
ImageName=#@#Images/prev.png
X=200
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "Previous"]


[PlayPause]
Meter=Image
ImageName=#@#Images/play.png
X=240
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "PlayPause"]


[Next]
Meter=Image
ImageName=#@#Images/next.png
X=280
Y=60
ImageTint=#ObjectMainColor#
LeftMouseUpAction=[!CommandMeasure "MeasurePlayer" "Next"]


;=====================|   END   |=====================
Just tried it.
Nope, didn't work :/
And how can I test another plugin?
iiFlux
Posts: 28
Joined: June 12th, 2016, 8:34 am

Re: Restarted PC and now Player isn't working?

Post by iiFlux »

balala wrote:Download an appropriate skin (just to promote my own skins, this one for example). Install and load it. Go to [Variables] section and enter some values for Location, Unit and City (if you don't know your dates, just enter Location=USNY0996, Unit=f and City=NY - these variables are perfect to check). Is it working (the skin uses the WebParser to download weather dates from the internet)?
Worked perfectly.
User avatar
balala
Rainmeter Sage
Posts: 12354
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Restarted PC and now Player isn't working?

Post by balala »

Also a question: how is encoded your variables.inc? It should be either ANSI (better), either Unicode. If it's not any of these, save it as ANSI. If neither this won't help, also check the encoding of the Player.ini.
iiFlux
Posts: 28
Joined: June 12th, 2016, 8:34 am

Re: Restarted PC and now Player isn't working?

Post by iiFlux »

balala wrote:Also a question: how is encoded your variables.inc? It should be either ANSI (better), either Unicode. If it's not any of these, save it as ANSI. If neither this won't help, also check the encoding of the Player.ini.
It's in ANSI
User avatar
balala
Rainmeter Sage
Posts: 12354
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Restarted PC and now Player isn't working?

Post by balala »

iiFlux wrote:It's in ANSI
Both files? In this case, I resign... :confused:
iiFlux
Posts: 28
Joined: June 12th, 2016, 8:34 am

Re: Restarted PC and now Player isn't working?

Post by iiFlux »

balala wrote:Both files? In this case, I resign... :confused:
Both files.
:(
User avatar
balala
Rainmeter Sage
Posts: 12354
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Restarted PC and now Player isn't working?

Post by balala »

Just to check if the NowPlaying plugin works properly, try the following extremely simple code:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying
PlayerName=WMP
PlayerType=Title

[MeterPlayer]
Meter=STRING
MeasureName=MeasurePlayer
X=0
Y=0
Padding=10,5,10,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Title: %1
It should work with WMP and should show just the title of the song, nothing else. Is it working?