Show text on ubuntu

I am writing a little script for Ubuntu. My intention is to call the rhyming lyrics with a global contraction (gnome tuning). I can call it from the python rhythmbox pool, but I don't know how to import the built-in rhythmbox modules (like rhythmdb).
Any ideas?

0


a source to share


2 answers


You cannot import "inline" rhythmbox modules from the standard python console.



As far as I know, they are not real modules, they are just objects from the rhythm box process that are available to plugins. This way you can only access them if you are using the script from the rhythm box process.

+2


a source


In this case, I think you will have to write the whole plugin yourself and then listen to dbus to change songs in the rhythm box to determine which song is playing.



0


a source







All Articles