summaryrefslogtreecommitdiff
path: root/mpv.py
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2017-05-10 11:41:33 +0200
committerjaseg <code@jaseg.net>2017-05-10 11:56:00 +0200
commitd2ffe25700bb41f899a71b7e7b4fe560acdd9a25 (patch)
treef363fe72a95640b92409331de08b41fa5d61dfa9 /mpv.py
parentf55b62667f0ac2ed5ae67c9a87c03cf7b2584578 (diff)
downloadpython-mpv-d2ffe25700bb41f899a71b7e7b4fe560acdd9a25.tar.gz
python-mpv-d2ffe25700bb41f899a71b7e7b4fe560acdd9a25.tar.bz2
python-mpv-d2ffe25700bb41f899a71b7e7b4fe560acdd9a25.zip
Update properties for current upstream master
Diffstat (limited to 'mpv.py')
-rw-r--r--mpv.py23
1 files changed, 16 insertions, 7 deletions
diff --git a/mpv.py b/mpv.py
index 8aa813e..df34563 100644
--- a/mpv.py
+++ b/mpv.py
@@ -772,15 +772,17 @@ ALL_PROPERTIES = {
'duration': (float, 'r'),
'avsync': (float, 'r'),
'total-avsync-change': (float, 'r'),
- 'drop-frame-count': (int, 'r'),
+# 'drop-frame-count': (int, 'r'),
+ 'decoder-frame-drop-count': (int, 'r'),
'percent-pos': (float, 'rw'),
# 'ratio-pos': (float, 'rw'),
+ 'audio-pts': (float, 'r'),
'time-pos': (float, 'rw'),
'time-start': (float, 'r'),
'time-remaining': (float, 'r'),
'playtime-remaining': (float, 'r'),
'chapter': (int, 'rw'),
- 'edition': (int, 'rw'),
+ 'edition': (str, 'rw'),
'disc-titles': (int, 'r'),
'disc-title': (str, 'rw'),
# 'disc-menu-active': (bool, 'r'),
@@ -789,7 +791,7 @@ ALL_PROPERTIES = {
'angle': (int, 'rw'),
'pause': (bool, 'rw'),
'core-idle': (bool, 'r'),
- 'cache': (int, 'r'),
+ 'cache': (str, 'r'),
'cache-size': (int, 'rw'),
'cache-free': (int, 'r'),
'cache-used': (int, 'r'),
@@ -842,7 +844,7 @@ ALL_PROPERTIES = {
'height': (int, 'r'),
'dwidth': (int, 'r'),
'dheight': (int, 'r'),
- 'fps': (float, 'r'),
+ 'container-fps': (float, 'r'),
'estimated-vf-fps': (float, 'r'),
'window-scale': (float, 'rw'),
'video-aspect': (str, 'rw'),
@@ -868,11 +870,12 @@ ALL_PROPERTIES = {
'sub-forced-only': (bool, 'rw'),
'sub-scale': (float, 'rw'),
'sub-bitrate': (float, 'r'),
+ 'sub-text': (str, 'r'),
'packet-sub-bitrate': (float, 'r'),
# 'ass-use-margins': (bool, 'rw'),
'ass-vsfilter-aspect-compat': (bool, 'rw'),
'ass-style-override': (bool, 'rw'),
- 'stream-capture': (str, 'rw'),
+# 'stream-capture': (str, 'rw'),
'tv-brightness': (int, 'rw'),
'tv-contrast': (int, 'rw'),
'tv-saturation': (int, 'rw'),
@@ -899,13 +902,17 @@ ALL_PROPERTIES = {
'file-format': (commalist,'r'), # Be careful with this one.
'mistimed-frame-count': (int, 'r'),
'vsync-ratio': (float, 'r'),
- 'vo-drop-frame-count': (int, 'r'),
+# 'vo-drop-frame-count': (int, 'r'),
+ 'frame-drop-count': (int, 'r'),
'vo-delayed-frame-count': (int, 'r'),
'playback-time': (float, 'rw'),
'demuxer-cache-duration': (float, 'r'),
'demuxer-cache-time': (float, 'r'),
'demuxer-cache-idle': (bool, 'r'),
- 'idle': (bool, 'r'),
+ 'demuxer-start-time': (float, 'r'),
+ 'demuxer-via-network': (bool, 'r'),
+# 'idle': (bool, 'r'),
+ 'idle-active': (bool, 'r'), # dat name
'disc-title-list': (commalist,'r'),
'field-dominance': (str, 'rw'),
'taskbar-progress': (bool, 'rw'),
@@ -929,7 +936,9 @@ ALL_PROPERTIES = {
'display-fps': (float, 'r'), # access apparently misdocumented in the manpage
'estimated-display-fps': (float, 'r'),
'vsync-jitter': (float, 'r'),
+ 'profile-list': (node, 'r', False),
'video-params': (node, 'r', True),
+ 'video-dec-params': (node, 'r', True),
'video-out-params': (node, 'r', True),
'track-list': (node, 'r', False),
'playlist': (node, 'r', False),