It is currently May 17th, 2024, 2:36 am

Spotify Plugin Released! Now with less bugs!

Plugins and Addons popular with the Community
User avatar
.raptor
Posts: 220
Joined: April 3rd, 2013, 11:03 pm
Location: Norway

Re: Spotify Plugin Released! Now with less bugs!

Post by .raptor »

mr.derek wrote:Hey it's Raptor! Thank you for your work on this plugin, I love it! The strings are working for me, everything looks great! =D

Regarding stability - Rainmeter has crashed on me a couple of times, I'm still very new to it, so I'll have to keep an eye on it for a bit to see what's happening.

Just a question for you though - when using the SpotifyPlugin.dll - is it bad practice to load multiple skins that use it? Like two instances of Kaz's skin one small player and one big for the artwork. So they both have their own ini files which have instances of SpotifyPlugin.dll. Earlier on in this thread there was discussion of a possible memory leak on Spotify's end and I was wondering if this could be the cause of the rainmeter crashes?

Thanks again!
I am pretty sure that loading several skins/inis or loading several meters within a skin has the same performance. I am currently using an equalizer, a skin for artwork, and a skin for song/artist names, and i've had no issues at all. Besides, my pc is pretty much always on, so the plugin has been running here for weeks at a time with no issues.

The memory leak does not seems to be an issue anymore (thankfully). I don't know if it was at my or spotifys end, but either way its gone :great:

I would very much like to know why you are experiencing crashes, and if it has something to do with my plugin. Please keep me updated! :)
User avatar
Kaz28100
Posts: 67
Joined: May 3rd, 2012, 3:59 pm
Location: France

Re: Spotify Plugin Released! Now with less bugs!

Post by Kaz28100 »

Thank you Raptor for the update, i tried with my skin and it's all good and special character works !

Image
LewaBolt
Posts: 11
Joined: March 25th, 2015, 8:22 pm

Re: Spotify Plugin Released! Now with less bugs!

Post by LewaBolt »

mr.derek wrote:I tried that code in your file and it loaded the album art for me (see attached).

I recommend downloading Kaz's Veronica RM 2 (link a couple of posts before), installing that fresh and seeing if it all works. If not there is something else going on other than the ini file.
Thanks, it did work, but I have moved on to customizing a new player. just wish I knew how to change Visualizer colors.
mr.derek
Posts: 22
Joined: March 26th, 2015, 10:13 am

Re: Spotify Plugin Released! Now with less bugs!

Post by mr.derek »

Do you mean the flashing blue squares thingy? Take a look at squares.png in the bitmap folder, changing this will change the colours or use something like ImageTint...
LewaBolt
Posts: 11
Joined: March 25th, 2015, 8:22 pm

Re: Spotify Plugin Released! Now with less bugs!

Post by LewaBolt »

Those squares are just a place taker for when there is no album art. i noticed alot of coding for my old player seems to be coflicting a bit with itself, so I picked a new player as a base for making my new one.
Image

Even was able to add my favorite font with it. CHILLER font
User avatar
Giebat
Posts: 5
Joined: March 29th, 2015, 7:51 pm

Re: Spotify Plugin Released! Now with less bugs!

Post by Giebat »

LewaBolt wrote:Those squares are just a place taker for when there is no album art. i noticed alot of coding for my old player seems to be coflicting a bit with itself, so I picked a new player as a base for making my new one.
Image

Even was able to add my favorite font with it. CHILLER font
Hey, Im not very experienced with Rainmeter, And i use the same Spotify Skin as you, But how come my "time bar" isn't showing?

http://imgur.com/SvsskQi

And does anyone might know why my swedish letters ÅÄÖ (See picture) Shows up like (Example) Å = ¥A? (Artist name contains Ö and weird symbol there too.)The font supports these letters.
LewaBolt
Posts: 11
Joined: March 25th, 2015, 8:22 pm

Re: Spotify Plugin Released! Now with less bugs!

Post by LewaBolt »

Giebat wrote: Hey, Im not very experienced with Rainmeter, And i use the same Spotify Skin as you, But how come my "time bar" isn't showing?

http://imgur.com/SvsskQi

And does anyone might know why my swedish letters ÅÄÖ (See picture) Shows up like (Example) Å = ¥A? (Artist name contains Ö and weird symbol there too.)The font supports these letters.
well, you can look at my coding if you want. As for your fonts, I have the CHILLER font file from Word with it.
[Rainmeter]
Update=0



[Metadata]
Name=La Compagnie des Ombres
Author=Milan - http://madmilov2.deviantart.com/
Information=
License=Creative Commons BY-NC-SA 3.0
Version=1.2

[Variables]
Update=100
Player=Spotify
PlayerChosen=1

[PlayerChosen]
Measure=Calc
Formula=#PlayerChosen#
DynamicVariables=1
IfEqualValue=0
IfEqualAction=[!HideMeterGroup Player][!ShowMeterGroup ChoosePlayer]
IfAboveValue=0
IfAboveAction=[!HideMeterGroup ChoosePlayer]
====


[MeterBackground]
Meter=Image
ImageName=template2.png
X=20
Y=40
W=320
H=100

[MeterMark]
Meter=Image
ImageName=Mark.png
X=220
Y=88
W=40
H=50

;---------------------------
; Visualizer
;---------------------------

[MeasureAudioRaw_Out]
; This measure is the heart of the visualizer.
; Documentation: viewtopic.php?f=18&t=18802
Measure=Plugin
Plugin=AudioLevel
Port=Output
;RMSAttack=0
;RMSDecay=100
;RMSGain=0.0
;PeakAttack=20
;PeakDecay=80
;PeakGain=10
FFTSize=2048
FFTOverlap=1024
FFTAttack=40
FFTDecay=60
Bands=39
FreqMin=10
FreqMax=15000
Sensitivity=55

[measureAudioOut_01]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=1

[measureAudioOut_02]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=1

[measureAudioOut_03]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=2

[measureAudioOut_04]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=3

[measureAudioOut_05]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=4

[measureAudioOut_06]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=5

[measureAudioOut_07]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=6

[measureAudioOut_08]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=7

[measureAudioOut_09]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=8

[measureAudioOut_10]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=9

[measureAudioOut_11]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=10

[measureAudioOut_12]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=11

[measureAudioOut_13]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=12

[measureAudioOut_14]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=13

[measureAudioOut_15]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=14

[measureAudioOut_16]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=15

[measureAudioOut_17]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=16

[measureAudioOut_18]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=17

[measureAudioOut_19]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=18

[measureAudioOut_20]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=19

[measureAudioOut_21]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=20

[measureAudioOut_22]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=21

[measureAudioOut_23]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=22

[measureAudioOut_24]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=23

[measureAudioOut_25]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=24

[measureAudioOut_26]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=25

[measureAudioOut_27]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=26

[measureAudioOut_28]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=27

[measureAudioOut_29]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=28

[measureAudioOut_30]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=29

[measureAudioOut_31]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=30

[measureAudioOut_32]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=31

[measureAudioOut_33]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=32

[measureAudioOut_34]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=33

[measureAudioOut_35]
Measure=Plugin
Plugin=AudioLevel
Parent=measureAudioRaw_Out
Type=Band
BandIdx=34

;---------------------------
; Measure NowPlaying
;---------------------------

[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=#player#
Substitute="":""

[MeasureArtist]
Measure=Plugin
Plugin=SpotifyPlugin.dll
PlayerName=#player#
Type=ARTISTNAME
Substitute="":""

[MeasureTitle]
Measure=Plugin
Plugin=SpotifyPlugin.dll
PlayerName=#player#
Type=TRACKNAME
Substitute="":""

[MeasureCover]
Measure=Plugin
Plugin=SpotifyPlugin.dll
Type=AlbumArt
Res=300
Substitute="":"Default.jpg"

[MeasureProgress]
Measure=Plugin
Plugin=SpotifyPlugin.dll
Type=Progress
Decimals=2

;---------------------------
; Meter Bar
;---------------------------

[meter_bar01]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_01
X=0
Y=0
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar02]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_02
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar03]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_03
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar04]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_04
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar05]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_05
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar06]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_06
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar07]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_07
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar08]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_08
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar09]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_09
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar10]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_10
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar11]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_11
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar12]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_12
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar13]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_13
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar14]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_14
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar15]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_15
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar16]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_16
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar17]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_17
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar18]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_18
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar19]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_19
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar20]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_20
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar21]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_21
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar22]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_22
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar23]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_23
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar24]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_24
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar25]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_25
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar26]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_26
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar27]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_27
X=4R
Y=0r
W=6
H=50
BarColor=009999
AverageSize=0.1
DynamicWindowSize=1

[meter_bar28]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_28
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar29]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_29
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar30]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_30
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar30]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_30
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar31]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_31
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar32]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_32
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar33]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_33
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar34]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_34
X=4R
Y=0r
W=6
H=50
BarColor=009999
DynamicWindowSize=1

[meter_bar35]
Meter=BAR
Orientation=Vertical
MeasureName=measureAudioOut_35
X=4R
Y=0r
W=6
H=50
BarColor=009999[!Update]
DynamicWindowSize=1

;---------------------------
; Meter NowPlaying
;---------------------------

[MeterProgressBar]
Meter=Bar
MeasureName=MeasureProgress
X=0
Y=51
W=346
H=2
BarColor=009999
SolidColor=0,0,0,75
BarOrientation=HORIZONTAL
Group=Player

[MeterCover]
Meter=Image
MeasureName=MeasureCover
X=2
Y=59
W=77
H=77
ImageName="%1"
SolidColor=0,0,0,75
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasurePlayer OpenPlayer"]
DynamicWindowSize=1
Group=Player

[MeterTitle]
Meter=STRING
MeasureName=MeasureTitle
X=80
Y=59
W=300
H=20
FontColor=0,126,231
FontSize=18
StringAlign=Left
StringCase=Upper
FontFace=CHILLER
FontSize=11
StringEffect=SHADOW
FontEffectColor=009988
StringAlign=LEFT
AntiAlias=1
FontColor=000000
Hidden=0

[MeterArtist]
Meter=STRING
MeasureName=MeasureArtist
X=r
Y=83
W=300
H=20
FontColor=255,255,255,99
FontSize=14
StringAlign=Left
StringCase=Upper
FontFace=Gravity
FontSize=11
StringEffect=SHADOW
FontEffectColor=009999
StringAlign=LEFT
AntiAlias=1
FontColor=000000
Hidden=0


;---------------------------
; Meter Buttons
;---------------------------

[Background cover]
Meter=Image
ImageName=bg.png
X=0
Y=57
Group=Player

[Prev]
Meter=Image
ImageName=prev.png
X=85
Y=110
Group=Player
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasurePlayer Previous"]

[Play]
Meter=IMAGE
ImageName=play.png
X=110
Y=110
AntiAlias=1
Group=Player
LeftMouseDownAction=!Execute [!CommandMeasure "MeasurePlayer Play"][!Update]

[Pause]
Meter=IMAGE
ImageName=Pause.png
X=135
Y=110
AntiAlias=1
Group=Player
LeftMouseDownAction=!Execute [!CommandMeasure "MeasurePlayer Pause"][!Update]

[Next]
Meter=Image
ImageName=next.png
X=160
Y=110
Group=Player
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasurePlayer Next"]

;---------------------------

[MeterBlossom]
Meter=Image
ImageName=FireBlossomconfused.png
X=220
Y=20
W=120
H=120

====
User avatar
Giebat
Posts: 5
Joined: March 29th, 2015, 7:51 pm

Re: Spotify Plugin Released! Now with less bugs!

Post by Giebat »

Thanks Lewabolt! With your code i got the "Progressbar" fixed!
Tho i still can't get the "ÅÄÖ" in it to work, Would it be possible that the Spotify plugin that cannot handle it? Since a simple text "skin" with same font (Gravity) Shows it as wanted.
Last edited by Giebat on March 30th, 2015, 12:47 pm, edited 1 time in total.
LewaBolt
Posts: 11
Joined: March 25th, 2015, 8:22 pm

Re: Spotify Plugin Released! Now with less bugs!

Post by LewaBolt »

Giebat wrote:Thanks Lewabolt! With your code i got the "Progressbar" fixed!
Tho i still can't get the "ÅÄÖ" in it to work, Would it be possible that the Spotify plugin that cannot handle it? Since a simple text "skin" with same font (Gravity) Shows it as wanted.
if you can find the font file that uses them, and switch "Garavity" to it, should work. need the file in the @reasources in the skin file though.
mr.derek
Posts: 22
Joined: March 26th, 2015, 10:13 am

Re: Spotify Plugin Released! Now with less bugs!

Post by mr.derek »

I may have something for you! I combined the skin you posted with a colour EQ from alatsombath, Fountains of Color. So there is a colour EQ now, here's a pic:



The pic doesn't do it justice actually, it was hard to screencap it because the colours change too fast. Lots of tweakability here with alatsombath's code!

There's a small formatting problem I'm not smart enough to figure out - the EQ bar starts 4 pixels off to the right, maybe some of the smart people here can figure out how to set it to 0,0?

Thanks and credit to both Milan and alatsombath for their brilliant code! Zip attached as there are a couple of file dependencies.
You do not have the required permissions to view the files attached to this post.