mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
add log
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
bolt "go.etcd.io/bbolt"
|
bolt "go.etcd.io/bbolt"
|
||||||
|
"server/log"
|
||||||
"server/web/api/utils"
|
"server/web/api/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -86,7 +87,7 @@ func Migrate() {
|
|||||||
if len(spec.DisplayName) > len(title) {
|
if len(spec.DisplayName) > len(title) {
|
||||||
title = spec.DisplayName
|
title = spec.DisplayName
|
||||||
}
|
}
|
||||||
|
log.TLogln("Migrate torrent", torr.Name, torr.Hash, torr.Size)
|
||||||
AddTorrent(&TorrentDB{
|
AddTorrent(&TorrentDB{
|
||||||
TorrentSpec: spec,
|
TorrentSpec: spec,
|
||||||
Name: torr.Name,
|
Name: torr.Name,
|
||||||
|
|||||||
Reference in New Issue
Block a user