Move python_mpv_jsonipc in our vendor folder (#369)

* Move python_mpv_jsonipc to the vendor folder

* Adapt players code to the new path
This commit is contained in:
Alberto Sottile 2020-12-04 23:26:21 +01:00 committed by GitHub
parent b6c3406c6a
commit 86241b00c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 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+.*')