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