args can be either a list or a tuple - treat accordingly

This commit is contained in:
Fabio Manganiello 2019-08-04 17:17:01 +02:00
parent 3a5a731bd2
commit aebeadbcf7

View file

@ -58,7 +58,7 @@ class MediaOmxplayerPlugin(MediaPlugin):
"""
if subtitles:
args.append('--subtitles', subtitles)
args += ('--subtitles', subtitles)
resource = self._get_resource(resource)
if self._player: