Open ShangJixin opened 3 years ago
What is the music player.
Give me a link to the player's website so that I can test it.
@ShankarBUS
https://www.microsoft.com/zh-cn/p/qq%e9%9f%b3%e4%b9%90/9wzdncrfj1q1?activetab=pivot:overviewtab
You may have to switch the region to "China" to install this player.
Thank you very much!!
Does this issue happen with Windows default one too?
If the Windows default flyout also show two panels, then there must be problems with the media player itself.
In default, Windows can automatic to choose the right one.
But there are 2 panels even in the Windows default flyout.
Thanks for reporting! I'll fix it as quick as possible 😄.
I think we can create an argument which favours the media panel from the app which has more information.
@Cyberdroid1,
Did you know that there is something to consider while developing apps called "performance"?
Doing comparisons while enumerating the sessions would would degrade the performance down to oblivion. Also there is no way to compare sessions while they're being enumerated.
So a big no no.
But there is a property called CurrentSession
in GSMTC manager.
It could be used somehow.
Comparing the provided info as text drops performance?? Oh
Not when they're done only once.
But if we did like you said.
We would need to compare all sessions when any one has a change like playback status, media info, timeline info. So, the comparison will happen atleast every second.
Think of it.
What about doing this process only when new media sessions are detected?
Is your feature request related to a problem? Please describe:
When there are two control panels from the same program, the panel with playback information is preferred.
↑ Panel 1 is not have music infomation
Panel 2 have music infomation,But the first(panel 1) is always displayed by default,and both panels come from one program
Describe alternatives you've considered:
I know the problem is the music player itself. It would be better if modernflyouts could be optimized in another way.
Additional context: