mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
remove fname
This commit is contained in:
@@ -620,7 +620,7 @@ func getTorrentJS(tor *settings.Torrent) (*TorrentJsonResponse, error) {
|
|||||||
js.AddTime = tor.Timestamp
|
js.AddTime = tor.Timestamp
|
||||||
js.Length = tor.Size
|
js.Length = tor.Size
|
||||||
//fname is fake param for file name
|
//fname is fake param for file name
|
||||||
js.Playlist = "/torrent/play?link=" + url.QueryEscape(tor.Magnet) + "&m3u=true&fname=" + utils.CleanFName(tor.Name+".m3u")
|
js.Playlist = "/torrent/play?link=" + url.QueryEscape(tor.Magnet) + "&m3u=true"
|
||||||
var size int64 = 0
|
var size int64 = 0
|
||||||
for _, f := range tor.Files {
|
for _, f := range tor.Files {
|
||||||
size += f.Size
|
size += f.Size
|
||||||
|
|||||||
Reference in New Issue
Block a user