It is currently April 27th, 2024, 5:49 pm

Help for Spotify app Skin edit

Get help with creating, editing & fixing problems with skins
Irtiza Bin Rashid
Posts: 1
Joined: March 21st, 2021, 1:43 pm

Help for Spotify app Skin edit

Post by Irtiza Bin Rashid »

:welcome:

Code: Select all

[Rainmeter]
DragGroup=BigSur
Group=Widget
Author=Xyrfo and fediaFedia
OnRefreshAction=[!SetTransparency "#opacity#"]
MouseActionCursor=0
MiddleMouseUpAction=!DeactivateConfig
Update=1000

Blur=#globalblurenable#
BlurRegion=2,(10-#Padding#),(10-#Padding#),161*#scaledpi#,161*#scaledpi#,#blurcornerradius#

RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=#Settings#
ContextAction=["#@#Config.exe" #Type# "#CURRENTCONFIG#" "#CURRENTFILE#" "#SETTINGSPATH#" "#SKINSPATH#" "#PROGRAMPATH#" "#scaledpi#"]

ContextTitle2=#Alternative#
ContextAction2=[!ActivateConfig "#CURRENTCONFIG#"]
ContextTitle3=#Close#
ContextAction3=[!DeactivateConfig]
ContextTitle4=----
ContextAction4=[]
ContextTitle5=#AddItems#
ContextAction5=[!ActivateConfig "BigSur\Gallery" "Gallery.ini"]
ContextTitle6=----
ContextAction6=[]
ContextTitle7=#MoreActions#
ContextAction7=[!SkinMenu]

[Metadata]
Version=1.0
Information=BigSur for Rainmeter
License=Creative Commons Attribution-Noncommercial-Share Alike 3.0 License

[Variables]
Type=Regular
@include=#@#Global.inc
@include1=#@#Languages\#MainLanguage#.inc
@include2=#@#\Structure\#Type#\Type.inc
@include3=UserVariables.inc
Name=#Player#
Height=150
redcolor=30,200,100
ColorSkin=67,44,44
TextColor2=255,255,255

[mPlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=#Player#
PlayerType=TITLE
PlayerPatH=
DisableLeadingZero=0
Substitute="":"-"
; Return value is 1 on error
IfEqualValue=1
IfEqualAction=[!ShowMeter ErrorMessage][!Redraw]

[MeasureProgress]
Measure=Plugin
Plugin=SpotifyPlugin
Type=Progress

[mArtist]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=ARTIST
Substitute="":"-"

[mAlbum]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=ALBUM
Substitute="":"-"

[mCover]
Measure=Plugin
Plugin=SpotifyPlugin
Type=AlbumArt
Res=300
DefaultPath="#@#Graphics\Music\Default.png"
CoverPath=#@#Cover.png



[Style]
StringAlign=CENTER
StringStyle=Normal
FontColor=255,255,255
FontFace=#ThemeFont#
AntiAlias=1








[Buttons]
W=((#Height#/6))*#scaledpi#
H=((#Height#/6))*#scaledpi#
ImageTint=#textcolor2#,#paneltitleopacity#
MouseActionCursor=1


[MusicICon]
Meter=Image
ImageName=#@#\Graphics\Web\Spotify.png
x=(290)*#scaledpi#
y=(120)*#scaledpi#
w=(25)*#scaledpi#
h=(25)*#scaledpi#
LeftMouseUpAction=['%APPDATA%\Spotify\Spotify.exe']
MouseActionCursor=1


[MeterAlbumd]
Meter=Image
MeasureName=mCover
MeterStyle=Full
x=(25)*#scaledpi#
y=(25)*#scaledpi#
w=(120)*#scaledpi#
h=(120)*#scaledpi#
ImageName="%1"
ToolTipTitle=[mAlbum]
ToolTipText=[mArtist]#CRLF#[mPlayer]#CRLF#---#CRLF#Double click for next song
DynamicVariables=1

[MeterAlbumMask]
Meter=Image
ImageName=#@#\Graphics\Music\mask.png
x=(25)*#scaledpi#
y=(25)*#scaledpi#
w=(120)*#scaledpi#
h=(120)*#scaledpi#
imagetint=#colorskin#

[song]
Meter=String
StringStyle=NORMAL
MeasureName=mPlayer
StringAlign=LEFT
AntiAlias=1
W=((#Height#-20))*#scaledpi#
H=((#Height#/8))*#scaledpi#
X=(160*#scaledpi#)
ClipString=2
Y=(30*#scaledpi#)
FontColor=#textcolor2#
FontSize=((#Height#/16))*#scaledpi#

[artist]
Meter=String
StringStyle=NORMAL
MeasureName=mArtist
StringAlign=LEFT
AntiAlias=1
W=((#Height#-20))*#scaledpi#
H=((#Height#/8))*#scaledpi#
X=r
ClipString=1
Y=-2R
FontColor=#redcolor#
FontSize=((#Height#/16))*#scaledpi#

[album]
Meter=String
StringStyle=NORMAL
MeasureName=mAlbum
StringAlign=LEFT
AntiAlias=1
W=((#Height#-20))*#scaledpi#
H=((#Height#/8))*#scaledpi#
X=r
ClipString=1
Y=-2R
FontColor=#textcolor2#,100
FontSize=((#Height#/16))*#scaledpi#





[ButtonsE]
W=((#Height#/6))*#scaledpi#
H=((#Height#/6))*#scaledpi#
ImageTint=#textcolor2#
MouseActionCursor=1



[Prev]
Meter=Image
ImageName=#@#Graphics\Music\Prev.png
X=(160)*#scaledpi#
Y=(120)*#scaledpi#
LeftMouseUpAction=[!CommandMeasure "MeasureProgress" "Previous"]
MeterStyle=ButtonsE
imagetint=#redcolor#
[Play]
Meter=Image
ImageName=#@#Graphics\Music\playpause.png
DynamicVariables=1
X=R
W=((#Height#/4.2857))*#scaledpi#
H=((#Height#/4.2857))*#scaledpi#
Y=(-5)*#scaledpi#r
LeftMouseUpAction=[!CommandMeasure "MeasureProgress" "PlayPause"]
MeterStyle=ButtonsE
imagetint=#redcolor#
[Next]
Meter=Image
ImageName=#@#Graphics\Music\Next.png
X=R
Y=(5)*#scaledpi#r
LeftMouseUpAction=[!CommandMeasure "MeasureProgress" "Next"]
MeterStyle=ButtonsE
imagetint=#redcolor#
You do not have the required permissions to view the files attached to this post.
Last edited by balala on March 21st, 2021, 6:57 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are posting code snippets. It's the </> button.
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Help for Spotify app Skin edit

Post by CyberTheWorm »

https://docs.rainmeter.net/manual/measures/nowplaying/
See this link, Spotify is only partially supported.

Code: Select all

Partially supported. Only the types Artist, Track and the bangs Play, PlayPause, Stop, Next, and Previous are available.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
balala
Rainmeter Sage
Posts: 16178
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help for Spotify app Skin edit

Post by balala »

I simply (completely) refuse to use Spotify, so I can't say anything meaninful, but if I'm not wrong, a while ago there has been a Spotify plugin, which later has been deprecated and another has been created instead. At least this is my guess, this is what I remember. Unfortunately as said, since I don't use Spotify (and never did), I can't name it, just guess there has been such a plugin (or two). Maybe someone who used it (them) can come with a name and / or a link.
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Help for Spotify app Skin edit

Post by CyberTheWorm »

balala wrote: March 21st, 2021, 7:06 pm I simply (completely) refuse to use Spotify, so I can't say anything meaninful, but if I'm not wrong, a while ago there has been a Spotify plugin, which later has been deprecated and another has been created instead. At least this is my guess, this is what I remember. Unfortunately as said, since I don't use Spotify (and never did), I can't name it, just guess there has been such a plugin (or two). Maybe someone who used it (them) can come with a name and / or a link.
they kept changing the application so the plugin's stopped working. I don't know if someone has taken it over or not.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
balala
Rainmeter Sage
Posts: 16178
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help for Spotify app Skin edit

Post by balala »

CyberTheWorm wrote: March 22nd, 2021, 4:22 am they kept changing the application so the plugin's stopped working. I don't know if someone has taken it over or not.
I don't know either, because as said, I don't use Spotify. But probably sooner or later someone who is using it will come to tell the fact.
User avatar
JamX
Posts: 207
Joined: October 4th, 2019, 2:46 pm

Re: Help for Spotify app Skin edit

Post by JamX »

Look at:

https://github.com/khanhas/spicetify-cli

Works for me with all the functionality you want.
player.png
You do not have the required permissions to view the files attached to this post.