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

Can you re order the collections on home? #135

Open
stevezau opened this issue Jul 14, 2024 · 11 comments
Open

Can you re order the collections on home? #135

stevezau opened this issue Jul 14, 2024 · 11 comments
Labels
enhancement New feature or request

Comments

@stevezau
Copy link

Hi,

I searched the existing issues but I couldn't find an answer.

Is it possible to reorder the rows on the home page? Plex orders by library. So for me movies show first, then shows.

I wanted to show a couple of tvshow rows at the beginning with the movie rows..

@lostb1t
Copy link
Owner

lostb1t commented Jul 14, 2024

i assume you dont use interleaving then?

but no this currently not a feature. I'll add a enhancement label but its not a high prio for myself.

@lostb1t lostb1t added the enhancement New feature or request label Jul 14, 2024
@stevezau
Copy link
Author

@lostb1t i haven't tested interleaving yet.. I might try use that but would also love to be able to reorder the home screen better so the user experiences a mixture of movies/shows as they scroll vs all movie collections first.. then show collections

@lostb1t
Copy link
Owner

lostb1t commented Jul 14, 2024

well i mean interleaving is mixing it, but into a single row. (similar to netflix)

I understand the request but i myself find interleaving a better solution for this. As i said ill keep this open for anyone interested to implement it.

@stevezau
Copy link
Author

stevezau commented Jul 14, 2024

understood @lostb1t. Interleaving might be a better approach here so ill try it.

I don't know rust but I might give it a go if I find interleaving does not quite get me to the experience I'm looking for.

I'm curious and know this is a bit off topic.. But, what ones do you interleave? Just looking to learn what you have found works best in terms of the UX?

@lostb1t
Copy link
Owner

lostb1t commented Jul 14, 2024

My media server has all builtin hubs disabled and has like 9 custom collections for each library managed by PMM. Trending, popular, most watched etc. All interleaved and published to home. With the top row being hero style.

All hubs are filtered by watched and the new corner graphic removed (everything is new when watched is removed so no beed for it)

@jl94x4
Copy link

jl94x4 commented Jul 14, 2024

I would like to have my home order changeable too. For example this is my home screen;

image
image

I would prefer available in UHD/4K to be above the Recently Added Movies before Top Films

@stevezau
Copy link
Author

stevezau commented Sep 7, 2024

@lostb1t 'I'd like to try to open a PR for this.

Can you give me pointers on how you'd implement it? I am looking for a rough guide to shortcut my learnings and prevent me from opening a PR that's not aligned with how you have designed reflex.

Thanks!

@lostb1t
Copy link
Owner

lostb1t commented Sep 7, 2024

you want to transform the mediacontainer. An example is here: https://github.com/lostb1t/replex/blob/main/src/transform/library_interleave.rs

Resorting the children of the hub mediacontainer should do the trick. If you created a new transform then addd it to the correct routes in routes.rs

Then add some settings for the user to enable/disable custom sorting which is located in config.rs

@stevezau
Copy link
Author

stevezau commented Sep 9, 2024

@lostb1t getting it setup now.. are you on discord or some way I can msg you?

@stevezau
Copy link
Author

stevezau commented Sep 9, 2024

@lostb1t started working on a PR here https://github.com/lostb1t/replex/pull/162/files

However, never used rust before so it is a struggle. Any help to shortcut this would be much appreciated.

@lostb1t
Copy link
Owner

lostb1t commented Sep 9, 2024

im under the same nickname on discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants