feat: Added stuff
Some checks failed
build / checks-matrix (push) Has been cancelled
build / codecov (push) Has been cancelled
docs / docs (push) Has been cancelled
build / checks-build (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-11-19 17:01:14 +05:30
parent 29674df85e
commit f41625e0ed
10 changed files with 271 additions and 151 deletions

View File

@@ -17,8 +17,16 @@ pub async fn main() {
for item in items {
println!("{}: {:?}", item.id, item.name);
let items = jellyfin.items(item.id).await.expect("Items");
for item in items {
println!(" {}: {:?}", item.id, item.name);
}
std::fs::write(
format!("items_{:?}.json", item.name),
serde_json::to_string_pretty(&items).expect("Serialize items"),
);
// for item in items {
// println!(" {}: {:?}", item.id, item.name);
// std::fs::write(
// format!("item_{}.json", item.id),
// serde_json::to_string_pretty(&item).expect("Serialize item"),
// );
// }
}
}