Curses Omni Media Player https://pypi.org/project/comp/
Go to file
Frechdachs bcd8166829 Fix property getter for non-available properties
Properties which are not currently available weren't handled properly: The getter for a property that is not available with proptype 'str' would return "None" (as a string) instead of None. Trying to retrieve a non-available property with proptype 'int' would raise a TypeError, because the getter tries to call 'int(None)'. An alternative would be to raise some kind of exception for non-available properties, but I would prefer the getter to return None. For example None should be a valid value for the property 'path' if no video is loaded yet.
2016-02-12 14:09:21 +01:00
.gitignore Added vim swap files to the .gitignore 2014-08-14 00:34:12 +02:00
LICENSE Initial commit 2014-08-10 23:27:26 +02:00
mpv.py Fix property getter for non-available properties 2016-02-12 14:09:21 +01:00
README.md Initial commit 2014-08-10 23:27:26 +02:00
setup.py Initial commit 2014-08-10 23:27:26 +02:00

python-mpv

python-mpv is a ctypes-based python interface to the mpv media player. It gives you more or less full control of all features of the player, just as the lua interface does.