From 87c7a3c659735dbe4bda63712372e3dbdf807c3b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 2 Oct 2020 17:56:06 +0200 Subject: Matrix: do a HEAD request to selected url to determinate type before using mpv or xdg-open --- src/VideoPlayer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/VideoPlayer.cpp') diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index c93b5e8..0b173dd 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -85,6 +85,7 @@ namespace QuickMedia { "--no-resume-playback", "--cursor-autohide=no", /* "--no-input-default-bindings", "--input-vo-keyboard=no", "--no-input-cursor", */ "--no-terminal", + "--profile=pseudo-gui", // For gui when playing audio, requires a version of mpv that isn't ancient "--ytdl-raw-options=sub-lang=\"en,eng,enUS,en-US\",write-sub=", input_conf.c_str(), wid_arg.c_str() -- cgit v1.2.3