From eb76608e7287db4b26d877deccce138daee849da Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 21 May 2023 17:50:51 +0200 Subject: add OnSongFinished backend hook allowing to remove uploaded songs --- spotify.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spotify.go') diff --git a/spotify.go b/spotify.go index c07bad9..8a32fc6 100644 --- a/spotify.go +++ b/spotify.go @@ -49,6 +49,8 @@ func NewSpotify() (*SpotifyBackend, error) { return &spotify, nil } +func (_ *SpotifyBackend) OnSongFinished(*Song) {} + func (spotify *SpotifyBackend) Play(song *Song, player *Player) { trackID := song.Uri session := spotify.session -- cgit v1.2.3