It is currently May 2nd, 2024, 2:03 pm

Itunes Plugin Trouble

Get help with installing and using Rainmeter.
Avenger1601
Posts: 5
Joined: August 7th, 2012, 8:54 am

Itunes Plugin Trouble

Post by Avenger1601 »

I'm trying to get an ITunes player skin working for my desktop - iTunes Monitor 03 by urielHDS (http://customize.org/rainmeter/skins/77765).

Skin loads fine, but doesn't work. I've gone through the skin code file, and I can't find a problem in there, so I think the iTunes plugin may be confused.

I've got both Rainmeter and iTunes on the same HDD, and I don't know if this is an issue, but iTunes is under Program Files (x86) and Rainmeter is under Program Files.

Any ideas for fixing this? Can the plugin be edited?

Cheers in advance.
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Itunes Plugin Trouble

Post by MerlinTheRed »

The skin has some issues I could spot by looking at the documentation of the iTunes plugin. I think the main problem is that those PluginBang commands are not used correctly. They seem to require an additional "" after the measure name. I think I fixed it, but can't test since I don't have iTunes installed. Replace the skin's ini file with this code:

Code: Select all

;------------------------------------------
[Rainmeter]
Author=urielHDS

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
color=255,255,255, 180
color2=0, 0, 0, 200
graph.line=255,255,255, 180
graph.line2=0, 0, 0, 180
font=Concielian Jet

;------------------------type in "b" for black or "w" for white icons
BlackOrWhiteButtons=w

;------------------------------------------
;Measure

[MeasureTrack]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackName

[MeasureArtist]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtist

[MeasureAlbum]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackAlbum

[MeasureTime]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPosition

[MeasureTMinute]
Measure=Calc
Formula=(MeasureTime - (MeasureTime % 60)) /60

[MeasureTSecond]
Measure=Calc
Formula=MeasureTime % 60

[MeasureTZero]
Measure=Calc
Formula=(MeasureTime % 60) < 10 ? 0 : 1
Substitute="1":""

[MeasureArt]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtwork

[mProgress]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPositionPercent
MaxValue=100

[mPrev]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=PreviousTrack

[mPlay]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Play

[mPause]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Pause

[mStop]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Stop

[mNext]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=NextTrack

[MeasureMore]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=SoundVolumeUp

[MeasureLess]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=SoundVolumeDown

[MeasureVolume]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetSoundVolume

;------------------------------------------
;Progress Measures

[MeasureProgress]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPositionPercent
MaxValue=100

[MeasureProgressD]
Measure=Calc
Formula=(MeasureProgress)/100

[MeasureProgressP1]
Measure=Calc
Formula=MeasureProgressD/0.80

[MeasureProgressP2]
Measure=Calc
Formula=(MeasureProgressD-0.80)/0.20

[MeasureAlways]
Measure=Calc
Formula=1
;------------------------------------------
;Meters

;===================================================================================================ALBUM ART

[MeterArt]
Meter=Image
MeasureName=MeasureArt
X=354
Y=55
H=90
W=90

;====================================================================================================VOLUME

[Background]
Meter=IMAGE
SolidColor=20, 20, 20, 200
X=175
Y=110
H=2
W=75

[iTunesVolume]
MeasureName=MeasureVolume
Meter=BAR
X=r
Y=r
H=2
W=75
BarColor=255,255,255,180
BarOrientation=HORIZONTAL

[Less]
Meter=Image
ImageName=minus2.png
X=-15r
y=-5r
H=12
W=12
LeftMouseDownAction=!Execute [!RainmeterPluginBang "MeasureLess" ""][!RainmeterRedraw]

[More]
Meter=Image
ImageName=plus2.png
X=93r
y=r
H=12
W=12
LeftMouseDownAction=!Execute [!RainmeterPluginBang "MeasureMore" ""][!RainmeterRedraw]

;====================================================================================================iTUNES TEXT

[MeterBackground]
Meter=IMAGE
X=182
Y=96
W=90
H=30
SolidColor=0,0,0,1
SolidColor2=0,0,0,1
GradientAngle=0
HIdden=0

[MeterText]
Meter=STRING
X=r
Y=r
FontColor=255,255,255,180
StringStyle=NORMAL
FontSize=10
StringAlign=Left
FontFace=Concielian Jet
AntiAlias=1
Hidden=0
Prefix="iTunes"
LeftMouseDownAction= !execute ["C:\Arquivos de programas\iTunes\iTunes.exe"]



;======================================================================================================CONTROL



[Background3]
Meter=IMAGE
SolidColor=255,255,255,180
X=320
Y=149
W=130
H=1

[Background4]
Meter=IMAGE
SolidColor=255,255,255,180
X=320
Y=125
W=1
H=24

[Background4B]
Meter=IMAGE
SolidColor255,255,255,180
X=320
Y=78
W=1
H=7

[Background5]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=15
LineStart=13
LineColor=255,255,255,180
AntiAlias=1
Solid=1

[Background6]
Meter=IMAGE
SolidColor=255,255,255,180
X=21
Y=118
W=300
H=2

[Background7]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.15
LineLength=27
LineStart=25
LineColor=#graph.line2#
AntiAlias=1
Solid=1

[Background8]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.15
LineLength=22
LineStart=20
LineColor=#graph.line#
AntiAlias=1
Solid=1

;=============================================================================================================
[Background2control]
Meter=IMAGE
SolidColor=0,0,0,1
X=57
Y=99
W=105
H=18

[Prev]
Meter=IMAGE
ImageName=Prev#BlackOrWhiteButtons#.png
X=r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter PrevH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter PrevH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mPrev" ""]

[Play]
Meter=IMAGE
ImageName=Play#BlackOrWhiteButtons#.png
X=22r
Y=r
W=19
H=19
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter PlayH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter PlayH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mPlay" ""]

[Pause]
Meter=IMAGE
ImageName=Pause#BlackOrWhiteButtons#.png
X=14r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter PauseH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter PauseH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mPause" ""]

[Stop]
Meter=IMAGE
ImageName=Stop#BlackOrWhiteButtons#.png
X=14r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter StopH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter StopH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mStop" ""]

[Next]
Meter=IMAGE
ImageName=Next#BlackOrWhiteButtons#.png
X=22r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter NextH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter NextH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mNext" ""]

;============================================================================================================TIME

[Time]
Meter=STRING
MeterStyle=StyleLabel
MeasureName=MeasureTMinute
MeasureName2=MeasureTZero
MeasureName3=MeasureTSecond
x=275
y=95
FontColor=255,255,255,180
FontFace=hooge 05_53
FontSize=11
StringStyle=BOLD
AntiAlias=1
Text=%1.%2%3

;===================================================================================================MUSIC MONITOR

[Track]
Meter=STRING
MeasureName=MeasureTrack
x=315
y=124
W=335
H=38
ClipString=1
FontColor=#color#
FontFace=#font#
solidcolor
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1

[Artist]
Meter=STRING
MeasureName=MeasureArtist
Text=%1
X=315
Y=76
W=335
H=18
ClipString=1
FontColor=#color#
solidcolor
FontFace=#font#
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1

;-----------------------------------------------------------------------------------------------------
Progress Rings

[ProgressBarBG]
Meter=IMAGE
SolidColor=#graph.line2#
X=21
Y=120
W=300
H=2

[ProgressBar]
MeasureName=MeasureProgressP1
Meter=BAR
X=r
Y=r
W=300
H=2
BarColor=#graph.line#
BarOrientation=horizontal

[MeterProgressRingBG2]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=17
LineStart=15
LineColor=#graph.line2#
AntiAlias=1
Solid=1

[MeterProgressRing2]
MeasureName=MeasureProgressP2
Meter=ROUNDLINE
X=r
Y=r
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=17
LineStart=15
AntiAlias=1
LineColor=#graph.line#
Solid=1
Also you have to edit the path to iTunes that appears in one of the meters for it to work properly. The author has some localized path name in there that won't work on other localizations. This only affects starting iTunes from the skin though.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
Avenger1601
Posts: 5
Joined: August 7th, 2012, 8:54 am

Re: Itunes Plugin Trouble

Post by Avenger1601 »

Copy-pasted your code, still no luck. I'd already picked up the file directory change required to make iTunes open on that click, and that's still the only part of the player that works.

Here's current .ini file:

Code: Select all

;
------------------------------------------
[Rainmeter]
Author=urielHDS

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
color=255,255,255, 180
color2=0, 0, 0, 200
graph.line=255,255,255, 180
graph.line2=0, 0, 0, 180
font=Concielian Jet

;------------------------type in "b" for black or "w" for white icons
BlackOrWhiteButtons=w

;------------------------------------------
;Measure

[MeasureTrack]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackName

[MeasureArtist]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtist

[MeasureAlbum]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackAlbum

[MeasureTime]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPosition

[MeasureTMinute]
Measure=Calc
Formula=(MeasureTime - (MeasureTime % 60)) /60

[MeasureTSecond]
Measure=Calc
Formula=MeasureTime % 60

[MeasureTZero]
Measure=Calc
Formula=(MeasureTime % 60) < 10 ? 0 : 1
Substitute="1":""

[MeasureArt]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtwork

[mProgress]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPositionPercent
MaxValue=100

[mPrev]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=PreviousTrack

[mPlay]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Play

[mPause]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Pause

[mStop]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=Stop

[mNext]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=NextTrack

[MeasureMore]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=SoundVolumeUp

[MeasureLess]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=SoundVolumeDown

[MeasureVolume]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetSoundVolume

;------------------------------------------
;Progress Measures

[MeasureProgress]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPositionPercent
MaxValue=100

[MeasureProgressD]
Measure=Calc
Formula=(MeasureProgress)/100

[MeasureProgressP1]
Measure=Calc
Formula=MeasureProgressD/0.80

[MeasureProgressP2]
Measure=Calc
Formula=(MeasureProgressD-0.80)/0.20

[MeasureAlways]
Measure=Calc
Formula=1
;------------------------------------------
;Meters

;===================================================================================================ALBUM ART

[MeterArt]
Meter=Image
MeasureName=MeasureArt
X=354
Y=55
H=90
W=90

;====================================================================================================VOLUME

[Background]
Meter=IMAGE
SolidColor=20, 20, 20, 200
X=175
Y=110
H=2
W=75

[iTunesVolume]
MeasureName=MeasureVolume
Meter=BAR
X=r
Y=r
H=2
W=75
BarColor=255,255,255,180
BarOrientation=HORIZONTAL

[Less]
Meter=Image
ImageName=minus2.png
X=-15r
y=-5r
H=12
W=12
LeftMouseDownAction=!Execute [!RainmeterPluginBang "MeasureLess" ""][!RainmeterRedraw]

[More]
Meter=Image
ImageName=plus2.png
X=93r
y=r
H=12
W=12
LeftMouseDownAction=!Execute [!RainmeterPluginBang "MeasureMore" ""][!RainmeterRedraw]

;====================================================================================================iTUNES TEXT

[MeterBackground]
Meter=IMAGE
X=182
Y=96
W=90
H=30
SolidColor=0,0,0,1
SolidColor2=0,0,0,1
GradientAngle=0
HIdden=0

[MeterText]
Meter=STRING
X=r
Y=r
FontColor=255,255,255,180
StringStyle=NORMAL
FontSize=10
StringAlign=Left
FontFace=Concielian Jet
AntiAlias=1
Hidden=0
Prefix="iTunes"
LeftMouseDownAction= !execute ["E:\Program Files (x86)\iTunes\iTunes.exe"]



;======================================================================================================CONTROL



[Background3]
Meter=IMAGE
SolidColor=255,255,255,180
X=320
Y=149
W=130
H=1

[Background4]
Meter=IMAGE
SolidColor=255,255,255,180
X=320
Y=125
W=1
H=24

[Background4B]
Meter=IMAGE
SolidColor255,255,255,180
X=320
Y=78
W=1
H=7

[Background5]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=15
LineStart=13
LineColor=255,255,255,180
AntiAlias=1
Solid=1

[Background6]
Meter=IMAGE
SolidColor=255,255,255,180
X=21
Y=118
W=300
H=2

[Background7]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.15
LineLength=27
LineStart=25
LineColor=#graph.line2#
AntiAlias=1
Solid=1

[Background8]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.15
LineLength=22
LineStart=20
LineColor=#graph.line#
AntiAlias=1
Solid=1

;=============================================================================================================
[Background2control]
Meter=IMAGE
SolidColor=0,0,0,1
X=57
Y=99
W=105
H=18

[Prev]
Meter=IMAGE
ImageName=Prev#BlackOrWhiteButtons#.png
X=r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter PrevH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter PrevH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mPrev" ""]

[Play]
Meter=IMAGE
ImageName=Play#BlackOrWhiteButtons#.png
X=22r
Y=r
W=19
H=19
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter PlayH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter PlayH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mPlay" ""]

[Pause]
Meter=IMAGE
ImageName=Pause#BlackOrWhiteButtons#.png
X=14r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter PauseH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter PauseH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mPause" ""]

[Stop]
Meter=IMAGE
ImageName=Stop#BlackOrWhiteButtons#.png
X=14r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter StopH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter StopH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mStop" ""]

[Next]
Meter=IMAGE
ImageName=Next#BlackOrWhiteButtons#.png
X=22r
Y=r
W=18
H=18
AntiAlias=1
MouseOverAction=!Execute [!RainmeterShowMeter NextH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter NextH][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterPluginBang "mNext" ""]

;============================================================================================================TIME

[Time]
Meter=STRING
MeterStyle=StyleLabel
MeasureName=MeasureTMinute
MeasureName2=MeasureTZero
MeasureName3=MeasureTSecond
x=275
y=95
FontColor=255,255,255,180
FontFace=hooge 05_53
FontSize=11
StringStyle=BOLD
AntiAlias=1
Text=%1.%2%3

;===================================================================================================MUSIC MONITOR

[Track]
Meter=STRING
MeasureName=MeasureTrack
x=315
y=124
W=335
H=38
ClipString=1
FontColor=#color#
FontFace=#font#
solidcolor
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1

[Artist]
Meter=STRING
MeasureName=MeasureArtist
Text=%1
X=315
Y=76
W=335
H=18
ClipString=1
FontColor=#color#
solidcolor
FontFace=#font#
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1

;-----------------------------------------------------------------------------------------------------
Progress Rings

[ProgressBarBG]
Meter=IMAGE
SolidColor=#graph.line2#
X=21
Y=120
W=300
H=2

[ProgressBar]
MeasureName=MeasureProgressP1
Meter=BAR
X=r
Y=r
W=300
H=2
BarColor=#graph.line#
BarOrientation=horizontal

[MeterProgressRingBG2]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=17
LineStart=15
LineColor=#graph.line2#
AntiAlias=1
Solid=1

[MeterProgressRing2]
MeasureName=MeasureProgressP2
Meter=ROUNDLINE
X=r
Y=r
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=17
LineStart=15
AntiAlias=1
LineColor=#graph.line#
Solid=1
Cheers for your help, but got any more ideas?
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Itunes Plugin Trouble

Post by MerlinTheRed »

You know, normally I would advise you to re-write the skin to use the NowPlaying plugin, which is far easier to use, is actively maintained and supports more media players. Of course, this requires some work.

I remember that a few months ago there was an iTunes update that broke some skins. Maybe this is related to that. See if you have the latest Rainmeter and iTunes installed. Also, check the Rainmeter log for any errors from that skin (click on Rainmeter tray icon, click "open log"). Perhaps they can help us track down the problem.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
Avenger1601
Posts: 5
Joined: August 7th, 2012, 8:54 am

Re: Itunes Plugin Trouble

Post by Avenger1601 »

I'm not confident enough in Rainmeter to be rewriting the skins so dramatically just yet.

I have iTunes 10.6.3.25 and Rainmeter was literally installed yesterday. This is a new computer that I'm installing software on, so there should be no problems with it being out of date.

As for logging, you may be onto something here, good sir.

Error log file is attached.

Ok, so it seems to be having trouble finding the .png files in the Skins folder, AND the iTunes plugin says that it's continually unable to create instance.

Suggestions?
Avenger1601
Posts: 5
Joined: August 7th, 2012, 8:54 am

Re: Itunes Plugin Trouble

Post by Avenger1601 »

Ok, upload of error file didn't seem to work. Here's a public Dropbox link:

https://dl.dropbox.com/u/67497194/Error%20Log%20File.txt

Cheers
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Itunes Plugin Trouble

Post by smurfier »

Try this skin code using the NowPlaying plugin.

Code: Select all

[Rainmeter]
Author=urielHDS

[Metadata]
Name=
Description=
Instructions=
Version=
License=

[Variables]
color=255,255,255, 180
color2=0, 0, 0, 200
graph.line=255,255,255, 180
graph.line2=0, 0, 0, 180
font=Concielian Jet

;------------------------type in "b" for black or "w" for white icons
BlackOrWhiteButtons=w

;------------------------------------------
;Measures

[NowPlaying]
Measure=Plugin
Plugin=NowPlaying
PlayerName=iTunes

[MeasureTrack]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[NowPlaying]
PlayerType=Title

[MeasureArtist]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[NowPlaying]
PlayerType=Artist

[MeasureAlbum]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[NowPlaying]
PlayerType=Album

[MeasureTime]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[NowPlaying]
PlayerType=Position

[MeasureArt]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[NowPlaying]
PlayerType=Cover

[MeasureProgress]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[NowPlaying]
PlayerType=Progress
MaxValue=100

; ------------------------------------------
; Progress Measures

[MeasureProgressD]
Measure=Calc
Formula=(MeasureProgress)/100

[MeasureProgressP1]
Measure=Calc
Formula=MeasureProgressD/0.80

[MeasureProgressP2]
Measure=Calc
Formula=(MeasureProgressD-0.80)/0.20

[MeasureAlways]
Measure=Calc
Formula=1
; ------------------------------------------
; Meters

; ===================================================================================================ALBUM ART

[MeterArt]
Meter=Image
MeasureName=MeasureArt
X=354
Y=55
H=90
W=90

;====================================================================================================VOLUME

[Background]
Meter=IMAGE
SolidColor=20, 20, 20, 200
X=175
Y=110
H=2
W=75

[iTunesVolume]
MeasureName=MeasureVolume
Meter=BAR
X=r
Y=r
H=2
W=75
BarColor=255,255,255,180
BarOrientation=HORIZONTAL

[Less]
Meter=Image
ImageName=minus2.png
X=-15r
y=-5r
H=12
W=12
LeftMouseDownAction=!CommandMeasure "NowPlaying" "SetVolume +5"

[More]
Meter=Image
ImageName=plus2.png
X=93r
y=r
H=12
W=12
LeftMouseDownAction=!CommandMeasure "NowPlaying" "SetVolume -5"

;====================================================================================================iTUNES TEXT

[MeterBackground]
Meter=IMAGE
X=182
Y=96
W=90
H=30
SolidColor=0,0,0,1
SolidColor2=0,0,0,1
GradientAngle=0

[MeterText]
Meter=STRING
X=r
Y=r
FontColor=255,255,255,180
StringStyle=NORMAL
FontSize=10
StringAlign=Left
FontFace=Concielian Jet
AntiAlias=1
Prefix="iTunes"
LeftMouseDownAction=!CommandMeasure "NowPlaying" "OpenPlayer"

;======================================================================================================CONTROL
[Background3]
Meter=IMAGE
SolidColor=255,255,255,180
X=320
Y=149
W=130
H=1

[Background4]
Meter=IMAGE
SolidColor=255,255,255,180
X=320
Y=125
W=1
H=24

[Background4B]
Meter=IMAGE
SolidColor255,255,255,180
X=320
Y=78
W=1
H=7

[Background5]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=15
LineStart=13
LineColor=255,255,255,180
AntiAlias=1
Solid=1

[Background6]
Meter=IMAGE
SolidColor=255,255,255,180
X=21
Y=118
W=300
H=2

[Background7]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.15
LineLength=27
LineStart=25
LineColor=#graph.line2#
AntiAlias=1
Solid=1

[Background8]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.15
LineLength=22
LineStart=20
LineColor=#graph.line#
AntiAlias=1
Solid=1

;=============================================================================================================
[Background2control]
Meter=IMAGE
SolidColor=0,0,0,1
X=57
Y=99
W=105
H=18

[Prev]
Meter=IMAGE
ImageName=Prev#BlackOrWhiteButtons#.png
X=r
Y=r
W=18
H=18
AntiAlias=1
LeftMouseDownAction=!CommandMeasure "NowPlaying" "Previous"

[Play]
Meter=IMAGE
ImageName=Play#BlackOrWhiteButtons#.png
X=22r
Y=r
W=19
H=19
AntiAlias=1
LeftMouseDownAction=!CommandMeasure "NowPlaying" "Play"

[Pause]
Meter=IMAGE
ImageName=Pause#BlackOrWhiteButtons#.png
X=14r
Y=r
W=18
H=18
AntiAlias=1
LeftMouseDownAction=!CommandMeasure "NowPlaying" "Pause"

[Stop]
Meter=IMAGE
ImageName=Stop#BlackOrWhiteButtons#.png
X=14r
Y=r
W=18
H=18
AntiAlias=1
LeftMouseDownAction=!CommandMeasure "NowPlaying" "Stop"

[Next]
Meter=IMAGE
ImageName=Next#BlackOrWhiteButtons#.png
X=22r
Y=r
W=18
H=18
AntiAlias=1
LeftMouseDownAction=!CommandMeasure "NowPlaying" "Next"

;============================================================================================================TIME

[Time]
Meter=STRING
MeterStyle=StyleLabel
MeasureName=MeasureTime
x=275
y=95
FontColor=255,255,255,180
FontFace=hooge 05_53
FontSize=11
StringStyle=BOLD
AntiAlias=1

;===================================================================================================MUSIC MONITOR

[Track]
Meter=STRING
MeasureName=MeasureTrack
x=315
y=124
W=335
H=38
ClipString=1
FontColor=#color#
FontFace=#font#
solidcolor
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1

[Artist]
Meter=STRING
MeasureName=MeasureArtist
Text=%1
X=315
Y=76
W=335
H=18
ClipString=1
FontColor=#color#
solidcolor
FontFace=#font#
FontSize=10
StringAlign=right
StringStyle=NORMAL
AntiAlias=1

; -----------------------------------------------------------------------------------------------------
; Progress Rings

[ProgressBarBG]
Meter=IMAGE
SolidColor=#graph.line2#
X=21
Y=120
W=300
H=2

[ProgressBar]
MeasureName=MeasureProgressP1
Meter=BAR
X=r
Y=r
W=300
H=2
BarColor=#graph.line#
BarOrientation=horizontal

[MeterProgressRingBG2]
Meter=ROUNDLINE
MeasureName=MeasureAlways
X=221
Y=5
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=17
LineStart=15
LineColor=#graph.line2#
AntiAlias=1
Solid=1

[MeterProgressRing2]
MeasureName=MeasureProgressP2
Meter=ROUNDLINE
X=r
Y=r
W=200
H=200
StartAngle=1.57075
RotationAngle=-3.2
LineLength=17
LineStart=15
AntiAlias=1
LineColor=#graph.line#
Solid=1
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
Avenger1601
Posts: 5
Joined: August 7th, 2012, 8:54 am

Re: Itunes Plugin Trouble

Post by Avenger1601 »

Ok, now it's working, no idea what changed. Didn't even have to use the new code with the NowPlaying plugin.

Huge thanks to you guys for the help.