mirror of
https://github.com/rumanzo/bt2qbt.git
synced 2024-11-22 02:12:39 +01:00
Back scanls
fix Qbtcategory existing
This commit is contained in:
parent
d3fb9c545d
commit
b37e6e23ee
@ -129,7 +129,7 @@ type NewTorrentStructure struct {
|
||||
Peers6 string `bencode:"peers6"`
|
||||
Pieces []byte `bencode:"pieces"`
|
||||
QbthasRootFolder int64 `bencode:"qBt-hasRootFolder"`
|
||||
Qbtcategory string `bencode:"qBt-category"`
|
||||
Qbtcategory string `bencode:"qBt-category,omitempty"`
|
||||
Qbtname string `bencode:"qBt-name"`
|
||||
QbtqueuePosition int `bencode:"qBt-queuePosition"`
|
||||
QbtratioLimit int64 `bencode:"qBt-ratioLimit"`
|
||||
@ -492,7 +492,7 @@ func main() {
|
||||
color.Green("It will be performed processing from directory %v to directory %v\n", bitdir, qbitdir)
|
||||
color.HiRed("Check that the qBittorrent is turned off and the directory %v and config %v is backed up.\n\n", qbitdir, config)
|
||||
fmt.Println("Press Enter to start")
|
||||
//fmt.Scanln()
|
||||
fmt.Scanln()
|
||||
fmt.Println("Started")
|
||||
totaljobs := len(resumefile) - 2
|
||||
numjob := 1
|
||||
@ -555,5 +555,5 @@ func main() {
|
||||
cfg.SaveTo(config)
|
||||
}
|
||||
fmt.Println("\nPress Enter to exit")
|
||||
//fmt.Scanln()
|
||||
fmt.Scanln()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user