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

Jellyfin doesn't show library because its type is "nil" #1245

Open
FrankreedX opened this issue Sep 24, 2024 · 4 comments
Open

Jellyfin doesn't show library because its type is "nil" #1245

FrankreedX opened this issue Sep 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@FrankreedX
Copy link

Describe the bug

I admit that this is partly my fault. When I set up my library, I plan on putting both movies and tv shows in the same library because I don't care about the multi-library workflow. I left the "type" field blank.
Now when I use Swiftfin, the "Media" tab would not show my library, instead just showing an empty "Favorite" collection.

Screenshot 2024-09-23 at 9 31 16 PM

I dug into the code a bit and see that only ["boxsets", "folders", "movies", "tvshows", "livetv"] are supported.
I have a couple of issues with this:
First is people like me who didn't know better and set up their libraries wrong. As the web client handles this correctly, I didn't realize it was a problem until using the app. And there's no way to change the type of library after the fact. (jellyfin/jellyfin#10570)
Secondly, correct me if I'm wrong but I don't see how the app handles these types of libraries differently from each other, maybe just displaying a different string here and there. Personally I think that media (shows, movies, etc.) should be treated differently, but the type of library should not be treated differently at all.

Application version

1.2 (4)

Where did you install the app from?

TestFlight

Device information

iPhone 11 Pro

OS version

iOS 18.0

Jellyfin server version

10.9.11

@FrankreedX FrankreedX added the bug Something isn't working label Sep 24, 2024
@FrankreedX
Copy link
Author

When I remove the line that exclude views that didn't fit the listed types, my library shows up and works as expected

@LePips
Copy link
Member

LePips commented Sep 24, 2024

We only currently support movies and tv shows, which is why we need to filter based on the collection type, it has nothing to do with how they differ. The web "works" because it doesn't have to filter.

However, this may be the issue for #1100 but will have to look again after we update our SDK to the 10.9 generation.

@FrankreedX
Copy link
Author

I am aware of the app only supporting movies and tvshows, I just wish that it filters the actual media instead of entire collection, because I only have movies and tv shows on my server.

@Masterpayneio
Copy link

I'm having the same problem. I have a Movie, TV Show, and an Anime folder. The Anime folder has two series in it that I wanted to register correctly so I set the library to movie/tv show. Is there any way to remedy this issue for Swiftfin iOS?

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

3 participants