jeffvli / feishin

A modern self-hosted music player.
https://feishin.vercel.app
GNU General Public License v3.0
2.83k stars 116 forks source link

Random white screen and audio stops #834

Open Cubicalspy opened 1 week ago

Cubicalspy commented 1 week ago

Expected Behavior

App should run normally without experiencing this.

Current Behavior

The app turns into an entierly white screen, the audio stops ( but doesn't glitch out ), and the feature to remember the queue resets to the state before last app launch.

Here is also the errors i got in the dev menu: Screenshot 2024-11-09 204831

Something i also noticed is that the album view sometimes unloads randomly, that causes the error below. [Violation] 'setTimeout' handler took 57ms

Clicking on the left upper search button and using some of the "go to page" buttons, causes this error: [Violation] 'message' handler took 150ms

When the app freezes the big red errors pop up.

Steps to Reproduce

Play around with the app, playing different songs going in to different menus and link. I don't think there is any specific action that causes it, but i probably just haven't noticed yet.

Possible Solution

No response

Context

It is fairly annoying, but not really critical for me. It started randomly happening ( commonly when exploring a lot of menus and links ). A restart of the app fixes it, though it resets the queue as i said.

Another thing i should probably metion is that im running a kinda weird setup. I open jellyfin on my pc when i listen to music, and also open up feishin and have it connect to the "server" through localhost. It's probably overkill, but it works well for me. I don't know if this could cause this issue but i don't think so.

Application version

0.11.1

Operating System and version

Windows 11 23H2 (OS Build 22631.4317)

Server and Version

Jellyfin 10.10.0

Node Version (if developing locally)

No response

jeffvli commented 4 days ago

It seems like it's erroring out when accessing a list page (probably Albums or Tracks). If you can reproduce it again you would want to check the Network tab of the browser devtools, filter by Fetch/XHR, and then check the latest fetches to see if they're returning valid data.

Cubicalspy commented 3 days ago

I don't really see anything obviously wrong with it. It seems to be happening when scrolling through lists, especcially the album page. The data isn't quite right though, the userdata field on some of them returns wrong values, f.e. playcount: 0, when i have listened to the album. It also likes to push alot of warnings when pressing the "go to page" buttons. Though thats probably irrelevant. Here i provide some of the data that i see, maybe im not looking in the right place. Screenshot 2024-11-14 231229

jeffvli commented 3 days ago

Actually the error you're getting seems to indicate that it's erroring out when rendering the skeleton loaders on the list pages (though I'm not sure why that would happen).

Maybe there's something wrong with one of the sort options which is causing the error. What sort option do are you using on the album list page?

Cubicalspy commented 2 days ago

Im am using the A-Z option, or name it's probably called.

Woytsekj commented 1 day ago

I am also getting this white screen but this happens whenever it feels like when shuffling. But with these error logs, the issue is not just produced with one thing. I am using Navidrome 0.53.3 image image