Skip to content

Commit 357033d

Browse files
committed
fix: building with notify only
While (#562) implemented conditional compilation for notify without streaming the used function seems to be deprecated with &track out of scope. Replacing it with Self::notify_new_track(&track, &path)?; fixes the issue.
1 parent d1c20f7 commit 357033d

File tree

1 file changed

+1
-1
lines changed
  • spotify_player/src/client

1 file changed

+1
-1
lines changed

spotify_player/src/client/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ impl Client {
16661666

16671667
#[cfg(all(feature = "notify", not(feature = "streaming")))]
16681668
if configs.app_config.enable_notify {
1669-
Self::notify_new_track(&track, &path)?;
1669+
Self::notify_new_playback(&curr_item, &path)?;
16701670
}
16711671

16721672
Ok(())

0 commit comments

Comments
 (0)