jinglemansweep/PyLMS

Get the number of the current track

Opened this issue · 0 comments

I've no idea how to commit a change, but here is an addition to player.py:

def playlist_current_track_index(self):
    """Get the number of the current track"""
    return int(self.request('playlist index ?'))+1