Commit graph

69 commits

Author SHA1 Message Date
63a3267b6e Refactor partially (now more things are broken) 2017-04-27 21:36:10 +07:00
ae7618c807 Create an object to avoid using global variable 2017-04-24 11:13:12 +07:00
bdd2ac61cf Fix the bug when the playlist is shorter than the screen 2017-04-10 20:53:17 +07:00
d01194223d Import youtube-dl 2017-04-08 20:53:48 +07:00
894fa77fd6 Add save playlist function and complete Vietnamese translation 2017-04-06 23:02:54 +07:00
c224c24b84 Add Youtube playlist argument, seek function and patial support for translation using gettext 2017-04-05 11:39:04 +07:00
36f73c36f1 Update documentation and setup 2017-04-04 11:37:29 +07:00
8a79cafddd Add repeat and shuffle mode 2017-04-03 20:52:59 +07:00
fefa352ae1 Add playing title to statusline and audio, video toggle feature 2017-04-02 21:04:57 +07:00
14a8c21c24 Add pause function and time-pos 2017-03-30 11:14:51 +07:00
861c2e4612 Standardize function calls 2017-03-26 15:26:37 +07:00
082cdc3222 Refactor to not use curses.wrapper 2017-03-24 21:57:19 +07:00
202280f760 Add bottom panel and improve data structure 2017-03-23 21:37:52 +07:00
f5ea68509e Initial comp commit 2017-03-21 20:33:11 +07:00
jaseg
8b9411ec54 Simplify initialization logic somewhat 2017-01-06 14:41:46 +01:00
Frechdachs
9cc3a25c73 Make sure _mpv_initialize is called before _mpv_terminate_destroy 2017-01-06 13:52:50 +01:00
jaseg
9fa18058ad Make so/DLL loading more robust
* 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
2017-01-04 12:46:17 +01:00
jaseg
eb8b6a05d7 Clarify event thread handling in the README 2016-11-23 10:20:49 +01:00
jaseg
efbf182723 Fix MPV.terminate so it can be called from event handlers 2016-09-15 02:00:28 +02:00
jaseg
667ec6f180 Fix property access in README example 2016-08-25 07:41:34 +02:00
jaseg
b71e8a4a55 Small refactoring of with usage in tests 2016-08-24 11:42:17 +02:00
jaseg
1ee4361bdd Pimp loadfile to accept per-file options 2016-08-20 11:20:20 +02:00
jaseg
669c4bbfec BREAKING 💥 Improve property handling 2016-08-20 09:54:53 +02:00
jaseg
be8d6897eb Fix key binding handling for duplicate bindings and commands 2016-08-19 18:52:37 +02:00
jaseg
aaddc52da4 Set LC_NUMERIC to C to avoid segfaults on some platforms 2016-08-19 17:54:32 +02:00
jaseg
ab8b8b5477 Improve event handling, add message handling, add key binding foo 2016-08-17 23:21:19 +02:00
jaseg
de7b671103 Finally add node handling, fix ALL THE THINGS
* 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 19:14:14 +02:00
jaseg
4d6c17d342 WIP 2016-08-13 18:19:39 +02:00
jaseg
97d929e27f Add loads of new properties 2016-08-13 01:30:03 +02:00
jaseg
a8be9bd534 More tests 2016-08-13 01:29:35 +02:00
jaseg
adfe131be9 Improve flag handling 2016-08-13 01:28:33 +02:00
Frechdachs
b6d2b514d5 Fix spaces/tabs inconsistency
Since 230f0078fe python throws a TabError exception.
2016-08-12 23:09:18 +02:00
jaseg
230f0078fe Fix filesystem encoding on windows 2016-08-09 23:38:21 +02:00
jaseg
1feab17c18 💥 breaking: Call observe_property handler with correct type arg 2016-08-07 19:49:55 +02:00
jaseg
1bde43a4d8 Update README with more instructions 2016-08-07 19:49:37 +02:00
jaseg
1acc39885f Keep wait_for_playback in waiting state during PAUSE
...to allow proper playback of network resources even in case of
buffering
2016-08-07 19:40:28 +02:00
jaseg
dc1c4d89a5 💥 breaking: Pass individual arguments to log_handler 2016-08-07 19:14:26 +02:00
jaseg
14bb2c3223 Use utf-8 facing the API
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 19:02:29 +02:00
jaseg
2bff338c83 Add filesystem encoding handling 2016-08-07 18:56:07 +02:00
jaseg
7c1343f03d Remove trailing whitespace in mpv.py 2016-08-05 02:35:07 +02:00
jaseg
a960a2ed4e Add GL API stuff 2016-08-05 02:35:00 +02:00
jaseg
dfdc201ac7 Fix video_params list access 2016-08-05 02:17:39 +02:00
jaseg
24c70a5ac8 Some more lowercase for readability 2016-08-05 02:17:10 +02:00
jaseg
47919b0ca8 Fix event callback foo 2016-08-04 17:06:34 +02:00
jaseg
0c5530aa27 Fix log handling 2016-08-04 16:38:25 +02:00
jaseg
588d74938c Make video-pan-x and video-pan-y floats as they should be 2016-08-04 16:23:44 +02:00
jaseg
73f2e87f66 Fix property observe handler hash handling 2016-08-04 16:19:36 +02:00
jaseg
ae8770df30 Make ynbool python2-compatible 2016-08-02 13:45:58 +02:00
jaseg
35de5ecc93 Make this python2 compatible 2016-07-31 21:29:03 +02:00
jaseg
8d8b061fcc Use ctypes.util.find_library to find libmpv. Thanks to @mozbugbox 2016-07-01 13:12:02 +02:00