remove fname

This commit is contained in:
YouROK
2020-05-25 19:56:11 +03:00
parent ce7f92aa47
commit afce7ca857

View File

@@ -7,7 +7,6 @@ import (
"server/settings" "server/settings"
"server/torr" "server/torr"
"server/utils"
) )
func MakeM3ULists(torrents []*settings.Torrent, host string) string { func MakeM3ULists(torrents []*settings.Torrent, host string) string {
@@ -24,7 +23,7 @@ func MakeM3ULists(torrents []*settings.Torrent, host string) string {
} }
magnet = url.QueryEscape(magnet) magnet = url.QueryEscape(magnet)
m3u += host + "/torrent/play?link=" + url.QueryEscape(magnet) + "&m3u=true&fname=" + utils.CleanFName(t.Name+".m3u") + "\n\n" m3u += host + "/torrent/play?link=" + url.QueryEscape(magnet) + "&m3u=true\n\n"
} }
return m3u return m3u
} }