Swiftfin
Swiftfin copied to clipboard
HomeView Carousel
Describe the feature you'd like What is the appetite in adopting a similar type of carousel to what we are doing on Apple TV in iOS.
I was thinking similar to how the Apple TV app does it. Except, we would not have autoplay video probably just the landscape picture.
The idea being the recently added are similar to our cinematic-type view on tvOS but auto-scrolling similar to Apple TV. Something similar to tvtopshelfcarouselitem. Similar to how Jellyfin-Vue does this would be cool to recreate!
Example:
https://github.com/user-attachments/assets/7fd43cab-8ab7-4ffd-9316-a44d4648b032
I'm mostly just pitching this. I sometimes go into the Apple TV app on iOS and see what they are doing and that stood out to me as a cool way to handle the home screen.
+1 for this option. I think that nowadays there isn’t a single content platform that doesn’t include a top banner with relevant content. I believe it adds a lot of dynamism to the app and makes it more user-friendly, rather than just a plain list of the content available on the server
WIP Version:
https://github.com/user-attachments/assets/660d4fb3-49c1-4f16-bd35-54f2fac9138d
I am going to hold off on this until after: https://github.com/jellyfin/Swiftfin/pull/1606. This is going to be part of a bigger HomeView refresh that requires the following:
- Update the
HomeViewModelto treat all rows the same. Likely asPagingViewModels orItemLibraryViewModels. This is similar to what I am doing in #1606 so whatever the final product there looks like I should be able to re-create it for home. - Once all of the rows are handled with the same type of data, the view model needs to be updated to only update its state when all child
ViewModelsare valid. - Update the
HomeViewto wait until allViewModelsare valid, then build the view all at once. - When building the view, rows should be build in order with the first row being
cinematicin all subsequent rows being normal. This gives us flexibility to ensure that, regardless of the order, the structure is built out correctly. - THEN, we can look at this carousel.
I really like what Netflix does, where they show interactive cards of the two most recent shows currently watching, selecting a card takes you directly to the screen to start playing. This is a really useful shortcut on the Apple TV that I use all the time, would be super handy for Jellyfin.