qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.04k stars 3.89k forks source link

TV shows automatic organizer #14846

Open MrZed001 opened 3 years ago

MrZed001 commented 3 years ago

qBittorrent version and Operating System

v4.3.4.1, Windows x64

What is the problem

Many download TV shows and need to put them manually under show folder (or set category, subcategory ... and even then it is messy) A very easy task to be automated. And a big feature.

What is the expected behavior

The scene has very strict regulations in TV show file and folder naming tv.show.name.s[0]1e[0]4[.episode.name].(resolution)....

A new built-in category like "TV show" or "Show-organizer" could be a solution. If assigned to torrent then

Only by assigning this category you can have a clean TV show folder with all your shows organized. And so the following dir structure (every season example) will be built, without the user need to manual change anything:

TV shows

Possible new features based on this feature:

To the "Automatically add torrents from" feature add a separate "Automatically add TV show torrents from" subdir All torrents copied into this dir automatically get the TV show category (and its files and folders organised like setting it manually)

FranciscoPombal commented 3 years ago

Sounds more like something that's too domain-specific and should be implemented as a custom script to be run with Preferences -> Downloads -> Run external program on completion

MrZed001 commented 3 years ago

After completion yes, a very simple program in any language could easily organise and move the TV torrent files to the desired structure ... only that would mean that this torrent is no longer seeding. Extreme contra productive result.

Yes, it is specific. But very VERY big part of the torrent's downloaded are TV Shows. Users ask for this feature for a decade. The scene supports it too, has strict naming regulations.

Lazy users throw everything somewhere and then forgot about it, deleting downloaded files, etc. In most cases the users download dir is a big mess. A pile of junk.

Also heavy users like it organised (the "whales"). It is a lot of manual work for them too. They seed for multiple trackers if they can. Even that sometimes can not be done like with current qBit and issue #439 still open after 8 years. Old utorrent 2.2 could do it. Even more it had a mass move function selecting all files (in main and subdirs) and with one click setting them all on the torrent main (or any other) dir.

Also I think it is an easy task, really, mainly string slicing. With one trigger: Category change. Category already moving content of torrents to it's dir. The files inside the torrent can be moved from subdirs to main dir with the little "\" dir trick (so it is not impossible, tested in Win64) A little check mechanism is needed when there is the same filename in more subdirs. Like: \s01e01\nfo.txt -> \nfo.txt \s01e02\nfo.txt -> \s01e02.nfo.txt ... Add the deleted (first subdir's) name in front of the filename (and subdir names are unique so no conflict anymore).

I would really love to help develop this feature but c++ is not in the languages I speak.