summaryrefslogtreecommitdiff
path: root/mpv.py
AgeCommit message (Collapse)AuthorFilesLines
2017-05-11Add property observer format overridejaseg1-11/+20
2017-05-10BREAKING: Move property observation API to NODE formatjaseg1-43/+24
2017-05-10Add documentation and polish handler registrationjaseg1-50/+246
2017-05-10MPV.event_callback: Allow str event type namesjaseg1-1/+6
2017-05-10Update properties for current upstream masterjaseg1-7/+16
2017-05-10Add OSD property accessjaseg1-2/+9
2017-05-10Add callback/message handler decoratorsjaseg1-1/+20
2017-05-07Organize convenience functionsjaseg1-7/+7
2017-05-07Add playlist_append porcelainjaseg1-0/+3
2017-05-07Add license headerjaseg1-0/+18
2017-05-06Add playlist_filenames propertyHans Ole Hatzel1-0/+4
Closes #21
2017-01-06Simplify initialization logic somewhatjaseg1-3/+1
2017-01-06Make sure _mpv_initialize is called before _mpv_terminate_destroyFrechdachs1-4/+8
2017-01-04Make so/DLL loading more robustjaseg1-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-23Clarify event thread handling in the READMEjaseg1-5/+8
2016-09-15Fix MPV.terminate so it can be called from event handlersjaseg1-5/+11
2016-08-20Pimp loadfile to accept per-file optionsjaseg1-2/+6
2016-08-20BREAKING :boom: Improve property handlingjaseg1-31/+62
2016-08-19Fix key binding handling for duplicate bindings and commandsjaseg1-12/+19
2016-08-19Set LC_NUMERIC to C to avoid segfaults on some platformsjaseg1-0/+6
2016-08-17Improve event handling, add message handling, add key binding foojaseg1-7/+60
2016-08-13Finally add node handling, fix ALL THE THINGSjaseg1-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-13WIPjaseg1-188/+207
2016-08-13Add loads of new propertiesjaseg1-17/+150
2016-08-13Improve flag handlingjaseg1-4/+8
2016-08-12Fix spaces/tabs inconsistencyFrechdachs1-2/+2
Since https://github.com/jaseg/python-mpv/commit/230f0078fe2dd9edfeb2082516b15689c1c04e94 python throws a TabError exception.
2016-08-09Fix filesystem encoding on windowsjaseg1-1/+2
2016-08-07:boom: breaking: Call observe_property handler with correct type argjaseg1-2/+4
2016-08-07Keep wait_for_playback in waiting state during PAUSEjaseg1-1/+1
...to allow proper playback of network resources even in case of buffering
2016-08-07:boom: breaking: Pass individual arguments to log_handlerjaseg1-3/+3
2016-08-07Use utf-8 facing the APIjaseg1-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-07Add filesystem encoding handlingjaseg1-6/+8
2016-08-05Remove trailing whitespace in mpv.pyjaseg1-16/+16
2016-08-05Add GL API stuffjaseg1-2/+22
2016-08-05Fix video_params list accessjaseg1-2/+2
2016-08-05Some more lowercase for readabilityjaseg1-2/+2
2016-08-04Fix event callback foojaseg1-1/+1
2016-08-04Fix log handlingjaseg1-3/+4
2016-08-04Make video-pan-x and video-pan-y floats as they should bejaseg1-2/+2
2016-08-04Fix property observe handler hash handlingjaseg1-2/+3
2016-08-02Make ynbool python2-compatiblejaseg1-3/+5
2016-07-31Make this python2 compatiblejaseg1-3/+3
2016-07-01Use ctypes.util.find_library to find libmpv. Thanks to @mozbugboxjaseg1-2/+3
2016-02-19Add testsjaseg1-32/+44
2016-02-19Properly release resources after usejaseg1-22/+38
Namely, let the event handler thread terminate itself cleanly and remove reference leak so __del__ can do its job.
2016-02-19Fix DEFAULT_ERROR_HANDLERFrechdachs1-2/+2
2016-02-19Implement '==' and '!=' for ynboolFrechdachs1-0/+3
'ynbool(True) == "yes"', 'ynbool(True) == True' and 'ynbool(True) == ynbool(True)' were not working.
2016-02-12Improve Windows supportFrechdachs1-1/+4
Windows users don't have to edit the source code anymore.
2016-02-12Fix property getter for non-available propertiesFrechdachs1-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-12Fix percent-pos propertyFrechdachs1-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.