Author Topic: Migrate from uTorrent to qBittorrent easily  (Read 79180 times)

mzso

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Migrate from uTorrent to qBittorrent easily
« Reply #120 on: November 09, 2017, 04:26:41 pm »
TriAnMan: Guys, I've fixed the thing - there was a problem with announce-list items.
Take the code here: https://gist.github.com/Cyberthing/cb49cc19cc5609f3db61

Thanks for the fix!
I'll update the first post as soon as I have some time.

since no update on first post i compiled it - it worked for me

https://drive.google.com/file/d/0B1UBcGJqDzc5S2E0aUVxMlJZa1U/view?usp=sharing

idk  programming or anything but something wouldn't compile when used in the paths presented in the script so i had to use my filepath  - hope this works

tested from utorrent 226 to qbt 334

still same usage as in original post

So does this add them as paused or running? The former would be a safer approach.
« Last Edit: November 09, 2017, 04:42:30 pm by mzso »

mzso

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Migrate from uTorrent to qBittorrent easily
« Reply #121 on: November 09, 2017, 04:30:20 pm »
The safer way:
copy and paste tracker to each...

Another but more technical way:
mass copy the magnet links and paste them into a text editor.
Use find and replace to add the private tracker to the links.
copy and paste the links to qbt.
trackers will be merged for any torrent that has been detected as public.

The messy way:
Backup the .torrent files and remove them from the list keeping the files downloaded.
In options > bittorrent > add the private tracker to that auto add box
Now when you re-add the .torrent, the private tracker would be added. (That's if qbt detects the .torrent as public)
Remove the tracker from options when you're done.
Please note that you will lose any custom locations, category info. and so on. Be carefully... Test a few to understand what's going on.

So I guess this means there's no mass tracker edit feature for torrents? (I don't see any in the latest version either)
A huge blow because sometimes private trackers change, and changing a hundred torrents or more manually is quite brutal.

rumanzo

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Migrate from uTorrent to qBittorrent easily
« Reply #122 on: December 29, 2017, 07:52:34 pm »
So I guess this means there's no mass tracker edit feature for torrents? (I don't see any in the latest version either)
A huge blow because sometimes private trackers change, and changing a hundred torrents or more manually is quite brutal.
Recently I have been training in golang programming. I can write a program (cli) for this purpose

UPD
I was bored. If there are errors, write to me.
Just do not forget to backup the directory %LOCALAPPDATA%\qBittorrent\BT_backup and close qBittorrent
https://qbforums.shiki.hu/index.php/topic,5625.msg27222.html#msg27222
https://bitbucket.org/rumanzo/qbtchangetracker/overview
https://bitbucket.org/rumanzo/qbtchangetracker/downloads/qbtchangetracker_x86_64.exe
https://bitbucket.org/rumanzo/qbtchangetracker/downloads/qbtchangetracker_i386.exe
« Last Edit: December 30, 2017, 08:49:45 pm by rumanzo »

aaaa1234

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Migrate from uTorrent to qBittorrent easily
« Reply #123 on: January 08, 2018, 04:54:20 pm »
Hi,

I have a problem using this, and I could not solve it at all.

I ran the command: ut2gt.exe "c:\Users\*****\AppData\Roaming\uTorrent\Resume.dat" "c:\users\*****\AppData\Local\qBittorrent\BT_backup"
where ***** is my user.

and I get this error: FATAL ERROR: Failed to get temp file name.

Any idea? I appreciate the help :) as i want to move away from utorrent piece of junk.

rumanzo

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Migrate from uTorrent to qBittorrent easily
« Reply #124 on: January 15, 2018, 10:28:27 pm »
Anyone understand how it works? Author not active.

I rewrite part with res['have'].unpack('b*').first.scan(/./).map {|i| (i.to_i(2)*1) }.pack('C'*npieces) on golang, but it's not work.

Utorrent field resume["have"] not relevant to output field pieces such (it's hex)
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 f0 ff ff 0f       |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 f8 ff    |................|
00000050  ff ff 0f 00 00 00 00 00  00 00                                  |..........|

really must be

00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 0f ff ff f0       |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 1f ff     |................|
00000050  ff ff f0 00 00 00 00 00  00 00                                  |..........|

And if I slightly adapt the original resume["have"], it's works, but it's trial and error method (can't find any info). But ruby tool convert it relatively correctly (i don't know why). I wanted to unpack the original exe (its packed with ruby ocra), but I did not find a way to do this.

My func on golang look like:
func piecesconvert(s string, npieces *int) []byte {
   var newpieces  = make([]byte, 0 , *npieces)
   for _, c := range []byte(s) {
      var binString string
      binString = fmt.Sprintf("%s%.8b", binString, c)
      for _, d := range binString {
         if len(newpieces) == cap(newpieces) { break }
         chr, _ := strconv.Atoi(string(d))
         newpieces = append(newpieces, byte(chr))
      }
   }
   return newpieces
}

it's return correct byte string, but it's not valid in qtorrent (because utorrent\bittorrent 3.x\7.8 save data in special way, i guess).

Anybody help?

mzso

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Migrate from uTorrent to qBittorrent easily
« Reply #125 on: January 22, 2018, 10:17:34 am »
So I guess this means there's no mass tracker edit feature for torrents? (I don't see any in the latest version either)
A huge blow because sometimes private trackers change, and changing a hundred torrents or more manually is quite brutal.
Recently I have been training in golang programming. I can write a program (cli) for this purpose

UPD
I was bored. If there are errors, write to me.
Just do not forget to backup the directory %LOCALAPPDATA%\qBittorrent\BT_backup and close qBittorrent
https://qbforums.shiki.hu/index.php/topic,5625.msg27222.html#msg27222
https://bitbucket.org/rumanzo/qbtchangetracker/overview
https://bitbucket.org/rumanzo/qbtchangetracker/downloads/qbtchangetracker_x86_64.exe
https://bitbucket.org/rumanzo/qbtchangetracker/downloads/qbtchangetracker_i386.exe
Thanks. This'll come handy sometime for sure.