Restore original folder from torrent file

All your suggestions, requests and ideas for future development
Post Reply
rootkit
Posts: 3
Joined: 10 May 2015, 10:14

Restore original folder from torrent file

Post by rootkit »

Hey folks,

at first thx for this great peace of software. It already saved me some time.
To save me even more time, it would be great if there would be an option to recreate the original folders.
This is an issue when renaming stuff for media library scraping but then wanting to reseed...

Example:
I put a folder with TV series into filebot.

Current folder / file names:
Series Name/Season 05/Series Name - S05E01 - Episode Title.mkv

Original folder / file names:
Series.Name.Season5.Complete.HDTV.720p-blah/Series.Name.S05E01.Episode.Title.HDTV.720p-blah/Series.Name.S05E01.HDTV.720p-blah.mkv

The italic stuff already works, but I'd like to also create the bold original folders and put the files in there. The info is in the torrent file, I copied it from there manually.
So you would just have to enhance the parsing stuff a little bit ;-)

cheers
rootkit
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Restore original folder from torrent file

Post by rednoah »

1) Drop files on the left
2) Drop torrent on the right
3) Settings -> Extension: Override

That coincidentally also changes the torrent entry formatter from filename to filepath. ;)
:idea: Please read the FAQ and How to Request Help.
rootkit
Posts: 3
Joined: 10 May 2015, 10:14

Re: Restore original folder from torrent file

Post by rootkit »

Hi rednoah,

I just tried that, I fear that's not what I was asking for. If I do what you supposed, filebot will show the current filepath additionally to the the file name on the right side.
But it won't create folders according to the torrent file and move the files there.

So filebot renames
D:\test\Series Name - S05E01 - Episode Title.mkv --> D:\Test\Series.Name.S05E01.HDTV.720p-blah.mkv

But I'd like to get this:
D:\test\Series Name - S05E01 - Episode Title.mkv --> D:\test\Series.Name.Season5.Complete.HDTV.720p-blah/Series.Name.S05E01.Episode.Title.HDTV.720p-blah/Series.Name.S05E01.HDTV.720p-blah.mkv

This info "Series.Name.Season5.Complete.HDTV.720p-blah/Series.Name.S05E01.Episode.Title.HDTV.720p-blah/Series.Name.S05E01.HDTV.720p-blah.mkv" is there in the torrent file.

cheers
rootkit
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Restore original folder from torrent file

Post by rednoah »

Please send me that torrent file / upload it somewhere and give me a link.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Restore original folder from torrent file

Post by rednoah »

Well, as far as I can tell it's working and has been since 2010.
:idea: Please read the FAQ and How to Request Help.
rootkit
Posts: 3
Joined: 10 May 2015, 10:14

Re: Restore original folder from torrent file

Post by rootkit »

Here it is. I've changed the announce URL/passkey, but I guess that shouldn't matter:
http://www28.zippyshare.com/v/h2DGoJwz/file.html
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Restore original folder from torrent file

Post by rednoah »

Sorry, that particular file has some issues:

Code: Select all

java.io.IOException: BDecoder: unknown command '111 ...
So if you load the torrent into "New Names" and then switch to "Extension: Override" mode what happens? Screenshots please.

So an entry would look like this:

Code: Select all

pathl77:Greys.Anatomy.S05E01.Es.war.einmal.Teil.1.GERMAN.DL.AC3.720p.HDTV.WS.x264-TvR33:tvr-greys-anatomy-s05e01-720p.mkv
I see a single filename. Why would : mean / in the torrent path? That seems odd.

EDIT:

Nevermind. The paths are decoded just fine but the full path is just lost later. Fixed with r3046.
:idea: Please read the FAQ and How to Request Help.
Post Reply