ModernFlyouts-Community / ModernFlyouts

A modern Fluent Design replacement for the old Metro themed flyouts present in Windows.
https://modernflyouts-community.github.io
MIT License
3.58k stars 193 forks source link

Music information can not be displayed #92

Closed darkduck9 closed 4 years ago

darkduck9 commented 4 years ago

Hey, buddy, this software can not show the current music information when I use FOOBAR'S WASAPI exclusive mode to output music, I wonder if you could solve this problem :)

ShankarBUS commented 4 years ago

Are you the developer of the media player?

If so, do you use the SystemMediaTransportControls WinRT API aka "SMTC"?

Windows won't recognise every audio output as media (most media player applications on Windows such as VLC don't use the "SMTC" APIs causing this trouble).

You have to use the "SMTC" API to actually register them as media playback that could be controlled by the OS.

The WASAPI API only outputs audio through a audio device. We can't do anything regarding this.

But if yout app could use some WinRT APIs, you can solve this.

Go to the Dopamine-Windows repo to observe how they do this.

If you are confused I can help you.

Is that a OpenSource app? What framework/language is that built on?

darkduck9 commented 4 years ago

I am just a user of foobar2000. This is its website:https://www.foobar2000.org/.

What puzzles me is that without using ModernFlyouts, the system can still display music information correctly even in Wasapi exclusive mode.

The third-party customized version I am using: https://drive.google.com/file/d/1BmjYnVST494dgKrEFQN6d2JeYHBzZyF0/view?usp=sharing

ShankarBUS commented 4 years ago

Oh! So the Windows default media flyout shows the playback info but ModernFlyouts doesn't show it, Am I correct?

I'll look into it

Concorde1234 commented 4 years ago

I'm having a very similar problem with Spotify which I download from the Microsoft store. The issue seems to come up a random but only goes away when I completely restart the app (Modern Flyover) but it comes back again still.

Concorde1234 commented 4 years ago

image Here's a picture of what's happening The regular windows flyover doesn't have this issue

ShankarBUS commented 4 years ago

Yes pal, this is a known issue.

There's #93 which tracks this bug.

Please comment on that thread.

darkduck9 commented 4 years ago

The problem has been solved

ShankarBUS commented 4 years ago

@holoscy, thanks for the reminder!

Could you post a screenshot of the app? Please?

ShankarBUS commented 4 years ago

@Concorde1234, the bug you reported has been fixed.

Please try out v0.7.5 once it is out.

darkduck9 commented 4 years ago

@holoscy, thanks for the reminder!

Could you post a screenshot of the app? Please? 11

ShankarBUS commented 4 years ago

Wow!

That's great! TBH, I didn't really do anything to fix this bug 😅.

It must somehow automatically be fixed 🤷‍♂️.

Good for both of us 😄