From c836b650eaf4ba33b1cfd2b475971b3ccc9f69b7 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 15 Jan 2026 02:57:31 +0100 Subject: new update_node_init --- import/src/plugins/infojson.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'import/src/plugins/infojson.rs') diff --git a/import/src/plugins/infojson.rs b/import/src/plugins/infojson.rs index 3aac3ec..fd15e03 100644 --- a/import/src/plugins/infojson.rs +++ b/import/src/plugins/infojson.rs @@ -4,11 +4,9 @@ Copyright (C) 2026 metamuffin */ use anyhow::{Context, Result, anyhow}; +use chrono::{Utc, format::Parsed}; use jellycache::cache_read; -use jellycommon::{ - IdentifierType, NodeID, NodeKind, RatingType, - chrono::{Utc, format::Parsed}, -}; +use jellydb::table::RowNum; use jellyremuxer::matroska::{AttachedFile, Segment}; use log::info; use serde::{Deserialize, Serialize}; @@ -168,7 +166,7 @@ impl ImportPlugin for Infojson { ..Default::default() } } - fn file(&self, ct: &ImportContext, parent: NodeID, path: &Path) -> Result<()> { + fn file(&self, ct: &ImportContext, parent: RowNum, path: &Path) -> Result<()> { let filename = path.file_name().unwrap().to_string_lossy(); if filename != "channel.info.json" { return Ok(()); -- cgit v1.3