balbuze/volumio-plugins

Volspotconnect2 - Plugin becomes unresponsible after playing a podcast episode

pachulo opened this issue · 3 comments

When I play a podcast episode (for example https://open.spotify.com/episode/4O2jLm386lJxkYAFBKpoGB?si%3DOd6XUYrpSJ2dNuUoJHbvDg) everything goes fine but, as soon as it finishes, the player stops and I can't play anything anymore: I have to disable and enable the plugin to get it back.

Some logs please :-)

Well, yeah, that makes sense...again :$

Here you have!

May 10 14:07:56 volumio volumio[773]: [SpotifyConnect] Pushing new state :: true
May 10 14:11:39 volumio volumio[922]: [Vollibrespot] : Loading <El pop i la guitarra espanyola> with Spotify URI <spotify:episode:4Y6N9ZlJhvllRuQJqY6s84>
May 10 14:11:39 volumio volumio[922]: [Vollibrespot] : <El pop i la guitarra espanyola> (3637800 ms) loaded
May 10 14:12:09 volumio volumio[922]: [Vollibrespot] : Event: TrackChanged { old_track_id: SpotifyId { id: 209944525919423062882993234700348168041, audio_type: Podcast }, track_id: SpotifyId { id: 217039593986220526124998444179992023540, audio_type: Podcast } }
May 10 14:12:09 volumio volumio[922]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SpotifyIdError', /build/cache/git/checkouts/librespot-6f197fd632ef9380/8d65d82/connect/src/spirc.rs:1284:13
May 10 14:12:10 volumio volumio[922]: 14:   0x5a4cc0 - librespot_connect::spirc::SpircTask::handle_next::h7a1abf7766270070
May 10 14:12:10 volumio volumio[922]: 15:   0x5a389c - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::hbeae9e91e132ccf7
May 10 14:12:10 volumio volumio[922]: 16:   0x516140 - <vollibrespot::Main as futures::future::Future>::poll::h701c1044061da065
May 10 14:12:10 volumio volumio[922]: 23:   0x51770c - vollibrespot::main::h9354d42b676fac18

It looks like that it loads the next episode OK, but then it panics.

@pachulo I kinda forgot this one, fixed it, but will wait and push it with the next update..