-
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user