aboutsummaryrefslogtreecommitdiffstats
path: root/src/scrobbles.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/scrobbles.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrobbles.rs b/src/scrobbles.rs
index 07b1ad1..a6d4a54 100644
--- a/src/scrobbles.rs
+++ b/src/scrobbles.rs
@@ -10,7 +10,7 @@ pub async fn get_now_playing(
Ok(NowPlayingData::new(playingnow))
}
-#[derive(Serialize, Deserialize)]
+#[derive(Serialize, Deserialize, Default)]
pub struct NowPlayingData {
pub is_scrobbling: bool,
pub song: Option<String>,