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:
parent
b6c3406c6a
commit
86241b00c2
@ -2,7 +2,7 @@ import os.path
|
|||||||
import subprocess
|
import subprocess
|
||||||
import time
|
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
|
from syncplay.utils import resourcespath
|
||||||
|
|
||||||
class IINA(MPV):
|
class IINA(MPV):
|
||||||
|
|||||||
@ -9,11 +9,10 @@ import ast
|
|||||||
|
|
||||||
from syncplay import constants
|
from syncplay import constants
|
||||||
from syncplay.messages import getMessage
|
from syncplay.messages import getMessage
|
||||||
|
from syncplay.players.basePlayer import BasePlayer
|
||||||
from syncplay.utils import isURL, findResourcePath
|
from syncplay.utils import isURL, findResourcePath
|
||||||
from syncplay.utils import isMacOS, isWindows, isASCII
|
from syncplay.utils import isMacOS, isWindows, isASCII
|
||||||
from syncplay.players.python_mpv_jsonipc.python_mpv_jsonipc import MPV
|
from syncplay.vendor.python_mpv_jsonipc.python_mpv_jsonipc import MPV
|
||||||
|
|
||||||
from syncplay.players.basePlayer import BasePlayer
|
|
||||||
|
|
||||||
class MpvPlayer(BasePlayer):
|
class MpvPlayer(BasePlayer):
|
||||||
RE_VERSION = re.compile(r'.*mpv (\d+)\.(\d+)\.\d+.*')
|
RE_VERSION = re.compile(r'.*mpv (\d+)\.(\d+)\.\d+.*')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user