diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-31 18:17:44 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-31 18:17:44 +0200 |
| commit | 157867933ff77037555983eb9c085e8e9471a348 (patch) | |
| tree | 92d533f346a5d72116405a9255e03312c3419641 /player.go | |
| parent | 1e74e284c06a099b3917e932886da4549faab950 (diff) | |
| download | WRMS-157867933ff77037555983eb9c085e8e9471a348.tar.gz WRMS-157867933ff77037555983eb9c085e8e9471a348.zip | |
bumble up a possible error creating the upload directory
Diffstat (limited to 'player.go')
| -rw-r--r-- | player.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ func NewMpvPlayer(wrms *Wrms, backends []string) *MpvPlayer { case "local": b = NewLocalBackend(wrms.Config.LocalMusicDir) case "upload": - b = NewUploadBackend(wrms.Config.UploadDir) + b, err = NewUploadBackend(wrms.Config.UploadDir) default: llog.Error("Not supported backend %s", backend) } |
