mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
fix empty title
This commit is contained in:
@@ -59,6 +59,10 @@ func torrentUpload(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if tor.Title == "" {
|
||||||
|
tor.Title = tor.Name()
|
||||||
|
}
|
||||||
|
|
||||||
if save {
|
if save {
|
||||||
torr.SaveTorrentToDB(tor)
|
torr.SaveTorrentToDB(tor)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user