From e7e9e811092e0ad1f738c934820115e14f6e5e6a Mon Sep 17 00:00:00 2001 From: sarendsen Date: Fri, 31 May 2024 11:52:50 +0200 Subject: [PATCH] fix: try fix android --- Makefile | 2 +- src/transform.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 31e82ae..c4a1c93 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/src/transform.rs b/src/transform.rs index 11c50f0..f30c265 100644 --- a/src/transform.rs +++ b/src/transform.rs @@ -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() }