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

Failure when playing a file in a large folder of audio #6548

Open
3 tasks done
jhol opened this issue Feb 20, 2025 · 2 comments
Open
3 tasks done

Failure when playing a file in a large folder of audio #6548

jhol opened this issue Feb 20, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@jhol
Copy link

jhol commented Feb 20, 2025

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

On Jellyfin 10.10.3 (Server and Web), provided by NixOS 24.11, I have a directory with 516 audio files (recordings of radio shows). When I select an item beyond a certain threshold down the list - roughly 60% of the way through the items, the item below this threshold fail to begin playing when clicked. A never-ending spinner appears.
How to debug this?

Reproduction Steps

  1. Go to home
  2. Enter music library
  3. Select folder of radio shows. List of 513 tracks appears - 999h 46m!
  4. Scroll down to 60% of the way through the list, and select the item at the threshold. Spinner appears and item does not play.
  5. Click on the preceding item, and the spinner disappears and the item plays perfectly.

Expected/Actual behaviour

Item should begin playing as expected

Logs

Looking in the console I get the following error:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
    at main.jellyfin.bundle.js?7d7a8f652e6d8bcf45ae:2:152958
    at d (main.jellyfin.bundle.js?7d7a8f652e6d8bcf45ae:2:115579)
    at Generator.<anonymous> (main.jellyfin.bundle.js?7d7a8f652e6d8bcf45ae:2:116922)
    at Generator.next (main.jellyfin.bundle.js?7d7a8f652e6d8bcf45ae:2:116008)
    at de (main.jellyfin.bundle.js?7d7a8f652e6d8bcf45ae:2:123333)
    at a (main.jellyfin.bundle.js?7d7a8f652e6d8bcf45ae:2:123537)

I couldn't see any error in journalctl on the server

Server version

10.10.3

Web version

10.10.3

Build version

10.10.3

Platform

Linux

Browser

Ungoogled Chromium

Additional information

No response

@jhol jhol added the bug Something isn't working label Feb 20, 2025
@jhol
Copy link
Author

jhol commented Feb 21, 2025

Seems to be related to jellyfin/jellyfin#2747

@jhol
Copy link
Author

jhol commented Feb 21, 2025

Ok, I'm digging into this a bit more. Viewing the file listing in a shell, the error occurs on the 310th file (or thereabouts. I can't get the sorting of my file listing to exactly match that of Jellyfin).

  • If I click the 308th item on the list, playback occurs as expected.
  • If I click the 309th item in the list, it plays the 1st item in the list.
  • If I click the 310th item in the list, I get the aforementioned Javascript error.

@jhol jhol changed the title TypeError when clicking on certain items Failure when playing a file in a large folder of audio Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant