It is currently March 28th, 2024, 7:50 pm

bug png display with nowplay plugin?

Report bugs with the Rainmeter application and suggest features.
cmedia
Posts: 13
Joined: June 26th, 2017, 5:18 pm

bug png display with nowplay plugin?

Post by cmedia »

Hi,

i tried a lot of players for rainmeter, all use nowplaying.dll who is integrated in rainmeter for what i understood.

all skin, so i think is a plug in issue, arent able to display the cover art if is in png, if is jpg work just fine.

player: aimp

:???:

is a issue with rainmenter/plugin?

use 4.1.0 beta (24.06)
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: bug png display with nowplay plugin?

Post by StArL0rd84 »

It's unlikely that it is a issue with the plugin.

Probably just a file association mismatch.
But we need to see the code.
Please post the code or upload your skin so we can see.
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
cmedia
Posts: 13
Joined: June 26th, 2017, 5:18 pm

Re: bug png display with nowplay plugin?

Post by cmedia »

StArL0rd84 wrote:It's unlikely that it is a issue with the plugin.

Probably just a file association mismatch.
But we need to see the code.
Please post the code or upload your skin so we can see.
is not my skin, are 5-6 skin i found here and on deviant art, older and newer, all have the same behavior! if you think is helpful i will post the code of 2/3!
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: bug png display with nowplay plugin?

Post by StArL0rd84 »

Just post code from 1 of them since they all have the same issue :D
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
cmedia
Posts: 13
Joined: June 26th, 2017, 5:18 pm

Re: bug png display with nowplay plugin?

Post by cmedia »

Code: Select all

[Rainmeter]
Update=500
BackgroundMode=1
ContextTitle="Edit settings"
ContextAction=["#@#settings\settings.txt"]
AccurateText=1

[Metadata]
Author=Alex Becherer
Name=Sphynx Player Tile
Information=
Version=1.0
License=(c) Alex Becherer

[VariablesCountdown]
@Include="#@#settings\settings.txt"

[MeasureTitle]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=AIMP
PlayerType=Title

[MeasureArtist]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Artist

[MeasureAlbum]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Album

[MeasureYear]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Year
RegExpSubstitute=1
Substitute="^0$":""

[MeasureCover]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Cover

[MeasureCover2]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Cover
Substitute="":"#@#images\def.png"

[MeasurePosition]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Position
RegExpSubstitute=1
Substitute="^0":"","^:":"0:"

[MeasureDuration]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Duration
RegExpSubstitute=1
Substitute="^0":"","^:":"0:"

[MeasureDuration2]
Measure=String
String=[MeasureDuration:]
DynamicVariables=1
RegExpSubstitute=1
Substitute="^0$":"1"


[MeasureBar]
Measure=Calc
Formula=MeasurePosition/[MeasureDuration2]
DynamicVariables=1

[MeasureIsPlaying]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=State
IfEqualValue=1
IfEqualAction=[!SetOption MeterPlayWord Text "PAUSE"][!SetOption MeterPlayButton ButtonImage """#@#images\lap.png"""][!UpdateMeter MeterPlayword][!UpdateMeter MeterPlayButton][!Redraw]
IfAboveValue=1
IfAboveAction=[!SetOption MeterPlayWord Text "PLAY"][!SetOption MeterPlayButton ButtonImage """#@#images\start.png"""][!UpdateMeter MeterPlayword][!UpdateMeter MeterPlayButton][!Redraw]
IfBelowValue=1
IfBelowAction=[!SetOption MeterPlayWord Text "PLAY"][!SetOption MeterPlayButton ButtonImage """#@#images\start.png"""][!UpdateMeter MeterPlayword][!UpdateMeter MeterPlayButton][!Redraw]

[MeasureStatus]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[MeasureTitle]
PlayerType=Status











[MeterBack]
Meter=IMAGE
ImageName="#@#images\countdown\back2.png"
X=0
Y=0
UpdateDivider=-1
Hidden=0

[MeterBack3]
Meter=Image
MeasureName=MeasureCover
X=11
Y=1
W=255
H=145
PreserveAspectRatio=2
Hidden=0
AntiAlias=1
ImageAlpha=20
MouseOverAction=[!HideMeterGroup One][!ShowMeterGroup Two][!Redraw]
MouseLeaveAction=[!HideMeterGroup Two][!ShowMeterGroup One][!Redraw]

[MeterCover]
Meter=Image
MeasureName=MeasureCover2
X=161
Y=40
W=100
H=100
PreserveAspectRatio=2
Hidden=0
AntiAlias=1
MaskImageName="#@#images\mask.png"
TransformationMatrix=0.96593;0.25882;-0.25882;0.96593;34.85429;-40.67882

[MeterCoverTop]
Meter=IMAGE
ImageName="#@#images\at.png"
X=134
Y=33
UpdateDivider=-1
Hidden=0

[MeterTop]
Meter=IMAGE
ImageName="#@#images\countdown\top2.png"
X=0
Y=0
UpdateDivider=-1
Hidden=0


[MeterCityName]
Meter=String
MeasureName=MeasureTitle
X=20
Y=6
ClipStringW=240
ClipStringH=62
ClipString=2
StringAlign=LEFT
FontColor=ffffff
FontFace=Source Sans Pro Semibold
StringStyle=NORMAL
FontSize=12
AntiAlias=1
Hidden=0
Group=One
StringEffect=SHADOW
FontEffectColor=00000080


[MeterLocation]
Meter=String
MeasureName=MeasureArtist
Text=%1
X=r
Y=1R
ClipStringW=240
ClipStringH=27
ClipString=2
StringAlign=LEFT
FontColor=ffffff
FontFace=Source Sans Pro
StringStyle=NORMAL
FontSize=8
AntiAlias=1
Hidden=0
Group=One
StringEffect=SHADOW
FontEffectColor=00000080

[MeterTemp]
Meter=String
MeasureName=MeasurePosition
X=20
Y=97
StringAlign=LEFT
FontColor=ffffff
FontFace=Source Sans Pro Light
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=00000080
FontSize=30
AntiAlias=1
Group=One

[MeterMoreBack]
Meter=Image
X=11
Y=1
W=255
H=145
SolidColor=000000a0
UpdateDivider=-1
Group=Two
Hidden=1

[MeterLaunchButton]
Meter=BUTTON
ButtonImage="#@#images\stop.png"
X=21
Y=14
Group=Two
ButtonCommand=[!CommandMeasure "MeasureTitle" "OpenPlayer"]
Hidden=1
ImageAlpha=(([MeasureStatus])=0?255:0)
DynamicVariables=1

[MeterLaunchWord]
Meter=String
Text="START"
X=47
Y=41
DynamicVariables=1
StringAlign=CENTERCENTER
FontColor=255,255,255,(([MeasureStatus])=0?255:0)
FontFace=Source Sans Pro
StringStyle=NORMAL
FontSize=7
AntiAlias=1
Group=Two
Hidden=1
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?128:0)
DynamicVariables=1

[MeterPrevButton]
Meter=BUTTON
ButtonImage="#@#images\clear.png"
X=21
Y=74
Group=Two
ButtonCommand=[!CommandMeasure "MeasureTitle" "Previous"]
Hidden=1
ImageAlpha=(([MeasureStatus])=0?0:255)
DynamicVariables=1

[MeterPrevWord]
Meter=String
Text="PREV"
X=47
Y=101
DynamicVariables=1
StringAlign=CENTERCENTER
FontColor=255,255,255,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
FontSize=7
AntiAlias=1
Group=Two
Hidden=1
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
DynamicVariables=1

[MeterPlayButton]
Meter=BUTTON
ButtonImage="#@#images\start.png"
X=76
Y=74
Group=Two
ButtonCommand=[!CommandMeasure "MeasureTitle" "PlayPause"]
Hidden=1
ImageAlpha=(([MeasureStatus])=0?0:255)
DynamicVariables=1

[MeterPlayWord]
Meter=String
Text="PLAY"
X=102
Y=101
DynamicVariables=1
StringAlign=CENTERCENTER
FontColor=255,255,255,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
FontSize=7
AntiAlias=1
Group=Two
Hidden=1
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
DynamicVariables=1

[MeterNextButton]
Meter=BUTTON
ButtonImage="#@#images\clear.png"
X=131
Y=74
Group=Two
ButtonCommand=[!CommandMeasure "MeasureTitle" "Next"]
Hidden=1
ImageAlpha=(([MeasureStatus])=0?0:255)
DynamicVariables=1

[MeterNextWord]
Meter=String
Text="NEXT"
X=157
Y=101
DynamicVariables=1
StringAlign=CENTERCENTER
FontColor=255,255,255,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
FontSize=7
AntiAlias=1
Group=Two
Hidden=1
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
DynamicVariables=1

[MeterCityName2]
Meter=String
MeasureName=MeasureDuration
MeasureName2=MeasurePosition
Text=%2 / %1
X=251
Y=133
StringAlign=RIGHTBOTTOM
FontColor=255,255,255,255
FontFace=Source Sans Pro
StringStyle=NORMAL
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
StringEffect=SHADOW
FontEffectColor=00000080
Autoscale=1

[MeterLine2]
Meter=Image
X=26
Y=135
W=225
H=1
SolidColor=ffffff50
Group=Two
Hidden=1
UpdateDivider=-1

[MeterLine]
Meter=Bar
MeasureName=MeasureBar
X=26
Y=135
W=225
H=1
BarColor=ffffff
Group=Two
BarOrientation=Horizontal
Hidden=1

[MeterName1]
Meter=String
Text="Title"
X=25
Y=12
StringAlign=LEFT
FontColor=255,255,255,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1

[MeterName2]
Meter=String
MeasureName=MeasureTitle
X=6R
Y=r
W=199
H=14
ClipString=1
StringAlign=LEFT
FontColor=159,205,238,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1

[MeterName3]
Meter=String
Text="Artist"
X=25
Y=R
StringAlign=LEFT
FontColor=255,255,255,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1

[MeterName4]
Meter=String
MeasureName=MeasureArtist
X=6R
Y=r
W=195
H=14
ClipString=1
StringAlign=LEFT
FontColor=159,205,238,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1

[MeterName5]
Meter=String
Text="Album"
X=25
Y=R
StringAlign=LEFT
FontColor=255,255,255,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1

[MeterName6]
Meter=String
MeasureName=MeasureAlbum
X=6R
Y=r
W=189
H=14
ClipString=1
StringAlign=LEFT
FontColor=159,205,238,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1

[MeterName7]
Meter=String
Text="Year"
X=25
Y=R
StringAlign=LEFT
FontColor=255,255,255,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1

[MeterName8]
Meter=String
MeasureName=MeasureYear
X=6R
Y=r
W=200
H=14
ClipString=1
StringAlign=LEFT
FontColor=159,205,238,(([MeasureStatus])=0?0:255)
FontFace=Source Sans Pro
StringStyle=NORMAL
StringEffect=SHADOW
FontEffectColor=0,0,0,(([MeasureStatus])=0?0:128)
FontSize=8
AntiAlias=1
Group=Two
Hidden=1
DynamicVariables=1
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: bug png display with nowplay plugin?

Post by StArL0rd84 »

Alright so i've tested it a bit with both winamp and foobar.
It seems that the programs only picks up on the album art when the mp3's have the album art inside of them.
They wouldn't display anything when i played plane mp3's, and the album art was just placed in the folder containing the mp3's.
(both .jpg & .png)

And nowhere in the manual does it mention anything about .jpg or .png
https://docs.rainmeter.net/manual-beta/plugins/nowplaying/

Sorry i couldn't provide a more definitive answer for you, but these are my findings...
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
cmedia
Posts: 13
Joined: June 26th, 2017, 5:18 pm

Re: bug png display with nowplay plugin?

Post by cmedia »

actually i use aimp and the integrate cover art download function, i dont have any cover inside my mp3 collection (or flac)...

the skin will show correctly the .jpg art aimp download from net and cache on my hard disk, but dont display the .png

thank you for trying!
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: bug png display with nowplay plugin?

Post by StArL0rd84 »

I hope you find the fix :D
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))
cmedia
Posts: 13
Joined: June 26th, 2017, 5:18 pm

Re: bug png display with nowplay plugin?

Post by cmedia »

StArL0rd84 wrote:I hope you find the fix :D
i really dont know, i guess is a rainmeter/nowplaying plug in uissue, because aimp send correctly the address of the cover, because if is a .jpg work, if was a aimp incompatibility would work with .jpg cover.

so seems when rainmeter receive a adress .png of the cover is unable to load it correctly.

sadly no error is show in the rainmeter logs.
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: bug png display with nowplay plugin?

Post by mak_kawa »

I have tested cover art image with AIMP converting "folder.jpg" to "folder.png". And the PNG cover art is successfully displayed in my music player as well as JPG. So, the issue is in your skin, not in NowPlaying Plugin nor Rainmeter, I think.