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

Track listing won't load since 0.7.3 #765

Closed westingham closed 1 month ago

westingham commented 1 month ago

Expected Behavior

Clicking on the Tracks category should display tracks and allow you to play those tracks. tracks

Current Behavior

Clicking on the Tracks category doesn't display any tracks. Trying to switch the sorting shows a spinning circle but that's it. notracks

Steps to Reproduce

Install any version of feishin after 0.7.3 Click on the Tracks category Get a blank track listing Install feishin 0.7.3 Click on the Tracks category See tracks again

Possible Solution

No response

Context

I'd like to use newer versions of feishin but I'm currently stuck at 0.7.3 due to this bug.

It should be noted that all of the other categories (Home, Albums, Artists, etc.) work as expected and I can play tracks there. It's just the Tracks category that doesn't work.

Application version

0.8.0+

Operating System and version

Windows 10

Server and Version

Jellyfin 10.9.11

Node Version (if developing locally)

No response

jeffvli commented 1 month ago

You're going to have to check the devtools console to see if you're getting any errors when navigating to the track list page.

Testing Jellyfin v10.9.11 works fine for me.

westingham commented 1 month ago

No error received when navigating to the track list page. When I try to play a song from the list, I get an error. error

jeffvli commented 1 month ago

Does the network tab show that fetch requests are coming through if you click the refresh button?

If so, click on the individual network requests and check if it's returning a valid result.

westingham commented 1 month ago

Clicking the Refresh button doesn't generate anything in the Network tab. However, Feishin is definitely trying to do something on the track list page. network1

westingham commented 1 month ago

Maybe this will help. I'm including a screenshot of the network tab when I open the track list page in 0.7.3 and when I do the same in 0.10.1. While all the responses are showing a 200 result, which I understand to be good, it seems like it's still trying to find something. It just does as bunch of those same requests and then stops. 073 0101

jeffvli commented 1 month ago

That's still not enough information to fully debug the issue. Is 0.10.0 the first version where it doesn't work? What about the versions inbetween?

Could you copy each of the network request query params so we can see what it's actually fetching as well?

westingham commented 1 month ago

The issue first appeared in 0.8.0 and has continued since then.

Here is the information about the network request queries that you asked for. The version used is 0.10.1. Let me know if you want a different version.

items.txt items-fields.txt

jeffvli commented 1 month ago

The network requests look fine to me (although I would also like to request one where you see Limit of 500 and its full response)

image


Other things to try:

  1. Try changing the folder filter to your primary music folder

image

  1. Open the track list filters popup and try to set and reset all the filters (even if they're empty, just enter a value and press backspace until empty)

image

  1. Try switching the list display type to the Card or Poster and see if those work

image

  1. Completely reset your Feishin settings and config by going to %appdata%\feishin\ or C:\Users\<your profile name>\AppData\Roaming\feishin and removing or renaming the Local Storage folder and then restarting the app and reconfiguring.
westingham commented 1 month ago

Attached is the information from a request that has a payload value of 500. payload500.txt

1.) Changing the folder filter did not make anything different happen.

2.) Entering values, and then removing values, to the track list filters did not make anything different happen.

3.) Changing the display type to Card showed songs but only if the order is in Ascending view. I can scroll up and down through my entire track list and all the songs show up but as soon as I change the order to Descending view, then no songs will show up. Changing the display type of Poster has the same effect as changing to Card. Changing the display type back to Table will show the songs as long as the sort type is in Ascending. Having said all that, I believe it's cached information of some sort. If I change list from Recently Added to Album or Artist or anything else, then no songs will show up regardless of whether I select Ascending or Descending.

4.) Deleting the Local Storage folder did not make anything different happen aside from what was mentioned in the above point.

jeffvli commented 1 month ago

Given the network request details, it should work... and I can't reproduce this nor have I ever seen anyone else have this issue.

I'm sorry, but there's not much more I can do to debug unless I can get temporary access to your server to test it myself. Is your Jellyfin instance public by any chance?

westingham commented 1 month ago

No, sorry, there's no external access to the server. Thank you for your help! I'll just continue to use 0.7.3 and try new versions as they come out.

jeffvli commented 1 month ago

Sounds good. Feel free to re-open this issue if you have any further updates.