0.1.66 upd
This commit is contained in:
parent
4f0606167f
commit
4d44f8b3e5
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "itunesdb"
|
name = "itunesdb"
|
||||||
version = "0.1.65"
|
version = "0.1.66"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["alterwain"]
|
authors = ["alterwain"]
|
||||||
|
|
||||||
|
@ -254,6 +254,16 @@ impl XDatabase {
|
|||||||
return n + 1;
|
return n + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if let XSomeList::Playlists(playlists) = &mut self.find_dataset(2).child {
|
||||||
|
for playlist in playlists {
|
||||||
|
if playlist.data.is_master_playlist_flag != 0 {
|
||||||
|
let a = playlist.args.iter().filter(|s| matches!(s, RawArgument(b))).last().unwrap();
|
||||||
|
if let RawArgument(b) = a {
|
||||||
|
return u32::from_le_bytes([b[12], b[13], b[14], b[15]]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
1
|
1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user