mirror of https://github.com/Syncplay/syncplay
Strip quotation marks from per-player arguments (#226)
This commit is contained in:
parent
b50ea46d7d
commit
5c3982f313
|
@ -65,6 +65,8 @@ class MpvPlayer(BasePlayer):
|
|||
continue
|
||||
if "=" in argToAdd:
|
||||
(argName, argValue) = argToAdd.split("=", 1)
|
||||
if argValue[0] == '"' and argValue[-1] == '"':
|
||||
argValue = argValue[1:-1]
|
||||
else:
|
||||
argName = argToAdd
|
||||
argValue = "yes"
|
||||
|
|
Loading…
Reference in New Issue