You are not logged in.

#1 2015-06-24 01:12:20

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Transfer torrents qBittorrent>rtorrent, preserving directory info?

I would like to transfer torrents from qBittorrent to r(u)torrent.  I understand that I can set a "watch" folder for rtorrent, and this works as expected. So I can copy the .torrent files from the qBittorrent directory to the rtorrent "watched" folder. However, in qBittorrent I have different torrents saved to different locations.  E.g., I have a Tron torrent where the data is located in /movies/Tron/, and a Bob Marley torrent located in /music/Bob Marley/.

I can see that qBittorrent seems to store the directory information in a TORRENTID.fastresume file, with the same prefix as the TORRENTID.torrent file.  rtorrent, in its sessions directory, stores the torrent directory information in a TORRENTID.torrent.rtorrent file.  But the structure of qBittorrent's .fastresume files and rtorrent's .torrent.rtorrent files is not the same, so I can't simply rename the qBittorrent files. Further, when I try manually editing the location in a .torrent.rtorrent file, rtorrent seems to ignore this and eventually write the file.

I feel that there must be some way of transferring torrents from qBittorrent to rtorrent, preserving the (potentially unique) location of the data for each torrent.

Offline

#2 2015-06-24 08:07:21

pyroscope
Member
Registered: 2011-03-11
Posts: 33
Website

Re: Transfer torrents qBittorrent>rtorrent, preserving directory info?

Write a script that parses that information, then loads the metafile and calls set_directory via xmlrpc, for each item.

Offline

#3 2015-06-24 23:14:35

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: Transfer torrents qBittorrent>rtorrent, preserving directory info?

pyroscope wrote:

Write a script that parses that information, then loads the metafile and calls set_directory via xmlrpc, for each item.

Can you point me to more info on the " calls set_directory via xmlrpc" bit?

Offline

Board footer

Powered by FluxBB