Skip to content

Commit ae906a8

Browse files
committed
tweak: Add tracks to the start of a playlist
1 parent b11bb0b commit ae906a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/publishers/spotify.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ impl SpotifyClient {
8686
format!("playlists/{}/tracks", playlist_id.to_string()),
8787
Some(serde_json::json!({
8888
"uris": track_uris,
89+
"position": 0,
8990
})),
9091
)
9192
.await?;

0 commit comments

Comments
 (0)