Documentation ¶
Index ¶
- func ClonePlaylist(client spotify.Client, sourcePlaylist spotify.ID, newName string) error
- func NoTotoAfrica(client spotify.Client) error
- func Purge(client spotify.Client, start time.Time, end time.Time, pid spotify.ID) error
- func SortBy(client spotify.Client, sourcePlaylist spotify.ID, sortBy []SortRule) error
- type FeatureName
- type SortRule
- type TrackComplete
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClonePlaylist ¶
ClonePlaylist will clone the given playlist and name it with the given name
func NoTotoAfrica ¶
NoTotoAfrica will remove the track toto africa from every single playlist and libary for the given client.
Types ¶
type FeatureName ¶
type FeatureName string
FeatureName refer to Val function switch to a complete list
type SortRule ¶
type SortRule struct { Name FeatureName `json:"feature_name"` Descending bool `json:"descending"` }
SortRule Used to sort a playlist
type TrackComplete ¶
type TrackComplete struct { spotify.AudioFeatures spotify.FullTrack }
TrackComplete combines audioFeatures and full track data
Click to show internal directories.
Click to hide internal directories.