Closed XEROxMEXICANO closed 1 year ago
Thank you!, I will continue to work on this later, unfortunately I'm busy all morning today.
Did you achieve anything concerning the new menu? Unfortunately there is no answer and the question itself is so interesting...
Where you would usually find playlists, albums, and podcasts I want to make a new one called Pair Audio so when it's clicked it will run subprocess.run(["btaudio-connect"]) which will run a bash command in python that connects my headphones.
My headphones already connect upon boot, But sometimes they don't or they are connected to my phone so I wanted an easy option to connect my headphones. I already have the code displaying the option but can't get it to run when clicked, I have no experience in python just messing around and looking at how the other classes get processed.
Here's what I already got working:
with this code
When I click on it, it freezes the program and I have to restart and it's back to normal. Any ideas?