replex icon indicating copy to clipboard operation
replex copied to clipboard

Can you re order the collections on home?

Open stevezau opened this issue 1 year ago • 11 comments

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..

stevezau avatar Jul 14 '24 06:07 stevezau

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 avatar Jul 14 '24 08:07 lostb1t

@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

stevezau avatar Jul 14 '24 08:07 stevezau

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.

lostb1t avatar Jul 14 '24 08:07 lostb1t

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?

stevezau avatar Jul 14 '24 08:07 stevezau

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)

lostb1t avatar Jul 14 '24 08:07 lostb1t

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

jl94x4 avatar Jul 14 '24 15:07 jl94x4

@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!

stevezau avatar Sep 07 '24 04:09 stevezau

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

lostb1t avatar Sep 07 '24 06:09 lostb1t

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

stevezau avatar Sep 09 '24 04:09 stevezau

@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.

stevezau avatar Sep 09 '24 07:09 stevezau

im under the same nickname on discord

lostb1t avatar Sep 09 '24 07:09 lostb1t