lol
at master 18 lines 842 B view raw
1diff --git a/usr/lib/hypnotix/mpv.py b/usr/lib/hypnotix/mpv.py 2index f42a3be..f1fc40b 100644 3--- a/usr/lib/hypnotix/mpv.py 4+++ b/usr/lib/hypnotix/mpv.py 5@@ -44,12 +44,7 @@ else: 6 # still better than segfaulting, we are setting LC_NUMERIC to "C". 7 locale.setlocale(locale.LC_NUMERIC, 'C') 8 9- sofile = ctypes.util.find_library('mpv') 10- if sofile is None: 11- raise OSError("Cannot find libmpv in the usual places. Depending on your distro, you may try installing an " 12- "mpv-devel or mpv-libs package. If you have libmpv around but this script can't find it, consult " 13- "the documentation for ctypes.util.find_library which this script uses to look up the library " 14- "filename.") 15+ sofile = '@libmpv@' 16 backend = CDLL(sofile) 17 fs_enc = sys.getfilesystemencoding() 18