Restore comment
This commit is contained in:
parent
9b5a87157c
commit
8aa05910eb
@ -487,6 +487,7 @@ class MPV:
|
||||
self.event_handler.put_task(self.key_bindings[args[1]])
|
||||
|
||||
def _start_mpv(self, ipc_socket, mpv_location, **kwargs):
|
||||
# Attempt to start MPV 3 times.
|
||||
for i in range(3):
|
||||
try:
|
||||
self.mpv_process = MPVProcess(ipc_socket, mpv_location, **kwargs)
|
||||
@ -689,6 +690,7 @@ class IINA(MPV):
|
||||
"""The main IINA interface class. Use this to control the MPV player instantiated by IINA."""
|
||||
|
||||
def _start_mpv(self, ipc_socket, mpv_location, **kwargs):
|
||||
# Attempt to start IINA 3 times.
|
||||
for i in range(3):
|
||||
try:
|
||||
self.mpv_process = IINAProcess(ipc_socket, mpv_location, **kwargs)
|
||||
@ -697,4 +699,4 @@ class IINA(MPV):
|
||||
log.warning("IINA start failed.", exc_info=1)
|
||||
continue
|
||||
else:
|
||||
raise MPVError("IINA process retry limit reached.")
|
||||
raise MPVError("IINA process retry limit reached.")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user