Comments (58)
I got a happy new for us!
Yeah!!!!!!!!!! Thank you so much @ADeltaX for helping us.
Our delta boi found & successfully reversed the INowPlayingSessionManager
.
This new API is 🔥🔥🔥🔥.
It give us the HWND and Process Id of the media source. F*** even a method to activate the source app!
I hope this would also enable us to find and activate the source with high precision (unlike the current guess and pick one method).
I still haven't seen the full potential of it. All I have is just the metadata. But if this turns out successfully, our app would be a robust alternative to the legacy one.
We could get an insight of it within a few days.
from modernflyouts.
HOW TF DO YOU KNOW IT? 🤯😵
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)
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)?
So far I only observed sessions changes not firing.
Can we do some thing to update it in a programmatic way like by using the INowPlayingSessionManager somehow?
The problem of this interface is that is different across Windows 10 versions.
from modernflyouts.
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)
from modernflyouts.
Microsoft seems to have fixed this on insider builds
from modernflyouts.
It's happening! v0.9 will be released in 2 days or so.
from modernflyouts.
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 😏.
from modernflyouts.
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
from modernflyouts.
No updates yet 😅. But this is a high priority and will sure be fixed
from modernflyouts.
Hmm, I know this issue, in version 20h2 still appears, but the best way to repair it is to uninstall any last windows update (it will work now) and (optionally) install it again 😉 the bug can unfortunately appears again with small chance, can be repaired using the same method (I comment it because of 'community feedback wanted') 😁
And it appears not only in this app, in build-in media control too (I think you know it 😉)
from modernflyouts.
Not unless Discord suddenly decides to just randomly support serving more information for media sessions on their own will.
from modernflyouts.
Well @ADeltaX just fixed a few bugs. We expect to release feature with v0.9 within 2 weeks 😄
from modernflyouts.
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.)
from modernflyouts.
Any news, when it will be fixed?
from modernflyouts.
@ADeltaX are you able to verify if this has been resolved?
from modernflyouts.
Can the community verify this.
from modernflyouts.
I broke my Windows Update, so can't say... 😅 😂
from modernflyouts.
Isn't that like Discord's fault?
What else can we do?
from modernflyouts.
I think we need to file an issue against Discord.
You'll likely be denied immediately. Discord won't accept requests for features like this, development has also slowed down for Discord, until next year.
from modernflyouts.
You'll likely be denied immediately. Discord won't accept requests for features like this, development has also slowed down for Discord, until next year.
I can think of a couple reasons to deny this request...
- Discord's purpose isn't to serve media outside of itself, it's not a music application or anything of the like.
- Any audio it creates that responds to keybinds outside of the app within purpose are ones related to video and voice calls, which are not media sessions.
from modernflyouts.
you mean you can't do anything about it, right? ok if you say so
from modernflyouts.
i thought maybe the new API could have helped in this.
from modernflyouts.
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 😂
from modernflyouts.
because it happens almost every hour?
from modernflyouts.
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)?
from modernflyouts.
Any news of when this will be fixed?
from modernflyouts.
so when can we see the new API into action or is it already released?
from modernflyouts.
It's already under development, as far as I know.
You can expect it in the coming first or second release of the app.
from modernflyouts.
@ShankarBUS @Cyberdroid1 would you include a flyout for discord too?
from modernflyouts.
I did not understand what you mean. Why would there be a separate flyout for discord?
from modernflyouts.
not seperate, but a flyout similar too the existing ones, just indicate that discord is playing audio
from modernflyouts.
That... would be unnecessary work, IMO. I mean, the current flyout works fine, right?
from modernflyouts.
no, it doesn't show up for discord, is it supposed to work?
from modernflyouts.
For me, it does show when Discord is playing audio. This can be seen here:
(The #4
is a channel name)
This does seem to have the need of being "provoked" by playing media that is longer than a few seconds, otherwise it will never show.
from modernflyouts.
Discord maybe does not fully support GSMTC. Otherwise the flyout should support.
What about the default flyout of windows?
from modernflyouts.
It does, but it doesn't tell you anything other than the channel name (window title MINUS " - Discord").
from modernflyouts.
Nothing. Discord doesn't serve any other information I believe.
from modernflyouts.
ModernFlyouts atleast tells the app name. Default one doesn't even tell that.
from modernflyouts.
I think we need to file an issue against Discord.
from modernflyouts.
@Cyberdroid1 no it doesn't, that's what i'm trying to say
from modernflyouts.
from modernflyouts.
I guess it is a Windows bug then, if you are not seeing like that.
Try restarting the app.
from modernflyouts.
no change
from modernflyouts.
That are some valid points.
Conclusion--
Its all Discord's fault. Nothing that ModernFlyouts can fix.
from modernflyouts.
The "magical" moment.
from modernflyouts.
any updates?
from modernflyouts.
Excited to see its coming
from modernflyouts.
@Cyberdroid1 when will v0.9 be released ?
from modernflyouts.
It should come soon.
@Samuel12321 any updates?
from modernflyouts.
@Parth-Mawai,
v0.9 is out!
You can get the app from the GitHub Repo, or you can wait a few days until it is released in store.
from modernflyouts.
I can't install, it says that app doesn't have needed certificates, even after installing *.cer file ://
from modernflyouts.
I can't install, it says that app doesn't have needed certificates, even after installing *.cer file ://
same here
from modernflyouts.
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)"
@Cyberdroid1
from modernflyouts.
is it possible to maybe add an option to restart ModernFlyouts from the system tray context menu?
from modernflyouts.
There is ability to exit app, and then start it from Start menu.
IMO, adding an option to restart isn't exactly great.
from modernflyouts.
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
from modernflyouts.
Why do you need to restart the app every hour though?
from modernflyouts.
I encountered this bug today. Kinda a dealbreaker.
from modernflyouts.
Sorry for digging up this issue.
Actually I tried to develop my own app using GlobalSystemMediaTransportControlsSessionManager, and debugging brought me to this page.
I installed ModernFlyout, and it seems that the bug is still present in later Windows 10 versions (mine is latest 21H1).
Events like SessionsChanged or CurrentSessionChanged are never fired.
It seems that stock Windows 10 flyout are updated but at a very slow frequency.
Any hint about the issue?
from modernflyouts.
Related Issues (20)
- Doesn't work on Windows 10
- several performers in the song HOT 1
- The global media button cannot close the media box below ,even if v0.10.0
- Why is there a gray outline? HOT 1
- Modern Flyouts - Audio Turn Off Feature
- size settings HOT 1
- Flyouts not working for Windows build 26052 and after
- Flyouts not working
- Any plan on releasing the v0.10? HOT 5
- No the app is not running
- On Windows 11, the volume change is incorrectly displayed HOT 1
- app does not run after downloading HOT 2
- HDMI (as Main Display) Bug
- size and accents
- The layout is not closing automaticly
- en window 11 aparecen las barras de sonodo y la por defecto no se quita HOT 1
- App immediately closes after opening HOT 1
- brief pop-up when a new track is played automatically
- No se aplica el widget del panel de sonido
- Doesn't start/Closes instantly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modernflyouts.