Skip to content

Commit

Permalink
use PascalCase and print found ancestors
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiicall committed Jul 30, 2024
1 parent 1c2e0ec commit 32de72e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions jellyfin-rpc/src/jellyfin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ pub struct PlayState {
}

#[derive(Deserialize, Debug)]
#[serde(rename_all = "PascalCase")]
pub struct Item {
pub name: Option<String>,
}
2 changes: 2 additions & 0 deletions jellyfin-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ impl Client {
.send()?
.json()?;

debug!("Ancestors: {:?}", ancestors);

Ok(ancestors)
}

Expand Down

0 comments on commit 32de72e

Please sign in to comment.