From 32e5e37dd300bbed9a1021ba52be08aea9e5fd3c Mon Sep 17 00:00:00 2001 From: "alterwain@protonmail.com" Date: Sat, 15 Feb 2025 22:18:13 +0300 Subject: [PATCH] 0.1.31 upd --- Cargo.toml | 2 +- src/artworkdb.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1b8c7a4..555028f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "itunesdb" -version = "0.1.30" +version = "0.1.31" edition = "2021" authors = ["alterwain"] diff --git a/src/artworkdb.rs b/src/artworkdb.rs index 8749571..269202c 100644 --- a/src/artworkdb.rs +++ b/src/artworkdb.rs @@ -62,6 +62,7 @@ pub mod deserializer { let mut bytes = Vec::new(); let str_end = u32::from_le_bytes(data[i+12..i+16].try_into().unwrap()) as usize; let mut h = i+24; + u += 12 + str_end; while h < i+24+str_end { bytes.push(u16::from_le_bytes(data[h..h+2].try_into().unwrap())); h+=2;