diff --git a/main.lua b/main.lua index 22175c1..a05306c 100644 --- a/main.lua +++ b/main.lua @@ -117,6 +117,7 @@ local function build_status_response() ["chapter-list"] = mp.get_property_native("chapter-list") or '', chapters = mp.get_property_native("chapters") or '', duration = mp.get_property_native("duration") or '', + ["end"] = mp.get_property_native("end") or '', filename = mp.get_property('filename') or '', fullscreen = mp.get_property_native("fullscreen"), ["loop-file"] = mp.get_property_native("loop-file"), @@ -127,6 +128,7 @@ local function build_status_response() position = mp.get_property_native("time-pos") or '', remaining = mp.get_property_native("playtime-remaining") or '', speed = mp.get_property_native('speed') or '', + start = mp.get_property_native('start') or '', ["sub-delay"] = mp.get_property_osd("sub-delay") or '', ["track-list"] = mp.get_property_native("track-list") or '', volume = mp.get_property_native("volume") or '', diff --git a/tests/snapshots/snap_tests.py b/tests/snapshots/snap_tests.py index ef6675d..6ac4acc 100644 --- a/tests/snapshots/snap_tests.py +++ b/tests/snapshots/snap_tests.py @@ -170,6 +170,7 @@ "chapter-list": [], "chapters": 0, "duration": 6.024, + "end": "none", "filename": "01 - dummy.mp3", "fullscreen": False, "loop-file": False, @@ -197,6 +198,7 @@ "position": -0.0, "remaining": 6.024, "speed": 1, + "start": "none", "sub-delay": 0, "track-list": [ {