1
0

Remove commented out go func() {}.

This commit is contained in:
Alexander Andreev 2024-05-13 01:13:05 +04:00
parent e2555d82e3
commit 40d2993b03
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -75,7 +75,6 @@ func (dj *DJHandlers) PlaylistNext(w http.ResponseWriter, _ *http.Request) {
}
}
// go func() {
oggf, err := oggtag.NewOggFile(nxt)
if err != nil {
log.Println("cannot read an OGG file", nxt, ":", err)
@ -119,7 +118,6 @@ func (dj *DJHandlers) PlaylistNext(w http.ResponseWriter, _ *http.Request) {
*dj.curSong = newSong
dj.curSong.Listeners = 0
dj.curSong.PeakListeners = 0
// }()
fmt.Fprintln(w, nxt)
}