diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-23 04:16:00 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-23 04:16:00 +0100 |
commit | e5712e82b369019457cf738a70ae97c67388cbc4 (patch) | |
tree | a3ab191ba5bfd1c900aaabb7e8535624630b7310 /import/src/trakt.rs | |
parent | 0318a9f925f2507200a5b9b714f20560b770d7b0 (diff) | |
download | jellything-e5712e82b369019457cf738a70ae97c67388cbc4.tar jellything-e5712e82b369019457cf738a70ae97c67388cbc4.tar.bz2 jellything-e5712e82b369019457cf738a70ae97c67388cbc4.tar.zst |
comments and minor changes
Diffstat (limited to 'import/src/trakt.rs')
-rw-r--r-- | import/src/trakt.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/import/src/trakt.rs b/import/src/trakt.rs index 1d7b8f7..08962c6 100644 --- a/import/src/trakt.rs +++ b/import/src/trakt.rs @@ -185,7 +185,7 @@ pub enum TraktPeopleGroup { Art, #[serde(rename = "crew")] Crew, - #[serde(rename = "costume & make-up")] + #[serde(rename = "costume & make-up")] //? they really use that in as a key?! CostumeMakeup, #[serde(rename = "directing")] Directing, @@ -258,10 +258,10 @@ pub struct TraktMediaObject { impl Display for TraktSearchResult { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.write_fmt(format_args!( - "{}: {} ({}) \x1b[2m[{}]\x1b[0m", - self.r#type.to_string(), + "{} ({}) \x1b[2m{} [{}]\x1b[0m", self.inner.inner().title, self.inner.inner().year.unwrap_or(0), + self.r#type.to_string(), self.inner.inner().ids )) } |