Skip to content

When casting and playing playlist, plays in the wrong order #41

@jgoerzen

Description

@jgoerzen

Hi,

Thanks for jellycli!

I've noticed an odd issue. If I select the playlist from within jellycli, all is well. But if am using the Jellyfin Web UI and cast a playlist to jellycli, it plays in the wrong order.

I have playlists consisting of tracks from multiple albums. They might look like this:

  • all 10 tracks from album 1
  • all 20 tracks from album 2
  • all 5 tracks from album 3
  • etc.

So that playlist would have 35 tracks. It should properly play all the album 1 tracks, then all the album 2 tracks, then all the album 3 tracks. It does do this when navigating to the playlist in jellycli.

But, when navigating to the playlist in Jellyfin and then casting it to jellycli to play, it will play in this rought order:

  • The last track from album 1
  • Track 1 from every album
  • Track 2 from every album

When running with --no-gui, I often see:

[14:42:13.494]  INFO Too many songs for single query, split query: 27 total, 2 queries
[14:42:13.548]  INFO Stop audio
[14:42:13.549] ERROR stop: audio stream completed but streamer is nil
[14:42:13.555] ERROR report audio progress to server: push progress: invalid request, code: 400, msg: {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"00-90b51db967cfd4b2e8ebfb3fa7683a88-139ed119018933fc-00","errors":{"":["The supplied value is invalid."],"playbackStopInfo":["The playbackStopInfo field is required."]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions