Mopidy Discourse

Tunein station will never get played after a spotify playlist in the queue

If you add to the queue a Tunein station after a Spotify playlist, the radio will never get played as the queue will hang at the end of the last Spotify track. Mopidy 3.2.0 (apt) and Iris 3.58.0

Do any any errors show up in the log when it gets to the end of the playlist?

Yes. Here it is:

Jul 26 11:25:00 pab mopidy[14338]: DEBUG    [SpotifyEventLoop] mopidy_spotify.playback End of track reached
Jul 26 11:25:00 pab mopidy[14338]: DEBUG    [Audio-2] mopidy.audio.gst Sending appsrc end-of-stream event.
Jul 26 11:25:03 pab mopidy[14338]: DEBUG    [Dummy-22] mopidy.audio.gst Got about-to-finish event.
Jul 26 11:25:03 pab mopidy[14338]: DEBUG    [Dummy-22] mopidy.audio.actor Running about-to-finish callback.
Jul 26 11:25:03 pab mopidy[14338]: DEBUG    [TuneInBackend-8] mopidy_tunein.tunein Tuning station id s2475
Jul 26 11:25:03 pab mopidy[14338]: DEBUG    [TuneInBackend-8] mopidy_tunein.tunein TuneIn request: 'https://opml.radiotime.com/Tune.ashx?render=json&id=s
Jul 26 11:25:03 pab mopidy[14338]: DEBUG    [TuneInBackend-8] mopidy_tunein.actor Looking up URI: 'http://edge.radiomontecarlo.net/RMC.mp3?partnertok=eyJ
Jul 26 11:25:03 pab mopidy[14338]: DEBUG    [TuneInBackend-8] mopidy_tunein.actor Unwrapping stream from URI: 'http://edge.radiomontecarlo.net/RMC.mp3?pa
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [TuneInBackend-8] mopidy_tunein.actor Unwrapped potential None stream: 'http://edge.radiomontecarlo.net/RMC.m
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [TuneInBackend-8] mopidy.backend Backend translated URI from tunein:station:s2475 to http://edge.radiomonteca
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [Audio-2] mopidy.audio.actor Flags: 2
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [SoftwareMixer-1] mopidy.mixer Mixer event: volume_changed(volume=100)
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [SoftwareMixer-1] mopidy.listener Sending volume_changed to MixerListener: {'volume': 100}
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [Core-16] mopidy.listener Sending volume_changed to CoreListener: {'volume': 100}
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [Dummy-22] mopidy.audio.gst Got source-setup signal: element=GstSoupHTTPSrc
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [MpdFrontend-21] mopidy.listener Sending mixer to MpdSession: {}
Jul 26 11:25:05 pab mopidy[14338]: DEBUG    [Dummy-22] mopidy.audio.gst Enabling live stream mode
Jul 26 11:25:06 pab mopidy[14338]: DEBUG    [HttpServer] mopidy.http.handlers Received RPC message from 192.168.1.90: b'{"jsonrpc":"2.0","id":1,"method":

it hangs up here.

What about if you skip from that Spotify track to the TuneIn track rather than letting it transition?

I wonder if this is (again) something related to using live mode on a pipeline that’s using appsrc and normal elements.

If I skip while the Spotify’s track is playing, it does skip to the radio. If I wait for the end of track and THEN skip, it doesn’t skip.

This happens also if the last track is a local track, not just Spotify’s. Maybe it is not allowed to mix tracks and radio?

Are you able to you reproduce this issue?

I dont have time this week to try.