mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-08 21:37:58 -05:00
Add GetSimplePlaylist wrapper
This commit is contained in:
@@ -318,3 +318,7 @@ func TransferPlayback(deviceId spotify.ID) error {
|
||||
err = Client.PauseOpt(ctx(), &spotify.PlayOptions{DeviceID: &s.Device.ID})
|
||||
return Client.TransferPlayback(ctx(), deviceId, true)
|
||||
}
|
||||
|
||||
func GetSimplePlaylist(id *spotify.ID) (*spotify.FullPlaylist, error) {
|
||||
return Client.GetPlaylist(ctx(), *id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user