0.1.53 upd

This commit is contained in:
Michael Wain 2025-02-17 20:25:52 +03:00
parent db8770c84b
commit 0730c853fc
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "itunesdb"
version = "0.1.52"
version = "0.1.53"
edition = "2021"
authors = ["alterwain"]

View File

@ -252,7 +252,9 @@ impl XDatabase {
let playlist = playlist.unwrap();
playlist.data.playlist_item_count += 1;
let pl_item = PlaylistItem::new(track.data.unique_id, rand::random());
playlist.elems.push((pl_item, vec![RawArgument(vec![ 0x6D, 0x68, 0x6F, 0x64, 0x18, 0x0, 0x0, 0x0, 0x88, 0x02, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82, 0x00, 0x03, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00])]));
let mut raw: Vec<u8> = vec![ 109,104,111,100,24,0,0,0,44,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ];
raw[24] = pl_item.group_id as u8;
playlist.elems.push((pl_item, vec![RawArgument(raw)]));
}
}