mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
use url stream params
This commit is contained in:
@@ -198,10 +198,17 @@ func streamNoAuth(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if title == "" {
|
||||||
title = tor.Title
|
title = tor.Title
|
||||||
|
}
|
||||||
|
if poster == "" {
|
||||||
poster = tor.Poster
|
poster = tor.Poster
|
||||||
data = tor.Data
|
}
|
||||||
|
if category == "" {
|
||||||
category = tor.Category
|
category = tor.Category
|
||||||
|
}
|
||||||
|
|
||||||
|
data = tor.Data
|
||||||
|
|
||||||
if tor.Stat == state.TorrentInDB {
|
if tor.Stat == state.TorrentInDB {
|
||||||
tor, err = torr.AddTorrent(spec, title, poster, data, category)
|
tor, err = torr.AddTorrent(spec, title, poster, data, category)
|
||||||
|
|||||||
Reference in New Issue
Block a user