well, putting that part of the project on hold. turns out the build script actually wasn’t working. I for some reason thought it was, but it’s not.
I am getting the same error that this post was created for.
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Playerctl not available
why? I have no idea, except that it’s related to session variables as mentioned above.
I did find this though: Cannot run reproducible PyGObject example script
and it seems to be the exact same problem but with a different program. the shell fix works (and I may just resign my self to using it) but the gobject-introspection
solution does not work.
this goes into a much deeper rabbit-hole here: Python + Qt woes
and due to this, I’m just going to make a shell and live with the delay of starting the shell.