Skip to content

Commit 3ba42e9

Browse files
committed
feat: add option to disable interleave
1 parent 6e752d0 commit 3ba42e9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Settings are set via [environment variables](https://kinsta.com/knowledgebase/wh
7676
| REPLEX_INTERLEAVE | true | Interleave home
7777
recommendations. Rows from sifferent sections are interlewved into one. |
7878
| REPLEX_HERO_ROWS | | Comma seperated list of hubidentifiers to make hero style, options are: <br />home.movies.recent<br />movies.recent <br />movie.recentlyadded<br />movie.topunwatched<br />movie.recentlyviewed<br />hub.movie.recentlyreleased<br />movie.recentlyreleased<br />home.television.recent<br />tv.recentlyadded<br />tv.toprated<br />tv.inprogress<br />tv.recentlyaired |
79-
| REPLEX_EXCLUDE_WATCHED | false | If set to true, hide watched items for recommended rows |
79+
| REPLEX_EXCLUDE_WATCHED | true | If set to true, hide watched items for recommended rows |
8080
| REPLEX_DISABLE_CONTINUE_WATCHING | false | Disable/remove the continue watching row |
8181
| REPLEX_DISABLE_USER_STATE | false | Remove unplayed badges from row items |
8282
| REPLEX_DISABLE_LEAF_COUNT| false | Remove episode count label from show artwork. |
@@ -87,11 +87,11 @@ recommendations. Rows from sifferent sections are interlewved into one.
8787
| REPLEX_DISABLE_RELATED | false | See: https://github.com/lostb1t/replex/issues/26. |
8888
| REPLEX_REDIRECT_STREAMS | false | Redirect streams to another endpoint. |
8989
| REPLEX_REDIRECT_STREAMS_HOST | REPLEX_HOST | Alternative streams endpoint |
90-
| REPLEX_CACHE_TTL | 1800 | Time to live for caches in seconds. Set to 0 to disable (not recommended). |
90+
| REPLEX_CACHE_TTL | 1800 | Time to live for general caches in seconds. Set to 0 to disable (higly recommended to keep enabled besides testing purposes). |
9191
92-
## Mixed rows
92+
## Interleaved rows
9393
94-
Custom collections with the same name from different libraries will be merged into one on the home screen,
94+
Collections with the same name from different libraries will be merged into one on the home screen.
9595
So an collection named "Trending" in the Movie library will be merged with an collection named "Trending" from a shows library on home.
9696
9797
Note, this does not work on builtin recommendations. As i personally dont see then need of mixing those.

src/transform.rs

+1
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ impl Transform for HubInterleaveTransform {
369369
if hub.size.unwrap() == 0 {
370370
continue;
371371
}
372+
372373
// we only process collection hubs
373374
if !hub.is_collection_hub() {
374375
new_hubs.push(hub.to_owned());

0 commit comments

Comments
 (0)