mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
fix m3u file no auth
This commit is contained in:
@@ -188,7 +188,7 @@ func streamNoAuth(c *gin.Context) {
|
|||||||
index = ind
|
index = ind
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if index == -1 { // if file index not set and play file exec
|
if index == -1 && play { // if file index not set and play file exec
|
||||||
c.AbortWithError(http.StatusBadRequest, errors.New("\"index\" is empty or wrong"))
|
c.AbortWithError(http.StatusBadRequest, errors.New("\"index\" is empty or wrong"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user