ModernFlyouts
ModernFlyouts copied to clipboard
Bug with NPSMLib causing Media Flyout not to update when opening media
ModernFlyouts Version
0.10.0.0
Windows version
Windows 10 22H2
OS build
No response
Platform
x64
Area(s) with issue?
Media Flyout
Steps to reproduce
Open ModernFlyouts, then open up a video or song.
✔️ Expected Behavior
I can open a Media app and expect it to show up on the media flyout.
❌ Actual Behavior
I open a Media app and it doesn't show on the media flyout
Other Software
Any media app like Spotify.
Additional Context
Certain events are not firing (namely SessionListChanged & SessionsChanged) in the NowPlayingMediaSession class and this is why ModernFlyouts won't update when a new media source is added (for example, ModernFlyouts starts on startup, then I open up Spotify, but Spotify won't show up on the media flyout). The devs originally coded and added NPSMLib to circumvent this problem and avoid using Microsoft's stuff directly, but that fix is obviously not working anymore. NPSMLib needs to be sorted out for this feature to work correctly.