diff options
Diffstat (limited to 'upload.go')
| -rw-r--r-- | upload.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ func (b *UploadBackend) OnSongFinished(song *Song) { os.Remove(songPath) } -func (b *UploadBackend) Play(song *Song, player *Player) { +func (b *UploadBackend) Play(song *Song, player Player) { player.PlayUri("file://" + path.Join(b.uploadDir, song.Uri)) } |
