Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Playback stops if file becomes unavailable #341

Open
dz0ny opened this Issue · 2 comments

3 participants

@dz0ny
Collaborator

Playlist sometimes contain files that become unaveliable(internet connection down, wrong url). This becomes apparent in SoundCloud backend, when some file gets removed for copyright violation(guessing) but stays in playlist.

Steps to reproduce:

  1. Load playlist with removed file
  2. Play file, gstreamer complains with canresolveuri
  3. Player should skip to next available file

Log:

ERROR    Vira ni mogoče odpreti za branje. gstsouphttpsrc.c(1119): gst_soup_http_src_parse_status (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin2/GstSoupHTTPSrc:source:
Not Found (404), URL: https://api.soundcloud.com/tracks/81958744/stream?client_id=93e33e327fd8a9b77becd179652272e2
WARNING  Setting GStreamer state to GST_STATE_NULL failed
ERROR    Vrste pretoka ni mogoče določiti. gsttypefindelement.c(562): gst_type_find_element_handle_event (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin2/GstTypeFindElement:typefindelement24
WARNING  Setting GStreamer state to GST_STATE_NULL failed
@jodal
Owner

I agree, we should skip to next track when an URI isn't playable.

@jodal jodal was assigned
@jodal jodal removed their assignment
@adamcik
Owner

We have a few other issues that are similar to this which should likely me merged to a single bug at some point. For most cases the next track idea is reasonable, while for radio streams you want to retry the stream. But either way, step one is actual handling of gstreamer errors beyond logging and calling stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.