fix non-Mac build
This commit is contained in:
@@ -5,10 +5,10 @@ package backend
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/dweymouth/supersonic/player"
|
"github.com/dweymouth/supersonic/player/mpv"
|
||||||
)
|
)
|
||||||
|
|
||||||
func InitMPMediaHandler(player *player.Player, playbackManager *PlaybackManager, artURLLookup func(trackID string) (string, error)) error {
|
func InitMPMediaHandler(player *mpv.Player, playbackManager *PlaybackManager, artURLLookup func(trackID string) (string, error)) error {
|
||||||
// MPMediaHandler only supports macOS.
|
// MPMediaHandler only supports macOS.
|
||||||
return errors.New("unsupported platform")
|
return errors.New("unsupported platform")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user