diff --git a/jellyfin-rpc/src/jellyfin.rs b/jellyfin-rpc/src/jellyfin.rs index 4d97aad..4d65a98 100644 --- a/jellyfin-rpc/src/jellyfin.rs +++ b/jellyfin-rpc/src/jellyfin.rs @@ -327,6 +327,7 @@ pub struct PlayState { } #[derive(Deserialize, Debug)] +#[serde(rename_all = "PascalCase")] pub struct Item { pub name: Option, } diff --git a/jellyfin-rpc/src/lib.rs b/jellyfin-rpc/src/lib.rs index e6407b7..537423b 100644 --- a/jellyfin-rpc/src/lib.rs +++ b/jellyfin-rpc/src/lib.rs @@ -501,6 +501,8 @@ impl Client { .send()? .json()?; + debug!("Ancestors: {:?}", ancestors); + Ok(ancestors) }