This commit is contained in:
Frank Skare
2019-04-27 20:56:42 +02:00
parent 6c85ea9625
commit 0d396947c1
7 changed files with 9 additions and 13 deletions

View File

@@ -8,23 +8,23 @@ mpv.net is based on libmpv which offers a straightforward C API that was designe
#### CLI options #### CLI options
mpv.net has a basic CLI parser to support mpv's [CLI options](https://mpv.io/manual/master/#options). mpv.net has a basic CLI parser to support the CLI options of mpv/libmpv [CLI options](https://mpv.io/manual/master/#options).
#### High quality video output #### High quality video output
libmpv has an OpenGL based video output that is capable of many features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, HDR, and more. mpv/libmpv has an OpenGL based video output that is capable of many features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, HDR, and more.
#### On Screen Controller #### On Screen Controller
mpv.net uses mpv's OSC offering play controls with a modern flat design. mpv.net uses the OSC of mpv/libmpv offering play controls with a modern flat design.
#### GPU video decoding #### GPU video decoding
libmpv leverages the FFmpeg hwaccel APIs to support DXVA2 video decoding acceleration. mpv/libmpv leverages the FFmpeg hwaccel APIs to support DXVA2 video decoding acceleration.
#### Active development #### Active development
mpv.net is under active development, focusing on user feedback. Want a feature? Post a [patch](https://github.com/stax76/mpv.net/pulls) or [request it](https://github.com/stax76/mpv.net/issues)! mpv.net is under active development. Want a feature? Post a [patch](https://github.com/stax76/mpv.net/pulls) or [request it](https://github.com/stax76/mpv.net/issues)!
Table of contents Table of contents
----------------- -----------------

View File

@@ -33,7 +33,8 @@ namespace mpvnet
bool Filter(CommandItem item) bool Filter(CommandItem item)
{ {
if (item.Command == "") return false; if (item.Command == "" || item.Path == "")
return false;
string filter = FilterTextBox.Text.ToLower(); string filter = FilterTextBox.Text.ToLower();
if (filter == "") return true; if (filter == "") return true;
if (item.Command.ToLower().Contains(filter) || if (item.Command.ToLower().Contains(filter) ||

View File

@@ -31,7 +31,6 @@
<TextBlock x:Name="OpenSettingsTextBlock" Margin="0,30,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="OpenSettingsTextBlock_MouseUp">Open config folder</TextBlock> <TextBlock x:Name="OpenSettingsTextBlock" Margin="0,30,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="OpenSettingsTextBlock_MouseUp">Open config folder</TextBlock>
<TextBlock x:Name="ShowManualTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="ShowManualTextBlock_MouseUp">Show mpv manual</TextBlock> <TextBlock x:Name="ShowManualTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="ShowManualTextBlock_MouseUp">Show mpv manual</TextBlock>
<TextBlock x:Name="SupportTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="SupportTextBlock_MouseUp">Show support forum</TextBlock> <TextBlock x:Name="SupportTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="SupportTextBlock_MouseUp">Show support forum</TextBlock>
<TextBlock x:Name="ApplyTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="ApplyTextBlock_MouseUp">Write config to disk</TextBlock>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Window> </Window>

View File

@@ -240,10 +240,5 @@ namespace mpvnet
{ {
Process.Start("https://github.com/stax76/mpv.net#Support"); Process.Start("https://github.com/stax76/mpv.net#Support");
} }
private void ApplyTextBlock_MouseUp(object sender, MouseButtonEventArgs e)
{
WriteToDisk();
}
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

View File

@@ -90,7 +90,7 @@
<PropertyGroup /> <PropertyGroup />
<PropertyGroup /> <PropertyGroup />
<PropertyGroup> <PropertyGroup>
<ApplicationIcon>mpv.ico</ApplicationIcon> <ApplicationIcon>mpvnet.ico</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>
@@ -235,6 +235,7 @@
<Link>LICENSE.txt</Link> <Link>LICENSE.txt</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="mpvnet.ico" />
<Content Include="Resources\mpvConf.txt" /> <Content Include="Resources\mpvConf.txt" />
<Content Include="Resources\mpvConfToml.txt" /> <Content Include="Resources\mpvConfToml.txt" />
<Content Include="Resources\mpvNetConfToml.txt" /> <Content Include="Resources\mpvNetConfToml.txt" />

BIN
mpv.net/mpvnet.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB