Use semicolon OSD separator for mplayer and keep mpv as newline
This commit is contained in:
parent
3e6316e960
commit
1c180f951b
@ -11,7 +11,7 @@ class MplayerPlayer(BasePlayer):
|
|||||||
speedSupported = True
|
speedSupported = True
|
||||||
customOpenDialog = False
|
customOpenDialog = False
|
||||||
secondaryOSDSupported = False
|
secondaryOSDSupported = False
|
||||||
osdMessageSeparator = "\\n"
|
osdMessageSeparator = "; "
|
||||||
|
|
||||||
RE_ANSWER = re.compile(constants.MPLAYER_ANSWER_REGEX)
|
RE_ANSWER = re.compile(constants.MPLAYER_ANSWER_REGEX)
|
||||||
POSITION_QUERY = 'time_pos'
|
POSITION_QUERY = 'time_pos'
|
||||||
|
|||||||
@ -7,6 +7,7 @@ import os, sys, time
|
|||||||
|
|
||||||
class MpvPlayer(MplayerPlayer):
|
class MpvPlayer(MplayerPlayer):
|
||||||
RE_VERSION = re.compile('.*mpv (\d)\.(\d)\.\d.*')
|
RE_VERSION = re.compile('.*mpv (\d)\.(\d)\.\d.*')
|
||||||
|
osdMessageSeparator = "\\n"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def run(client, playerPath, filePath, args):
|
def run(client, playerPath, filePath, args):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user