Adapt players code to the new path

This commit is contained in:
Alberto Sottile 2020-11-29 18:51:23 +01:00
parent 00ead144bd
commit dcb891c8c0
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import os.path
import subprocess
import time
from syncplay.players.python_mpv_jsonipc.python_mpv_jsonipc import log, MPV, MPVError, MPVProcess
from syncplay.vendor.python_mpv_jsonipc.python_mpv_jsonipc import log, MPV, MPVError, MPVProcess
from syncplay.utils import resourcespath
class IINA(MPV):

View File

@ -9,11 +9,10 @@ import ast
from syncplay import constants
from syncplay.messages import getMessage
from syncplay.players.basePlayer import BasePlayer
from syncplay.utils import isURL, findResourcePath
from syncplay.utils import isMacOS, isWindows, isASCII
from syncplay.players.python_mpv_jsonipc.python_mpv_jsonipc import MPV
from syncplay.players.basePlayer import BasePlayer
from syncplay.vendor.python_mpv_jsonipc.python_mpv_jsonipc import MPV
class MpvPlayer(BasePlayer):
RE_VERSION = re.compile(r'.*mpv (\d+)\.(\d+)\.\d+.*')