This commit is contained in:
parent
5fd6fa433f
commit
384231c3d3
@ -1037,7 +1037,6 @@ func CreateRadioPlaylist(ctx *gctx.Context, client *spotify.Client) (*spotify.Fu
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
fmt.Println("PLAYLIST CREATED", playlist.ID)
|
||||
raw, err := json.MarshalIndent(playlist, "", " ")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
@ -80,8 +80,8 @@ type mainModel struct {
|
||||
}
|
||||
|
||||
func (m *mainModel) PlayRadio() {
|
||||
currentlyPlaying = m.list.SelectedItem().FilterValue()
|
||||
m.list.NewStatusMessage("Playing " + currentlyPlaying)
|
||||
currentlyPlaying = m.list.SelectedItem().(mainItem).Title()
|
||||
m.list.NewStatusMessage("Starting radio for " + currentlyPlaying)
|
||||
selectedItem := m.list.SelectedItem().(mainItem).SpotifyItem
|
||||
switch selectedItem.(type) {
|
||||
case spotify.SimplePlaylist:
|
||||
|
Loading…
Reference in New Issue
Block a user