python-mpv-jsonipc 1.2.2__py3-none-any.whl → 1.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_mpv_jsonipc-1.2.2.dist-info → python_mpv_jsonipc-1.2.3.dist-info}/METADATA +1 -1
- python_mpv_jsonipc-1.2.3.dist-info/RECORD +6 -0
- {python_mpv_jsonipc-1.2.2.dist-info → python_mpv_jsonipc-1.2.3.dist-info}/WHEEL +1 -1
- python_mpv_jsonipc.py +6 -2
- python_mpv_jsonipc-1.2.2.dist-info/RECORD +0 -6
- {python_mpv_jsonipc-1.2.2.dist-info → python_mpv_jsonipc-1.2.3.dist-info}/licenses/LICENSE.md +0 -0
- {python_mpv_jsonipc-1.2.2.dist-info → python_mpv_jsonipc-1.2.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
python_mpv_jsonipc.py,sha256=-UvwnvcI2x1JyVue-4xGLipkzzGFlCrT6PqGe_FVAkY,24302
|
|
2
|
+
python_mpv_jsonipc-1.2.3.dist-info/licenses/LICENSE.md,sha256=7GQBUOA3dNG1Jk-yaPOCncNnRVURCRMev23QpZ1ew-s,10495
|
|
3
|
+
python_mpv_jsonipc-1.2.3.dist-info/METADATA,sha256=YF-8QYjJ5EtyYcPfaVC2_8dywv_pkKujnsgl2-qAU1g,2277
|
|
4
|
+
python_mpv_jsonipc-1.2.3.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
5
|
+
python_mpv_jsonipc-1.2.3.dist-info/top_level.txt,sha256=nGk4yjpVHKmIrL39XdGD2PhCeWF0oMjwey0nsNOd2TM,19
|
|
6
|
+
python_mpv_jsonipc-1.2.3.dist-info/RECORD,,
|
python_mpv_jsonipc.py
CHANGED
|
@@ -268,9 +268,13 @@ class MPVProcess:
|
|
|
268
268
|
prop_dict[key] = value
|
|
269
269
|
|
|
270
270
|
def _mpv_fmt(self, data):
|
|
271
|
-
|
|
271
|
+
# Use identity comparison so numeric arguments are preserved. In Python
|
|
272
|
+
# ``1 == True`` and ``0 == False``, so ``==`` would convert numeric
|
|
273
|
+
# options such as ``video-scale-x=1`` into ``--video-scale-x=yes``,
|
|
274
|
+
# which MPV rejects.
|
|
275
|
+
if data is True:
|
|
272
276
|
return "yes"
|
|
273
|
-
elif data
|
|
277
|
+
elif data is False:
|
|
274
278
|
return "no"
|
|
275
279
|
else:
|
|
276
280
|
return data
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
python_mpv_jsonipc.py,sha256=McfALK21Mp48Ekpg8wszSnHlSExtlrpsrw90i9syvng,24041
|
|
2
|
-
python_mpv_jsonipc-1.2.2.dist-info/licenses/LICENSE.md,sha256=7GQBUOA3dNG1Jk-yaPOCncNnRVURCRMev23QpZ1ew-s,10495
|
|
3
|
-
python_mpv_jsonipc-1.2.2.dist-info/METADATA,sha256=AjVHMMb5-bKwYuf89xM3J9jLRPX17v-iXkMvuft8AF0,2277
|
|
4
|
-
python_mpv_jsonipc-1.2.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
5
|
-
python_mpv_jsonipc-1.2.2.dist-info/top_level.txt,sha256=nGk4yjpVHKmIrL39XdGD2PhCeWF0oMjwey0nsNOd2TM,19
|
|
6
|
-
python_mpv_jsonipc-1.2.2.dist-info/RECORD,,
|
{python_mpv_jsonipc-1.2.2.dist-info → python_mpv_jsonipc-1.2.3.dist-info}/licenses/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|