summaryrefslogtreecommitdiff
path: root/mpv.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpv.py')
-rw-r--r--mpv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpv.py b/mpv.py
index b0d6917..988e360 100644
--- a/mpv.py
+++ b/mpv.py
@@ -921,7 +921,7 @@ class MPV(object):
@staticmethod
def _encode_options(options):
- return ','.join('{}={}'.format(str(key), str(val)) for key, val in options.items())
+ return ','.join('{}={}'.format(_py_to_mpv(str(key)), str(val)) for key, val in options.items())
def loadfile(self, filename, mode='replace', **options):
"""Mapped mpv loadfile command, see man mpv(1)."""