···11+diff --git a/usr/lib/hypnotix/mpv.py b/usr/lib/hypnotix/mpv.py
22+index f42a3be..f1fc40b 100644
33+--- a/usr/lib/hypnotix/mpv.py
44++++ b/usr/lib/hypnotix/mpv.py
55+@@ -44,12 +44,7 @@ else:
66+ # still better than segfaulting, we are setting LC_NUMERIC to "C".
77+ locale.setlocale(locale.LC_NUMERIC, 'C')
88+99+- sofile = ctypes.util.find_library('mpv')
1010+- if sofile is None:
1111+- raise OSError("Cannot find libmpv in the usual places. Depending on your distro, you may try installing an "
1212+- "mpv-devel or mpv-libs package. If you have libmpv around but this script can't find it, consult "
1313+- "the documentation for ctypes.util.find_library which this script uses to look up the library "
1414+- "filename.")
1515++ sofile = '@libmpv@'
1616+ backend = CDLL(sofile)
1717+ fs_enc = sys.getfilesystemencoding()
1818+