Remove mpv fallback warning spam

This commit is contained in:
Etoh 2022-02-12 16:12:50 +00:00 committed by GitHub
parent 619dc3abd7
commit 1404d58740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,7 +426,6 @@ class MPV:
try:
command_list = [x["name"] for x in self.command("get_property", "command-list")]
except MPVError:
log.warning("Using fallback command list.")
command_list = FALLBACK_COMMAND_LIST
for command in command_list:
object.__setattr__(self, command.replace("-", "_"), self._get_wrapper(command))