qbittorrent-torrents-exporter icon indicating copy to clipboard operation
qbittorrent-torrents-exporter copied to clipboard

exported .torrent naming scheme

Open Beersteddy opened this issue 1 year ago • 2 comments

Current behavior:

  • exported .torrent files for torrents with single files in them (not containing any directory structure) are named without corresponding extensions.

Example torrent with only one file "linux.iso" is exported as: /export/path/category/[tag]Linux.torrent

actually should be named: /export/path/categgory/[tag]Linux.iso.torrent as this is the full name in the torrent info

 "info" : {
  "length" : 12345678,
  "name" : "Linux.iso"

Beersteddy avatar May 08 '23 11:05 Beersteddy

Hi, I have tested the ubuntu image torrent file from https://ubuntu.com/download/alternative-downloads with qBittorrent v4.4.3.1 & latest release (v0.3.5-windows x64), and it seems to be working properly.

图片


PS D:\Downloads\Compressed\qbittorrent-torrents-exporter-v0.3.5-windows-amd64> .\qbittorrent-torrents-exporter.exe
BT_backup check PASS. It has 4 files, the 1st is 182abb1cff01dfb0a9cd3d75fbb4a4f69ddebf16.fastresume with the size of 23197
github.com/ludoux/qbittorrent-torrents-exporter v0.3.5
qBittorrent host url(ex http://127.0.0.1:6363 ):http://127.0.0.1:8080
qBittorrent username:
qBittorrent password:
get torrents: 1~2
==汇总/Summary==
种子总数/Torrents Count: 2
Trackers(2):
.
├─*HIDE*(1)
└─ubuntu.com(1)

保存目录/Save Paths(1): . └─D:\torrent(2)

分类/Categories(1): . └─(2)

标签/Tags(1): . └─(2)

===SetFilter===

pathFilter: [0]D:\torrent(2) 输入筛选项序号,以英文逗号分割。留空表示选择全部/Enter the filter item number, separated by commas. Leave blank to select all.

trackerHostFilter: [0]m-team.cc(1) [1]ubuntu.com(1) 输入筛选项序号,以英文逗号分割。留空表示选择全部/Enter the filter item number, separated by commas. Leave blank to select all.

categoryFilter: 0 输入筛选项序号,以英文逗号分割。留空表示选择全部/Enter the filter item number, separated by commas. Leave blank to select all.

tagFilter: 0 输入筛选项序号,以英文逗号分割。留空表示选择全部/Enter the filter item number, separated by commas. Leave blank to select all.

给导出的任务打tag?留空表示无需/To append tag for the exported torrents? Leave blank to ignore.

即将导出... Done: export/D##torrent/HIDE/ [][pausedUP]windows_11_version_22h2_updated_april_2023.torrent [qB4.4.x trackers fixed] Done: export/D##torrent/ubuntu.com/ [][pausedDL]ubuntu-22.04.2-desktop-amd64.iso.torrent [qB4.4.x trackers fixed] Done.

  • Could you try what I have done above,and will the same problem occur? If it does, what's your qB version.
  • Is there anything special of your environment? For example, multi qB tasks with a same name, or the export folder is not empty before the exporter runs.

Thank you ^_^

ludoux avatar May 09 '23 12:05 ludoux

Apologies but I'm not gonna be able to test it. Just finished migration from qbit to TM completely, and wiped out qbit completely. Whatever wasn't exported properly, I just did it manually, then rechecked.

Beersteddy avatar May 09 '23 21:05 Beersteddy