diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-12-12 01:59:38 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-12-12 01:59:38 +0100 |
| commit | 3661af07620caad1bfa46fa6902054797433fc0f (patch) | |
| tree | 2ac2d68b06d16bf0f0a2242ad1e00905ef50006d /import/src/plugins/trakt.rs | |
| parent | 9289a82e262e4acc58b37ba7e0fc29f85cb1ba7c (diff) | |
| download | jellything-3661af07620caad1bfa46fa6902054797433fc0f.tar jellything-3661af07620caad1bfa46fa6902054797433fc0f.tar.bz2 jellything-3661af07620caad1bfa46fa6902054797433fc0f.tar.zst | |
Custom import thread count and fixes
Diffstat (limited to 'import/src/plugins/trakt.rs')
| -rw-r--r-- | import/src/plugins/trakt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/import/src/plugins/trakt.rs b/import/src/plugins/trakt.rs index 48a97ae..1268e56 100644 --- a/import/src/plugins/trakt.rs +++ b/import/src/plugins/trakt.rs @@ -409,14 +409,14 @@ impl ImportPlugin for Trakt { Ok(()) } fn process(&self, ct: &ImportContext, node: NodeID, data: &Node) -> Result<()> { - self.process_show(ct, node, data)?; + self.process_primary(ct, node, data)?; self.process_episode(ct, node, data)?; Ok(()) } } impl Trakt { - fn process_show(&self, ct: &ImportContext, node: NodeID, data: &Node) -> Result<()> { + fn process_primary(&self, ct: &ImportContext, node: NodeID, data: &Node) -> Result<()> { let (trakt_kind, trakt_id): (_, u64) = if let Some(id) = data.identifiers.get(&IdentifierType::TraktShow) { (TraktKind::Show, id.parse()?) |