Updated README and fixed a TMDB parsing bug for movie details

This commit is contained in:
2023-08-08 10:50:04 -06:00
parent a304367e0e
commit 2cb4cd3eee
13 changed files with 111 additions and 6 deletions
-3
View File
@@ -131,16 +131,13 @@ pub enum ActiveRadarrBlock {
CollectionDetails,
Cast,
Crew,
Events,
FileInfo,
Logs,
Movies,
MovieDetails,
MovieHistory,
Downloads,
SearchMovie,
SortOptions,
Tasks,
ViewMovieOverview,
}
+7
View File
@@ -12,6 +12,13 @@ pub mod radarr_models;
pub enum Route {
Radarr(ActiveRadarrBlock),
Sonarr,
Readarr,
Lidarr,
Whisparr,
Bazarr,
Prowlarr,
Overseerr,
Tautulli,
}
pub trait Scrollable {
+1 -1
View File
@@ -175,7 +175,7 @@ impl<'a> Network<'a> {
let tmdb_rating = if let Some(rating) = ratings.tmdb {
if let Some(value) = rating.value.as_f64() {
format!("{}%", value * 10f64)
format!("{}%", (value * 10f64).ceil())
} else {
"".to_owned()
}