This commit is contained in:
Frank Skare
2019-05-01 10:23:53 +02:00
parent 225979d220
commit 1b9229d4d9
2 changed files with 8 additions and 8 deletions

View File

@@ -126,18 +126,12 @@ Scripting is supported via Python, C#, Lua, JavaScript and PowerShell
### Add-ons
Add-ons have to be located at:
Add-ons are located in the config directory:
```Text
C:\Users\%username%\AppData\Roaming\mpv\Addons\ExampleAddon\ExampleAddon.dll
```
or in a portable setup at:
```Text
<startup>\portable_config\Addons\ExampleAddon\ExampleAddon.dll
```
The add-on filename must end with 'Addon.dll'.
Examples:

View File

@@ -6,7 +6,7 @@ using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using Sys;
namespace mpvnet
@@ -27,6 +27,12 @@ namespace mpvnet
var yourCostumFilter = new Predicate<object>(item => Filter((CommandItem)item));
CollectionView.Filter = yourCostumFilter;
DataGrid.ItemsSource = CollectionView;
if (App.IsDarkMode)
{
Foreground = Brushes.White;
Background = Brushes.Black;
}
}
private void SearchTextBox_TextChanged(object sender, TextChangedEventArgs e)