mpv-playlistmanager icon indicating copy to clipboard operation
mpv-playlistmanager copied to clipboard

Lua error: module 'mp.input' not found

Open pycaw opened this issue 8 months ago • 2 comments
trafficstars

[playlistmanager] 
[playlistmanager] stack traceback:
[playlistmanager]       [C]: in function 'require'
[playlistmanager]       /home/dhost/.config/mpv/scripts/playlistmanager.lua:229: in main chunk
[playlistmanager]       [C]: ?
[playlistmanager]       [C]: ?
[playlistmanager] Lua error: /home/dhost/.config/mpv/scripts/playlistmanager.lua:229: module 'mp.input' not found:
[playlistmanager]       no field package.preload['mp.input']
[playlistmanager]       no file '/usr/share/lua/5.1/mp/input.lua'
[playlistmanager]       no file '/usr/share/lua/5.1/mp/input/init.lua'
[playlistmanager]       no file '/usr/lib64/lua/5.1/mp/input.lua'
[playlistmanager]       no file '/usr/lib64/lua/5.1/mp/input/init.lua'
[playlistmanager]       no file '/usr/lib64/lua/5.1/mp/input.so'
[playlistmanager]       no file '/usr/lib64/lua/5.1/loadall.so'
[playlistmanager]       no file '/usr/lib64/lua/5.1/mp.so'
[playlistmanager]       no file '/usr/lib64/lua/5.1/loadall.so'

I am on Fedora 40 Plasma wayland. Any clues? I have other scipts working.

pycaw avatar Mar 08 '25 16:03 pycaw

It should work in the latest stable release v0.39.0

If you are unable to update you can use the previous version https://github.com/jonniek/mpv-playlistmanager/tree/16e18949e3d604c2ffe43e95391f420227881139

jonniek avatar Mar 09 '25 20:03 jonniek

Thanks, I will settle with the version you linked for now (I have mpv 0.37.0, forgot the mention).

pycaw avatar Mar 10 '25 09:03 pycaw