I am running on Ubuntu 12.04 and Banshee version is 2.96, I am looking for plugin or script which can pause any track that is playing Banshee when I lock the screen.
Thanks.
|
I am running on Ubuntu 12.04 and Banshee version is 2.96, I am looking for plugin or script which can pause any track that is playing Banshee when I lock the screen. Thanks. |
||||
|
|
|
Python script (save it and execute it). I found it on bug page for launchpad with the following comment:
Code of the script can be found here. Regarding comment: It might be worth while asking this on coding stackexchange. But the relevant part of it is this:
def Bconnect(session_bus):
if not session_bus.name_has_owner("org.bansheeproject.Banshee"):
return None
banshee = session_bus.get_object("org.bansheeproject.Banshee", "/org/bansheeproject/Banshee/PlayerEngine")
return banshee
|
|||||
|
|
Android has a banshee remote app that will, obviously based of app name, control banshee remotely. I have used it but haven't tested it in this type of situation. maybe this app will work |
|||
|
|
|
go to terminal and type |
|||||||
|