From 7b85d396294704a469c860114eeec3e26549e460 Mon Sep 17 00:00:00 2001 From: Aleksander Wasaznik Date: Tue, 13 Sep 2016 20:57:45 +0200 Subject: [PATCH] Make MPV use drm video output --- mpv_control.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mpv_control.py b/mpv_control.py index 6ed3eef..2e65b26 100644 --- a/mpv_control.py +++ b/mpv_control.py @@ -8,13 +8,14 @@ class MPV(next_MPV): self.default_argv += ( [ '--keep-open' , '--force-window' + , '--vo drm' ]) super().__init__(debug=True) def play(self, url): self.command("loadfile", url) self.set_property("pause", False) - + @staticmethod def fetchTitle(url): return ydl.extract_info(url, download=False).get('title')