hudec117 / Mpv.NET-lib-

.NET embeddable video/media player based on mpv for WinForms and WPF
MIT License
139 stars 36 forks source link

How to not open a new Mpv window when playing audio with cover art #47

Closed ywmoyue closed 2 years ago

ywmoyue commented 2 years ago

Mpv.NET (lib) Version 1.2.0

Describe the bug A new Mpv window will automatically open when playing audio with cover art

To Reproduce

var player = new MpvPlayer(MpvLibPath);
player.Load(url); //url: A url to the audio with the cover
player.MediaLoaded += (object sender,EventArgs e)=>{ player.Resume(); };

Expected behavior Don't open a new window while playing audio

Screenshots image

hudec117 commented 2 years ago

Hello @ywmoyue. Try setting this property:

image https://mpv.io/manual/master/#options-audio-display