It is currently April 23rd, 2024, 12:22 pm

Track media changes...

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16162
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Track media changes...

Post by balala »

Mor3bane wrote: August 13th, 2020, 5:50 pm Error trapping output if i understand Cyber's description correctly.
Don't know, can't realize, but I'd be curious...
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Track media changes...

Post by CyberTheWorm »

It does not just work with 1, Spotify keep changing it's frustrating
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Pokesi
Posts: 14
Joined: August 7th, 2020, 2:43 am

Re: Track media changes...

Post by Pokesi »

What I mean is:
  • When a song is changed (or started/stopped), load a skin.
  • Unload after 2 secs
I don't want a media player, I want to track media changes. Like this in Windows:
Image
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Track media changes...

Post by CyberTheWorm »

OK I understand now
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
balala
Rainmeter Sage
Posts: 16162
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Track media changes...

Post by balala »

Pokesi wrote: August 14th, 2020, 1:39 am I don't want a media player,
You can't create a media player in Rainmeter: https://forum.rainmeter.net/viewtopic.php?f=4&t=15957#p89343
Pokesi wrote: August 14th, 2020, 1:39 am What I mean is:
  • When a song is changed (or started/stopped), load a skin.
  • Unload after 2 secs
Install the attached skin and try it out, please. Is it looking as what you waited for?
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16162
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Track media changes...

Post by balala »

balala wrote: August 14th, 2020, 6:25 pm Install the attached skin and try it out, please. Is it looking as what you waited for?
When posted the skin, I forgot to mention some details:
  • The skin is working with Windows Media Player. To change it to your player, replace the PlayerName variable into the [Variables] section, accordingly to the desired player.
  • The Wait variable establish how long is the skin keep visible (in seconds). You can easily modify it if you want to keep it visible for more or less seconds.
  • Note that when you don't see the skin, it is not unloaded, just hidden. It's much more simple, than unloading it.
User avatar
Yincognito
Rainmeter Sage
Posts: 7149
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Track media changes...

Post by Yincognito »

CyberTheWorm wrote: August 13th, 2020, 5:01 pm...and the reason for the 2 x [!Refresh] is Spotify is buggy and does not seem to update the Play/Pause unless I have them there
Have you tried !UpdateMeasure on the NowPlaying "parent" measure (i.e. the one using an actual player name in the corresponding option)? Not sure this will make a difference in the case of Spotify, but personally I !UpdateMeasure each parent measure after I !CommandMeasure on them, in the case of audio related skins, in order to get them up to date with changes.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
Pokesi
Posts: 14
Joined: August 7th, 2020, 2:43 am

Re: Track media changes...

Post by Pokesi »

balala wrote: August 14th, 2020, 7:21 pm When posted the skin, I forgot to mention some details:
  • The skin is working with Windows Media Player. To change it to your player, replace the PlayerName variable into the [Variables] section, accordingly to the desired player.
  • The Wait variable establish how long is the skin keep visible (in seconds). You can easily modify it if you want to keep it visible for more or less seconds.
  • Note that when you don't see the skin, it is not unloaded, just hidden. It's much more simple, than unloading it.
The skin works, but i'm going to edit it a bit...
User avatar
balala
Rainmeter Sage
Posts: 16162
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Track media changes...

Post by balala »

Pokesi wrote: August 17th, 2020, 11:11 pm The skin works, but i'm going to edit it a bit...
Obviously, you have to edit it as you want.