there was a sound when closed from taskbar due to a exception

This commit is contained in:
Frank Skare
2019-10-04 17:36:14 +02:00
parent 68626fa536
commit 327a097bcf
4 changed files with 15 additions and 4 deletions

View File

@@ -3,9 +3,14 @@
- new: the [scripting wiki page](https://github.com/stax76/mpv.net/wiki/Scripting#powershell) was improved
- new: Toggle Shuffle has been added to the menu defaults
- new: for URLs the media title is shown in the title bar and the info command
instead of displaying the URL
instead of displaying the URL, mpv.conf defaults were changed to use
[protocol.https] osd-playing-msg = '${media-title}'
- fix: on the very first start volume was set to 0 and mute was set to yes,
now reasonable defaults are set, volume = 70, mute = no
- fix: there was a issue fixed with the URL clipboard monitoring
- fix: there was a sound when closed from taskbar due to a exception
- update: libmpv shinchiro 2019-09-22
- update: youtube-dl 2019-10-01
### 5.4.1.1

View File

@@ -38,6 +38,11 @@ namespace mpvnet
case "add-files-to-playlist": OpenFiles("append"); break; // deprecated 2019
default: Msg.ShowError($"No command '{id}' found."); break;
}
MainForm.Instance.BeginInvoke(new Action(() => {
Message m = new Message() { Msg = 0x0202 }; // WM_LBUTTONUP
Native.SendMessage(MainForm.Instance.Handle, m.Msg, m.WParam, m.LParam);
}));
}
public static void InvokeOnMainThread(Action action) => MainForm.Instance.Invoke(action);

View File

@@ -10,3 +10,6 @@ cscale = spline36
dscale = spline36
scale = spline36
hwdec = yes
[protocol.https]
osd-playing-msg = '${media-title}'

View File

@@ -581,8 +581,6 @@ namespace mpvnet
{
base.OnActivated(e);
CheckClipboardForURL();
Message m = new Message() { Msg = 0x0202 }; // WM_LBUTTONUP
Native.SendMessage(Handle, m.Msg, m.WParam, m.LParam);
}
protected override void OnResize(EventArgs e)