Remove mpv fallback warning spam
This commit is contained in:
parent
619dc3abd7
commit
1404d58740
@ -426,7 +426,6 @@ class MPV:
|
|||||||
try:
|
try:
|
||||||
command_list = [x["name"] for x in self.command("get_property", "command-list")]
|
command_list = [x["name"] for x in self.command("get_property", "command-list")]
|
||||||
except MPVError:
|
except MPVError:
|
||||||
log.warning("Using fallback command list.")
|
|
||||||
command_list = FALLBACK_COMMAND_LIST
|
command_list = FALLBACK_COMMAND_LIST
|
||||||
for command in command_list:
|
for command in command_list:
|
||||||
object.__setattr__(self, command.replace("-", "_"), self._get_wrapper(command))
|
object.__setattr__(self, command.replace("-", "_"), self._get_wrapper(command))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user