I'm using the Python API to play a list of songs from a playlist.
MediaPlayer.play() starts playing the first song in the list, and MediaPlayer.next and MediaPlayer.previous move to the next or previous songs. For each time MediaPlayer starts playing a new song I'm trying to find the index of the song in the list, so that I can display the song title. But I can't see a way to find the index, or number, for the current position in the list. Is there a way? Thanks.