• Jean Felder's avatar
    mpris: Do not send the Stopped signal when a song ends · 7f67eeed
    Jean Felder authored
    MPRIS specifications are not explicit whether the "Stopped" signal
    should be sent at the end of a song. It seems logical not to emit this
    signal if the playlist is not finished because a new song is gonna
    start. Besides, this is the behavior of all the usual audio players.
    This is fixed by returning the "Playing" PlaybackStatus if the player
    is in the LOADING (which happens at the end of all songs) or PLAYING
    Related: #282
mpris.py 30.2 KB