Skip to content

Commit

Permalink
fix: try fix android
Browse files Browse the repository at this point in the history
  • Loading branch information
lostb1t committed May 31, 2024
1 parent 1550406 commit e7e9e81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ run:
REPLEX_FORCE_MAXIMUM_QUALITY=1 \
REPLEX_CACHE_ROWS=0 \
REPLEX_HERO_ROWS="home.movies.recent,movies.recent,movie.recentlyadded,movie.topunwatched,movie.recentlyviewed,hub.movie.recentlyreleased,home.television.recent,tv.inprogress,tv.recentlyaired" \
REPLEX_PORT=8080 \
REPLEX_PORT=8089 \
REPLEX_INCLUDE_WATCHED=0 \
REPLEX_REDIRECT_STREAMS=0 \
REPLEX_DISABLE_RELATED=0 \
Expand Down
3 changes: 2 additions & 1 deletion src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,13 +547,14 @@ impl ClientHeroStyle {
Platform::Android => {
match device_type {
DeviceType::Tv => {
// dbg!(context);
Self {
style: Some("hero".to_string()),
// clip wil make the item info disappear on TV
r#type: "clip".to_string(),
// using clip makes it load thumbs instead of art as cover art. So we don't have to touch the background
child_type: Some("clip".to_string()),
cover_art_as_art: false,
cover_art_as_art: true, // Home doesn't work correctly without.
cover_art_as_thumb: true,
..ClientHeroStyle::default()
}
Expand Down

1 comment on commit e7e9e81

@Zorro92
Copy link

@Zorro92 Zorro92 commented on e7e9e81 Jun 2, 2024

Choose a reason for hiding this comment

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

This seems to have fixed my artwork issues on Android tv, and maybe it's just because I haven't seen the horizontal artwork in a while but I swear it even looks better than before! Thank you!

Please sign in to comment.