forked from platypush/platypush
args can be either a list or a tuple - treat accordingly
This commit is contained in:
parent
3a5a731bd2
commit
aebeadbcf7
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class MediaOmxplayerPlugin(MediaPlugin):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if subtitles:
|
if subtitles:
|
||||||
args.append('--subtitles', subtitles)
|
args += ('--subtitles', subtitles)
|
||||||
|
|
||||||
resource = self._get_resource(resource)
|
resource = self._get_resource(resource)
|
||||||
if self._player:
|
if self._player:
|
||||||
|
|
Loading…
Reference in a new issue