diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-01 18:53:37 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-01 18:53:37 +0200 |
| commit | ed9682c977fb0cc5d94f4ac653e3fbb514bd8ecc (patch) | |
| tree | fc588216fc8419ff86482dcb48a446f6058af34a /spotify.go | |
| parent | db21d2ec6980e31a2e9a0db60eb2fdad83b33671 (diff) | |
| download | WRMS-ed9682c977fb0cc5d94f4ac653e3fbb514bd8ecc.tar.gz WRMS-ed9682c977fb0cc5d94f4ac653e3fbb514bd8ecc.zip | |
introduce Player interface to allow multiple player implementations
Diffstat (limited to 'spotify.go')
| -rw-r--r-- | spotify.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ func NewSpotify(config *SpotifyConfig) (*SpotifyBackend, error) { func (_ *SpotifyBackend) OnSongFinished(*Song) {} -func (spotify *SpotifyBackend) Play(song *Song, player *Player) { +func (spotify *SpotifyBackend) Play(song *Song, player Player) { trackID := song.Uri session := spotify.session llog.Debug("Loading track for play: %v", trackID) |
