mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
remove rutor from dn
This commit is contained in:
@@ -91,6 +91,7 @@ func addTorrent(req torrReqJS, c *gin.Context) {
|
|||||||
|
|
||||||
if tor.Title == "" {
|
if tor.Title == "" {
|
||||||
tor.Title = torrSpec.DisplayName // prefer dn over name
|
tor.Title = torrSpec.DisplayName // prefer dn over name
|
||||||
|
tor.Title = strings.ReplaceAll(tor.Title, "rutor.info", "")
|
||||||
if tor.Title == "" {
|
if tor.Title == "" {
|
||||||
tor.Title = tor.Name()
|
tor.Title = tor.Name()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user