-
This commit is contained in:
@@ -54,6 +54,7 @@ Table of contents
|
|||||||
- Support of the same [CLI options](https://mpv.io/manual/master/#options) as mpv
|
- Support of the same [CLI options](https://mpv.io/manual/master/#options) as mpv
|
||||||
- DXVA2 video decoding acceleration
|
- DXVA2 video decoding acceleration
|
||||||
- OpenGL based video output capable of features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, HDR, and more
|
- OpenGL based video output capable of features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, HDR, and more
|
||||||
|
- Search feature powered by [Everything](https://www.voidtools.com) to find and play media
|
||||||
|
|
||||||
### Screenshots
|
### Screenshots
|
||||||
|
|
||||||
@@ -196,7 +197,7 @@ mpv.net bugs and requests: <https://github.com/stax76/mpv.net/issues>
|
|||||||
- there was a bug that caused underscores beeing removed from input like MBTN_LEFT_DBL
|
- there was a bug that caused underscores beeing removed from input like MBTN_LEFT_DBL
|
||||||
- the search clear button in the input editor had a render issue in dark mode
|
- the search clear button in the input editor had a render issue in dark mode
|
||||||
- new search feature added to search and play media files, requires
|
- new search feature added to search and play media files, requires
|
||||||
[Everything](https://www.voidtools.com) to be installed. [Default Binding]()
|
[Everything](https://www.voidtools.com) to be installed. [Default Binding](https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/inputConf.txt#L29)
|
||||||
|
|
||||||
### 3.5 (2019-05-09)
|
### 3.5 (2019-05-09)
|
||||||
|
|
||||||
|
|||||||
@@ -107,12 +107,14 @@ namespace mpvnet
|
|||||||
private void ListView_PreviewKeyDown(object sender, KeyEventArgs e)
|
private void ListView_PreviewKeyDown(object sender, KeyEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.Key == Key.Escape) Close();
|
if (e.Key == Key.Escape) Close();
|
||||||
|
if (e.Key == Key.Enter) Execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Execute()
|
void Execute()
|
||||||
{
|
{
|
||||||
if (ListView.SelectedItem != null)
|
if (ListView.SelectedItem != null)
|
||||||
mp.LoadFiles(ListView.SelectedItem as string);
|
mp.LoadFiles(ListView.SelectedItem as string);
|
||||||
|
Keyboard.Focus(FilterTextBox);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ListView_MouseUp(object sender, MouseButtonEventArgs e)
|
private void ListView_MouseUp(object sender, MouseButtonEventArgs e)
|
||||||
@@ -148,13 +150,12 @@ namespace mpvnet
|
|||||||
string ext = Path.GetExtension(buf.ToString()).TrimStart('.').ToLower();
|
string ext = Path.GetExtension(buf.ToString()).TrimStart('.').ToLower();
|
||||||
if (App.AudioTypes.Contains(ext) || App.VideoTypes.Contains(ext))
|
if (App.AudioTypes.Contains(ext) || App.VideoTypes.Contains(ext))
|
||||||
items.Add(buf.ToString());
|
items.Add(buf.ToString());
|
||||||
if (items.Count > 20) break;
|
if (items.Count > 100) break;
|
||||||
}
|
}
|
||||||
Application.Current.Dispatcher.Invoke(() => {
|
Application.Current.Dispatcher.Invoke(() => {
|
||||||
ListView.ItemsSource = items;
|
ListView.ItemsSource = items;
|
||||||
SelectFirst();
|
SelectFirst();
|
||||||
});
|
});
|
||||||
throw null;
|
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user