Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Position multiplying after skin reload #5

Closed
KrazyManJ opened this issue Jun 24, 2023 · 12 comments
Closed

Position multiplying after skin reload #5

KrazyManJ opened this issue Jun 24, 2023 · 12 comments

Comments

@KrazyManJ
Copy link

So i am currently working on widget to take control over web music player (mainly spotify) with your plugin and after each reload it multiply position parameter e.g. I reload it 5 times and instead of adding one second in position, it adds 5 seconds, 10 times reload adds 10 seconds each seconds and so on.

You can check out code of widget here.

Also i am using the newest version of Rainmeter (4.5.17.3700) (64-bit) and the newest version of this plugin (I've downloaded it yesterday).

@keifufu
Copy link
Owner

keifufu commented Jun 24, 2023

That sounds like it might only be possible if you use the spotify desktop player. Are you sure you're using the web version of spotify and don't have the desktop player open or anything? You can check which player it's grabbing info from with PlayerType=Player, where Spotify is the website and "Windows Media Session" is Spotify Desktop

@KrazyManJ
Copy link
Author

No, i am sure that i am using spotify version installed by executable and not by windows store, also i've done configuration of spotify to work with this extension via this tutorial by author of monstercat visualizer.

@keifufu
Copy link
Owner

keifufu commented Jun 24, 2023

You had mentioned "web music player (mainly spotify)", so I thought you'd be using the website.
It doesn't matter if you have the executable or microsoft store version installed.
Please uninstall spicetify as It's no longer needed with WebNowPlaying 2.0.0 and newer and it could be the cause of the issue.

@KrazyManJ
Copy link
Author

So now i can use default spotify app without spicetify and all my functionality in widget posted above should be fully compatible to gather all info by your plugin? I am asking just to be sure because that spicetify configuration took me long time to do.

@keifufu
Copy link
Owner

keifufu commented Jun 24, 2023

As long as you're on windows 10 or 11, yes.

@KrazyManJ
Copy link
Author

After proper uninstallation of spotify + spicetify and installing it back without spicetify it still does the same problem, still after skin reload it multiplies progress based on count of reload.

@keifufu
Copy link
Owner

keifufu commented Jun 24, 2023

Do you have any other skins loaded? Do you reload all skins or just the music skin?

@KrazyManJ
Copy link
Author

I am just reloading Music.ini skin and it is only skin i have currently on my screen. I am refreshing it via button with label "Refresh" that i can press only when i select specific skin so i assume it refreshes only that selected skin.

@keifufu
Copy link
Owner

keifufu commented Jun 24, 2023

Please give this version of the plugin a go, replace WebNowPlaying.dll in %AppData%\Rainmeter\Plugins with the .dll in the zip: WebNowPlaying.zip

@KrazyManJ
Copy link
Author

Problem solved! I guess you've modified locally your plugin and send me copy to test it. After few tries (even hard-click spamming just to test it) it does not multiply progress anymore 😁 Thank you for your quick response and solving this issue, love this plugin cuz it turns dream of making apple-like widgets come true! ❤️ Keep it up!

@keifufu
Copy link
Owner

keifufu commented Jun 24, 2023

Glad it worked!
I actually made this to fix another users problem on the rainmeter forums. It was already committed in 35c1e22 but I have yet to make a release for it.

@keifufu keifufu closed this as completed Jun 24, 2023
@keifufu
Copy link
Owner

keifufu commented Jun 24, 2023

Just published v2.0.4 if you want the version bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants