diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-21 23:53:38 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-21 23:53:38 +0100 |
commit | fbe81537a258a0f8b087a5a21abd58fb9c8a4ee1 (patch) | |
tree | 3db5d41fa6a6380905dfb52c9e34b2436f0679f3 /common/src | |
parent | b127ee51925f59b306b032dbacc11464ed175a60 (diff) | |
download | jellything-fbe81537a258a0f8b087a5a21abd58fb9c8a4ee1.tar jellything-fbe81537a258a0f8b087a5a21abd58fb9c8a4ee1.tar.bz2 jellything-fbe81537a258a0f8b087a5a21abd58fb9c8a4ee1.tar.zst |
lazy image loading, person subtitles
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/lib.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index f16338b..d61532c 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -312,3 +312,21 @@ impl Display for ObjectIds { Ok(()) } } +impl Display for PeopleGroup { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + f.write_str(match self { + PeopleGroup::Cast => "Cast", + PeopleGroup::Writing => "Writing", + PeopleGroup::Directing => "Directing", + PeopleGroup::Art => "Art", + PeopleGroup::Sound => "Sound", + PeopleGroup::Camera => "Camera", + PeopleGroup::Lighting => "Lighting", + PeopleGroup::Crew => "Crew", + PeopleGroup::Editing => "Editing", + PeopleGroup::Production => "Production", + PeopleGroup::Vfx => "Visual Effects", + PeopleGroup::CostumeMakeup => "Costume & Makeup", + }) + } +} |