Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-06 | Simplify initialization logic somewhat | jaseg | 1 | -3/+1 | |
2017-01-06 | Make sure _mpv_initialize is called before _mpv_terminate_destroy | Frechdachs | 1 | -4/+8 | |
2017-01-04 | Make so/DLL loading more robust | jaseg | 1 | -2/+8 | |
* Print a proper error message if shared object not found on unix * Abide by local conventions and look for DLL in script's directory on windows | |||||
2016-11-23 | Clarify event thread handling in the README | jaseg | 1 | -5/+8 | |
2016-09-15 | Fix MPV.terminate so it can be called from event handlers | jaseg | 1 | -5/+11 | |
2016-08-20 | Pimp loadfile to accept per-file options | jaseg | 1 | -2/+6 | |
2016-08-20 | BREAKING :boom: Improve property handling | jaseg | 1 | -31/+62 | |
2016-08-19 | Fix key binding handling for duplicate bindings and commands | jaseg | 1 | -12/+19 | |
2016-08-19 | Set LC_NUMERIC to C to avoid segfaults on some platforms | jaseg | 1 | -0/+6 | |
2016-08-17 | Improve event handling, add message handling, add key binding foo | jaseg | 1 | -7/+60 | |
2016-08-13 | Finally add node handling, fix ALL THE THINGS | jaseg | 1 | -299/+247 | |
* New node handling * Add remaining properties * Improve property type handling (no more ynbool!) * Add pröper option access * Add a whole bunch of tests | |||||
2016-08-13 | WIP | jaseg | 1 | -188/+207 | |
2016-08-13 | Add loads of new properties | jaseg | 1 | -17/+150 | |
2016-08-13 | Improve flag handling | jaseg | 1 | -4/+8 | |
2016-08-12 | Fix spaces/tabs inconsistency | Frechdachs | 1 | -2/+2 | |
Since https://github.com/jaseg/python-mpv/commit/230f0078fe2dd9edfeb2082516b15689c1c04e94 python throws a TabError exception. | |||||
2016-08-09 | Fix filesystem encoding on windows | jaseg | 1 | -1/+2 | |
2016-08-07 | :boom: breaking: Call observe_property handler with correct type arg | jaseg | 1 | -2/+4 | |
2016-08-07 | Keep wait_for_playback in waiting state during PAUSE | jaseg | 1 | -1/+1 | |
...to allow proper playback of network resources even in case of buffering | |||||
2016-08-07 | :boom: breaking: Pass individual arguments to log_handler | jaseg | 1 | -3/+3 | |
2016-08-07 | Use utf-8 facing the API | jaseg | 1 | -17/+17 | |
In libmpv's client.h it is said that the API uses utf-8 for everything except for filenames, for which it uses the system's default filename encoding. We now try to honor this. | |||||
2016-08-07 | Add filesystem encoding handling | jaseg | 1 | -6/+8 | |
2016-08-05 | Remove trailing whitespace in mpv.py | jaseg | 1 | -16/+16 | |
2016-08-05 | Add GL API stuff | jaseg | 1 | -2/+22 | |
2016-08-05 | Fix video_params list access | jaseg | 1 | -2/+2 | |
2016-08-05 | Some more lowercase for readability | jaseg | 1 | -2/+2 | |
2016-08-04 | Fix event callback foo | jaseg | 1 | -1/+1 | |
2016-08-04 | Fix log handling | jaseg | 1 | -3/+4 | |
2016-08-04 | Make video-pan-x and video-pan-y floats as they should be | jaseg | 1 | -2/+2 | |
2016-08-04 | Fix property observe handler hash handling | jaseg | 1 | -2/+3 | |
2016-08-02 | Make ynbool python2-compatible | jaseg | 1 | -3/+5 | |
2016-07-31 | Make this python2 compatible | jaseg | 1 | -3/+3 | |
2016-07-01 | Use ctypes.util.find_library to find libmpv. Thanks to @mozbugbox | jaseg | 1 | -2/+3 | |
2016-02-19 | Add tests | jaseg | 1 | -32/+44 | |
2016-02-19 | Properly release resources after use | jaseg | 1 | -22/+38 | |
Namely, let the event handler thread terminate itself cleanly and remove reference leak so __del__ can do its job. | |||||
2016-02-19 | Fix DEFAULT_ERROR_HANDLER | Frechdachs | 1 | -2/+2 | |
2016-02-19 | Implement '==' and '!=' for ynbool | Frechdachs | 1 | -0/+3 | |
'ynbool(True) == "yes"', 'ynbool(True) == True' and 'ynbool(True) == ynbool(True)' were not working. | |||||
2016-02-12 | Improve Windows support | Frechdachs | 1 | -1/+4 | |
Windows users don't have to edit the source code anymore. | |||||
2016-02-12 | Fix property getter for non-available properties | Frechdachs | 1 | -1/+2 | |
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 | Fix percent-pos property | Frechdachs | 1 | -1/+1 | |
The 'percent-pos' property has to be float. Trying to retrieve this property was raising an exception, because e.g. 'int("0.0000")' raises a ValueError. | |||||
2016-02-12 | Improved log handling | jaseg | 1 | -2/+13 | |
2016-02-09 | Fix unobserve_property | Frechdachs | 1 | -2/+6 | |
There were three problems: 1. MPV.unobserve_property called _mpv_observe_property instead of _mpv_unobserve_property. 2. _mpv_unobserve_property returns the number of properties that were assigned to the handler that is being removed. Because the return value is not 0 in such a case, ErrorCode.raise_for_ec tries to raise an error. To fix that, I changed the ErrorCode.raise_for_ec functon not to raise an error if ec is larger than 0. (If there is a positive return value, there should not have been an error anyway, if I'm not mistaken.) 3. Calling MPV.unobserve_property for a handle that is not currently been used, should not result in a KeyError being raised. An alternative to 2. would be to add a restype to the _handle_func of 'mpv_unobserve_property' and returning that value in MPV.unobserve_property. (That way, raise_for_ec is never called.) But I don't think this value is useful in any way. Even the built in lua interface does not return that value. | |||||
2016-02-08 | Add observe_property support | jaseg | 1 | -111/+138 | |
2016-01-04 | Remove asyncio for windows support | jaseg | 1 | -22/+7 | |
2015-11-01 | Fixed accidental python2-ism in ynbool. Fixes #1 | jaseg | 1 | -2/+2 | |
Thanks to u8sand from github for this. | |||||
2015-05-10 | Small beautifications | jaseg | 1 | -494/+492 | |
2014-08-14 | Fixed encoding handling to use the system's default encoding | jaseg | 1 | -9/+11 | |
2014-08-14 | Removed a bunch of asserts and added some doc | jaseg | 1 | -13/+10 | |
Now leaving command parameter value checking to libmpv. | |||||
2014-08-13 | Added support for yet-unknown error codes | jaseg | 1 | -488/+497 | |
2014-08-13 | Added optional loading of liblua | jaseg | 1 | -0/+5 | |
2014-08-10 | Initial commit | jaseg | 1 | -0/+594 | |