-
This commit is contained in:
14
README.md
14
README.md
@@ -39,11 +39,11 @@ https://github.com/stax76/mpv.net/blob/master/mpv.net/Resources/mpv.conf.txt
|
|||||||
|
|
||||||
A simple C# script located at:
|
A simple C# script located at:
|
||||||
```
|
```
|
||||||
C:\Users\username\AppData\Roaming\mpv\scripts\test.cs
|
C:\Users\username\AppData\Roaming\mpv\scripts\fullscreen.cs
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
```
|
```
|
||||||
startup\scripts\test.cs
|
startup\scripts\fullscreen.cs
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
using mpvnet;
|
using mpvnet;
|
||||||
@@ -68,11 +68,11 @@ class Script
|
|||||||
|
|
||||||
A simple Python script located at:
|
A simple Python script located at:
|
||||||
```
|
```
|
||||||
C:\Users\user\AppData\Roaming\mpv\scripts
|
C:\Users\user\AppData\Roaming\mpv\scripts\seek-show-position.py
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
```
|
```
|
||||||
startup\scripts
|
startup\scripts\seek-show-position.py
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
# when seeking displays position and
|
# when seeking displays position and
|
||||||
@@ -107,13 +107,13 @@ mp.register_event("seek", seek) # or use: mp.Seek += seek
|
|||||||
|
|
||||||
A simple PowerShell script located at:
|
A simple PowerShell script located at:
|
||||||
```
|
```
|
||||||
C:\Users\user\AppData\Roaming\mpv\scripts
|
C:\Users\user\AppData\Roaming\mpv\scripts\seek.ps1
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
```
|
```
|
||||||
startup\scripts
|
startup\scripts\seek.ps1
|
||||||
```
|
```
|
||||||
Please note that PowerShell don't allow assigning to events and mpv.net uses as workaround a matching script filename.
|
Please note that PowerShell don't allow assigning to events and mpv.net uses as workaround a matching script filename, a list of available events can be found in the mpv manual or in the file mp.cs in the mpv.net source code.
|
||||||
|
|
||||||
```
|
```
|
||||||
$position = [mp]::get_property_number("time-pos");
|
$position = [mp]::get_property_number("time-pos");
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
w add panscan -0.1 #menu: W ; Pan && Scan > Decrease Height
|
w add panscan -0.1 #menu: W ; Pan && Scan > Decrease Height
|
||||||
W add panscan +0.1 #menu: Shift+W ; Pan && Scan > Increase Height
|
W add panscan +0.1 #menu: Shift+W ; Pan && Scan > Increase Height
|
||||||
_ ignore #menu: _ ; Pan && Scan > -
|
_ ignore #menu: _ ; Pan && Scan > -
|
||||||
Ctrl+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 #menu: Shift+Backspace ; Pan && Scan > Reset
|
Ctrl+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 #menu: Ctrl+Backspace ; Pan && Scan > Reset
|
||||||
|
|
||||||
Ctrl+1 add contrast -1 #menu: Ctrl+1 ; Video > Decrease Contrast
|
Ctrl+1 add contrast -1 #menu: Ctrl+1 ; Video > Decrease Contrast
|
||||||
Ctrl+2 add contrast 1 #menu: Ctrl+2 ; Video > Increase Contrast
|
Ctrl+2 add contrast 1 #menu: Ctrl+2 ; Video > Increase Contrast
|
||||||
|
|||||||
Reference in New Issue
Block a user