tjhrulz / WebNowPlaying-BrowserExtension

The extension to go along with the WebNowPlaying plugin for Rainmeter
74 stars 35 forks source link

Basic VK Support #68

Closed MaximovInk closed 3 years ago

MaximovInk commented 3 years ago

I did it for myself, but it may suddenly be useful to someone =)

Tested on Firefox and Rainmeter Monstercat visualizer

Support:

tjhrulz commented 3 years ago

My issue with this is that state is set to always be true, this could then cause collisions since WebNowPlaying will this it is always playing as long as the ready check passes. Given that is see for that the playpause command that you check if it is playing that should be used for the state. (0 is hard stopped (Almost never is this going to happen since at that point the player wont be ready to grab info), 1 is playing, and 2 is paused).

Also there is no need for temp variables to store the info, those can just be returned since the parent script you are returning to handles that.