Skip to content

Feat: Horizontal posters for search and recommendations. - #3144

Open
ByAyzen wants to merge 7 commits into
recloudstream:masterfrom
ByAyzen:ishorizontal-search-rec
Open

ByAyzen wants to merge 7 commits into
recloudstream:masterfrom
ByAyzen:ishorizontal-search-rec

Conversation

@ByAyzen

@ByAyzen ByAyzen commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Since horizontal posters were only available on the main page, I wanted to bring this support to the search and recommendations sections as well. To not break multi search, I disabled it there and only applied it to extension search. I also used @prerelease tag to be sure it doesn't break the stable version.

Parameters for implementing to extensions:

@Prerelease
open val hasHorizontalSearch: Boolean = false
@Prerelease
open val hasHorizontalRecommendations: Boolean = false

I'm not completely sure about these two parameters because they can feel confusing; I can agree to change them. I could place them directly into search and new*****LoadResponse similar to how mainpage does it.

EDIT: These two parameter changed and become isHorizontalImages.

AI Usage

I used AI for implementing this idea. After that, I checked and cleaned up the issues.

Tests

I tested on both prerelease and debug versions. Tested for 2 days and didn't had any problems.

**Two comparison images below;

Search
Recommendation

@fire-light42 fire-light42 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good feature, but needs more @Prerelease annotations and a small change in MainAPI 👍

Comment thread library/src/commonMain/kotlin/com/lagradost/cloudstream3/MainAPI.kt Outdated
Comment thread library/src/commonMain/kotlin/com/lagradost/cloudstream3/MainAPI.kt Outdated
@ByAyzen
ByAyzen force-pushed the ishorizontal-search-rec branch from a9892dd to a278130 Compare September 28, 2026 20:15
@ByAyzen
ByAyzen force-pushed the ishorizontal-search-rec branch from a278130 to b4a51c7 Compare September 28, 2026 20:17

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants