Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback Error when using shuffle #5909

Closed
putridpete opened this issue Aug 12, 2024 · 1 comment
Closed

Playback Error when using shuffle #5909

putridpete opened this issue Aug 12, 2024 · 1 comment
Labels
bug Something isn't working confirmed The issue has been verified
Milestone

Comments

@putridpete
Copy link

Whenever I shuffle media that I've filtered by genre, such as horror for instance, I get a Playback error that says "No player found for the requested media" every time. Happens on any web browser, JMP and on the WebOS app.

Steps To Reproduce

  1. Go to 'Movies' (TV shows have this issue too)
  2. Click on 'Genres'
  3. Select any genre
  4. Click 'Shuffle'
  5. Error occurs

Expected Behavior
Media should play shuffled.

Logs
Because it refuses to play, I see no relevant logs, but after opening the browser dev console (Firefox) I saw this message that could be related: "No player found for the requested media: undefined main.jellyfin.bundle.js:2:142706".

System:

  • Platform: Linux, WebOS
  • Browser: Firefox
  • Jellyfin Version: 10.9.9, 1.11.1 (JMP)

Additional Context
Curiously enough, no problem occurs when clicking on "Play all" instead. This issue was first reported on the Jellyfin forums, some additional info could be posted here.

@putridpete putridpete added the bug Something isn't working label Aug 12, 2024
@dmitrylyzo
Copy link
Contributor

I don't know how it worked before, but now we don't generate a play queue for Genre item:

function getPlaybackPromise(firstItem, serverId, options, queryOptions, items) {

I tried adding a similar thing to MusicGenre:
case 'MusicGenre':
return getItemsForPlayback(serverId, mergePlaybackQueries({
GenreIds: firstItem.Id,
Filters: 'IsNotFolder',
Recursive: true,
SortBy: options.shuffle ? 'Random' : 'SortName',
MediaTypes: 'Audio'
}, queryOptions));

But it fetches items across different libraries because Genre item has no parent (and the query as well).

@dmitrylyzo dmitrylyzo added the confirmed The issue has been verified label Aug 14, 2024
@thornbill thornbill added this to the v10.9.11 milestone Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed The issue has been verified
Projects
None yet
Development

No branches or pull requests

3 participants