I want to have a script that is continuously running in the background while I connect my phone via Bluetooth to play music. I need the script to get the total time length of the track, the current time in the song, the artist of the song, and the title of the song. I need those items to be gathered and then printed in the output terminal, and I need this to be written in Python. I don't have any code at the moment but was hoping someone could give me some lines of code that would point me in the right direction.
Can someone provide me some information on how to get the total time length of the track, the current time in the song, the artist of the song, and the title of the song?