-
Notifications
You must be signed in to change notification settings - Fork 39
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
[WIP] Rewriting the internals of how the extension works #120
Conversation
@ChrisLauinger77 If you have some time on your hands to test this, I would love to hear your feedback |
I am on vacation. Flying back next Saturday. So earliest Sunday I can have a look. |
Sure |
Fixed bugs in button label relating to the artist The player proxy now polls the player till there is a length after it is initialized
@ChrisLauinger77 Hey, I added a small change that might just fix this. Can you try that out? |
Btw are you using any unstable version of a program in the GNOME stack? like a beta or testing version |
Not really - and I also tested v31 with my current setup. This one works without major issues. |
the changes do not really help :(
|
And then when I stop spotify after start with no music ever played I get this:
It is also unexpected - is this also happening for U ? |
Yes it is supposed to be like that, those messages will only log in debug mode |
Really ? This is showing up in log when I just start spotify. |
Most of those won't be logged in release mode. |
I will look into this in a bit, this might be caused by the last commit. |
Btw, how did you compile these files? No matter how I build, the |
"Added menu slider" is logged multiple times - but only 1 slider is added. Confusing. |
It's because the existing sliders are being replaced |
When ever metadata, position/length of the media get's updated the slider gets replaced. |
I edited the .js in the deployment folder for testing / debugging. And prettier reformatted |
In v31 the slider is not replaced, right ? Why is it replaced ? Can we just use 1 slider and update it ? |
It is implemented differently here, in v31 the slider queries the current position from the mpris object every one second, and updates the value, which is a really bad method, the new version query the position at the start of the song and animates the slider for the duration of the song, which is a way cleaner and performant approach. |
Can you send your edited |
I just let Spotify play on its own for 30 minutes and checked the logs, there was nothing unexpected like spam or logs. I think we should release the new version now and if other poeple are also experiencing the same issue, we can work towards a fix. |
I downgraded to v31 and lost my changes. They where not working anyways |
I still see sometimes spotify stopped but the slider animates. |
Fine lets see what EGO review has as result. If the release is not working for me I still can downgrade to v31 which does and have a working version. |
Major changes
Todos
Issues