It is currently April 18th, 2024, 11:48 am

TrackChangeAction and !SetWallpaper issue

Get help with creating, editing & fixing problems with skins
KushuhGami
Posts: 3
Joined: May 13th, 2017, 8:33 am

TrackChangeAction and !SetWallpaper issue

Post by KushuhGami »

Hi everyone,

I'm currently trying to make a skin wich set a specific desktop wallpaper when music player load a specific music (I'm using MusicBee player). The skin works perfectly fine when I refresh it manually (setting the wallpaper corresponding to the music), however it doesn't when only switching track (I have to update it manually again if I want the wallpaper to display properly) :confused:

Here is the code I made

Code: Select all

[MeasureArtist2]
Measure=Plugin
Plugin=NowPlaying
PlayerName=CAD
PlayerType=Artist
Substitute=";":" & ","*":""

[MeasureTitle]
Measure=Plugin
Plugin=NowPlaying
PlayerName=CAD
PlayerType=Title

[MeasureBgM]
Measure=String
String=C:/Users/User/Pictures/Music BG/[MeasureArtist2]/[MeasureTitle].png

[MeasureBg]
Measure=Plugin
Plugin=NowPlaying
Playertype=TITLE
PlayerName=CAD
TrackChangeAction=!SetWallpaper "[MeasureBgM]" Fill
Is there a problem with the way I used TrackChangeAction ?
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: TrackChangeAction and !SetWallpaper issue

Post by mak_kawa »

I didn't try actual skin code, but DynamicVariables=1 in the measures solve the issue?
KushuhGami
Posts: 3
Joined: May 13th, 2017, 8:33 am

Re: TrackChangeAction and !SetWallpaper issue

Post by KushuhGami »

Thanks ! I just added it and know it works perfectly fine :D