use url stream params

This commit is contained in:
nikk gitanes
2024-06-14 01:30:17 +03:00
parent 9a1707ce3c
commit 8dfb5ea687

View File

@@ -198,10 +198,17 @@ func streamNoAuth(c *gin.Context) {
return
}
title = tor.Title
poster = tor.Poster
if title == "" {
title = tor.Title
}
if poster == "" {
poster = tor.Poster
}
if category == "" {
category = tor.Category
}
data = tor.Data
category = tor.Category
if tor.Stat == state.TorrentInDB {
tor, err = torr.AddTorrent(spec, title, poster, data, category)