• Jean Felder's avatar
    player: Try to load the next song if the current one is unplayable · f2a42342
    Jean Felder authored
    There are 3 different cases to consider to handle an unplayable song.
    
    1. If the song comes from the call of the previous or next method.
    This case is already handled by the previous commit. Indeed, at the
    beginning of a song, two validations occur: the current song and the
    next (or previous). So, it's possible to check if the next song is
    valid at the beginning of each song.
    
    2. If the user tries to load a song whose state is unknown.
    In that case, GstPlayer will emit an error signal which is received by
    the Player. This song will be set as unplayable and the player will
    try to load the next one.
    
    2. If the user tries to load a song whose state is known as invalid.
    In that case, the player will automatically try to play the next
    song.
    
    Note: The RepeatMode song is not handled because the next method will
    always return the same song.
    f2a42342
Name
Last commit
Last update
data Loading commit data...
gnomemusic Loading commit data...
help Loading commit data...
po Loading commit data...
subprojects Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
gnome-music.doap Loading commit data...
gnome-music.in Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
meson_post_conf.py Loading commit data...
meson_post_install.py Loading commit data...
org.gnome.Music.json Loading commit data...