I was trying to rewrite smth that currently uses playectl's follow mode to use the GObject api thingy
Docs are scarce for anything but python so idk if I did it right
full code here
But before I can test the code I get an error :(((
> require("lgi").Playerctl
/usr/share/lua/5.3/lgi/namespace.lua:158: Typelib file for namespace 'Playerctl' (any version) not found
stack traceback:
[C]: in function 'assert'
/usr/share/lua/5.3/lgi/namespace.lua:158: in function 'lgi.require'
(...tail calls...)
stdin:1: in main chunk
[C]: in ?
I was trying to rewrite smth that currently uses playectl's follow mode to use the GObject api thingy Docs are scarce for anything but python so idk if I did it right full code here
But before I can test the code I get an error :(((
from the lua repl this is on ubuntu lts (20.04) with version 0.9.4 I think https://packages.ubuntu.com/focal/lua-lgi
Im not sure exactly why im getting this error :sweat_smile: Maybe its smth specific to ubuntu's version