mpv: capture more than one digit when checking version

This commit is contained in:
Ricardo Constantino 2016-11-24 02:04:33 +00:00
parent 85db714ece
commit aad8e7db7e
No known key found for this signature in database
GPG Key ID: EFD16019AE4FF531

View File

@ -7,7 +7,7 @@ from syncplay.utils import isURL
import os, sys, time
class MpvPlayer(MplayerPlayer):
RE_VERSION = re.compile('.*mpv (\d)\.(\d)\.\d.*')
RE_VERSION = re.compile('.*mpv (\d+)\.(\d+)\.\d+.*')
osdMessageSeparator = "\\n"
@staticmethod