From e29d499f1842984642e2a177abeb7b16a75d487a Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 2 Aug 2017 10:46:36 +0200 Subject: mpv module: Remove load_lua It wouldn't work on all systems anyway due to differing names for liblua ("liblua.so", "liblua-5.1.so" etc.) and also doesn't seem to be necessary anymore. --- mpv.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mpv.py b/mpv.py index 084be03..889811c 100644 --- a/mpv.py +++ b/mpv.py @@ -425,11 +425,6 @@ def _event_generator(handle): raise StopIteration() yield event -def load_lua(): - """ Use this function if you intend to use mpv's built-in lua interpreter. This is e.g. needed for playback of - youtube urls. """ - CDLL('liblua.so', mode=RTLD_GLOBAL) - def _event_loop(event_handle, playback_cond, event_callbacks, message_handlers, property_handlers, log_handler): for event in _event_generator(event_handle): -- cgit