Code: Select all
[MeasureProgress]
Measure=Calc
Formula=([MeasureTimeCurrent]-[MeasureSongStart]) / [MeasureSongLength]
I'm not sure how to get that text and convert it to a value that I can use in a calc measure.
Code: Select all
[MeasureProgress]
Measure=Calc
Formula=([MeasureTimeCurrent]-[MeasureSongStart]) / [MeasureSongLength]
Code: Select all
[MeasureSongStartHours]
Measure=String
String=[MeasureSongStart]
RegExpSubstitute=1
Substitute="^(\d{2}):(\d{2})$":"\1"
DynamicVariables=1
[MeasureSongStartMinutes]
Measure=String
String=[MeasureSongStart]
RegExpSubstitute=1
Substitute="^(\d{2}):(\d{2})$":"\2"
DynamicVariables=1
[MeasureSongStartNum]
Measure=Calc
Formula=( 3600 * [MeasureSongStartHours] + 60 * [MeasureSongStartMinutes] )
DynamicVariables=1
In this case I think calculations won't be too precise.Docta wrote:The seconds are not included with the plugin for some reason. I've messaged the creator so that maybe one day it'll be changed.
Code: Select all
[Rainmeter]
Update=10
[MeasureFile]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=C:\Users\Docta\Documents\Rainmeter\unp_album_art.jpg
Subfolders=0
UpdateDivider=1
[MeterAlbum]
Meter=IMAGE
ImageName=C:\Users\Docta\Documents\Rainmeter\unp_album_art.jpg
X=0
Y=0
W=100
H=100
Tile=0
PreserveAspectRatio=2
Code: Select all
LeftMouseUpAction=!Update]
I'm not very sure what would you like to do, but take into account the followings: the PathName of a Quote plugin measure can indicate a file or a folder. In first case, the file should be a text file and as such, the plugin will return a random part of this file (a line of it). Usually image files are not allowed. In second case (when the path indicates a folder) the path of a random file from that folder will be returned. If you've entered the path of an image into the PathName option of the [MeasureFile] measure, it won't work properly. I suppose you should use here the appropriate folder (C:\Users\Docta\Documents\Rainmeter? - but you should know this). With this, the measure will return the path of a randomly chosen file within the folder.Docta wrote:This skin is supposed to display song art but does not refresh at all even when the image file changes. It will only update when I manually refresh.Code: Select all
[Rainmeter] Update=10 [MeasureFile] Measure=Plugin Plugin=Plugins\QuotePlugin.dll PathName=C:\Users\Docta\Documents\Rainmeter\unp_album_art.jpg Subfolders=0 UpdateDivider=1 [MeterAlbum] Meter=IMAGE ImageName=C:\Users\Docta\Documents\Rainmeter\unp_album_art.jpg X=0 Y=0 W=100 H=100 Tile=0 PreserveAspectRatio=2
The following code does not update it either.Code: Select all
LeftMouseUpAction=!Update]
The opening bracket of the bang is missing, the correct form would be either LeftMouseUpAction=!Update, or even better LeftMouseUpAction=[color=#FF0000][[/color]!Update].Docta wrote:The following code does not update it either.Code: Select all
LeftMouseUpAction=!Update]
Code: Select all
[Rainmeter]
Update=1000
[Variables]
Player=Winamp
[Wplayer]
Measure=Plugin
Plugin=NowPlaying
PlayerName=#Player#
PlayerType=Title
OnChangeAction=[!UpdateMeasure WCover][!UpdateMeter Cover][!Redraw]
[WCover]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[Wplayer]
PlayerType=COVER
UpdateDivider=-1
[Cover]
Meter=IMAGE
MeasureName=WCover
W=100
H=100
AntiAlias=1
UpdateDivider=-1
I'm sorry I should have been more specific about my problem.I have web plugin that downloads song art from songs on Soundcloud (you helped me with a problem with it earlier). The meter detects the image file and displays it, but only if I manually refresh the skin (as in right clicking and hitting refresh). If I change songs, the song name/artist name updates and displays the new song properly. The image skin does not, even though the actual image file updates correctly. Am I using my [MeterAlbum] incorrectly? I just want the image to update when the image file changes just like the song name/artist.balala wrote:I'm not very sure what would you like to do,
Could you please post your code? It'd be much easier.Docta wrote:I'm sorry I should have been more specific about my problem.I have web plugin that downloads song art from songs on Soundcloud (you helped me with a problem with it earlier). The meter detects the image file and displays it, but only if I manually refresh the skin (as in right clicking and hitting refresh). If I change songs, the song name/artist name updates and displays the new song properly. The image skin does not, even though the actual image file updates correctly. Am I using my [MeterAlbum] incorrectly? I just want the image to update when the image file changes just like the song name/artist.
Also, the folder is correct, I have the plugin set to download it's data to my rainmeter folder for easy access. And the open bracket at the end is simply a typo that only exists because of copy/pasting incorrectly. Thanks for the help.
Code: Select all
[Rainmeter]
Update=10
[MeasureFile]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=C:\Users\Docta\Documents\Rainmeter\unp_album_art.jpg
Subfolders=0
UpdateDivider=1
[MeterAlbum]
Meter=IMAGE
ImageName=C:\Users\Docta\Documents\Rainmeter\unp_album_art.jpg
X=0
Y=0
W=100
H=100
Tile=0
PreserveAspectRatio=2