-
Notifications
You must be signed in to change notification settings - Fork 202
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
Bug: Media Sessions are not updating in Windows 10 2004 #29
Comments
The built-in flyout uses the very old INowPlayingSessionManager com interface. I haven't tested MtcModel (starting from 14393) enough to say if it's broken or not, but at current situation it will NOT work on .NET due to WinRT marshaller being picky to say the least (If the namespace starts with "Windows." the .NET WinRT marshaller will look for the winmd ONLY in "%windir%\system32\winmetadata". Obviously this is an internal one, so not available in that folder. Failing to find it will die.) |
Mm okay. 😑 HOW TF DO YOU KNOW IT? 🤯😵Are only the sessions changed not firing? Are there some other events not firing too (for e.g. playback info changed, timeline properties changed & etc)? |
Magic! (You have no idea how many interfaces I damn reversed. This is one of 2 reason why I'm still quiet yet. I want to make a big surprise. The another one is being a university student with many exams lol)
So far I only observed sessions changes not firing.
The problem of this interface is that is different across Windows 10 versions. |
If Cs/WinRT was stable enough we would use that compiler/marshaller to create a projection of MtcModel -> as you can have support up to 14393. (LockScreen uses this btw) |
Any news, when it will be fixed? |
Any news of when this will be fixed? |
No updates yet 😅. But this is a high priority and will sure be fixed |
Microsoft seems to have fixed this on insider builds |
Can the community verify this. |
Wee woo wee woo! Feature update time! NPSM is in prototyping stage right now. https://github.com/ADeltaX/NPSMLib The actual incorporation would happen in a few days. Stay tuned for more updates 😏. |
any updates? |
Well @ADeltaX just fixed a few bugs. We expect to release feature with v0.9 within 2 weeks 😄 |
It's happening! v0.9 will be released in 2 days or so. |
Excited to see its coming |
@Cyberdroid1 when will v0.9 be released ? |
It should come soon. |
@Parth-Mawai, You can get the app from the GitHub Repo, or you can wait a few days until it is released in store. |
I can't install, it says that app doesn't have needed certificates, even after installing *.cer file :// |
same here |
the error : "This app package is not signed with a trusted certificate. Contact your system administrator or the app developer to obtain a new certificate or app package with trusted certificates. The root certificate and all immediate certificates of the signature in the app package must be trusted (0x800B010A)" |
To fix that, open the certificate, then install, then choose browse and select trusted people. And install. Then try installing again. Should work. I just figured out today 😂 |
Media sessions are not updating still...... Spotify steering works, but microsoft edge and other apps no :/// But displaying over everything works ;D Edit: if anyone have same problem, just reset app, and everything works xD |
is it possible to maybe add an option to restart ModernFlyouts from the system tray context menu? |
There is ability to exit app, and then start it from Start menu. IMO, adding an option to restart isn't exactly great. |
true but it's kind of annoying to have to close modernflyouts and open it from the start menu over and over again basically every hour, a button to restart it would still be nice and make it less of a hassle |
Why do you need to restart the app every hour though? |
because it happens almost every hour? |
I encountered this bug today. Kinda a dealbreaker. |
Sorry for digging up this issue. |
Description of the bug :
Starting from Windows 10 2004 the GlobalSystemMediaTransportControlsSessionManager is broken and the
GlobalSystemMediaTransportControlsSessionManager.SessionsChanged
event is not firing properly.Meaning that the session controls won't be upated whenever an app opens/closes (e.g. Test yourself with Groove Music) & etc.
This makes the session controls (which is a very important feature of this app) useless. But the built-in flyout works somehow.
Source :
Manual verification and from our collaborator @ADeltaX (in ADeltaX/AudioFlyout#12)
Current Workaround :
Restarting the app updates the sessions (won't update again we have to restart again to update).
Expected behaviour :
The app updates itself whenever the GSMTC sessions are updated.
Proposed method :
If can't provide any programmatic fix, at-least provide an update button to refresh them manually. Instead of forcing users to restart the app and making things complex.
The text was updated successfully, but these errors were encountered: