diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-02 00:48:07 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-02 00:48:07 +0200 |
commit | fdaa18968c5b3d923c93527efaeeb81cbd9b4d88 (patch) | |
tree | 4c449ed0ac8645aedae49ac45dfb710f0936bb1b /import/src/main.rs | |
parent | 68afc87797e25dca30ecb8d4f2c06edcc8c71b22 (diff) | |
download | jellything-fdaa18968c5b3d923c93527efaeeb81cbd9b4d88.tar jellything-fdaa18968c5b3d923c93527efaeeb81cbd9b4d88.tar.bz2 jellything-fdaa18968c5b3d923c93527efaeeb81cbd9b4d88.tar.zst |
in-memory cached seek index
Diffstat (limited to 'import/src/main.rs')
-rw-r--r-- | import/src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/import/src/main.rs b/import/src/main.rs index 1219d54..e04abe5 100644 --- a/import/src/main.rs +++ b/import/src/main.rs @@ -17,7 +17,7 @@ use jellycommon::{ NodePrivate, NodePublic, Rating, }; use jellymatroska::read::EbmlReader; -use jellyremuxer::{import::import_metadata, seek_index}; +use jellyremuxer::import::import_metadata; use log::{info, warn}; use rand::random; use std::{ @@ -372,7 +372,6 @@ fn main() -> anyhow::Result<()> { } std::os::unix::fs::symlink(&input, &source_path)?; } - seek_index::write_all(&source_path)?; } let f = File::create(path.join(if series { "directory.json" |