mirror of
https://github.com/rumanzo/bt2qbt.git
synced 2024-11-22 02:12:39 +01:00
Transfer torrent modified names. caption->qBt-name
This commit is contained in:
parent
f6b36ed9e9
commit
dc09cc458a
@ -208,6 +208,10 @@ func logic(key string, value map[string]interface{}, flags *Flags, chans *Channe
|
||||
} else {
|
||||
newstructure.Path = value["path"].(string)
|
||||
}
|
||||
// if torrent name was renamed, add modified name
|
||||
if value["caption"] != nil {
|
||||
newstructure.QbtName = value["caption"].(string)
|
||||
}
|
||||
newstructure.ActiveTime = value["runtime"].(int64)
|
||||
newstructure.AddedTime = value["added_on"].(int64)
|
||||
newstructure.CompletedTime = value["completed_on"].(int64)
|
||||
|
Loading…
Reference in New Issue
Block a user