lostb1t / replex

Remix your Plex hubs
204 stars 7 forks source link

Can you re order the collections on home? #135

Open stevezau opened 2 months ago

stevezau commented 2 months ago

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 commented 2 months ago

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.

stevezau commented 2 months ago

@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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 1 week ago

@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 commented 1 week ago

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 commented 6 days ago

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

stevezau commented 6 days ago

@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 commented 6 days ago

im under the same nickname on discord