ABS2SXE problem

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
obey
Posts: 2
Joined: 21 Apr 2016, 17:08

ABS2SXE problem

Post by obey »

Hello.

I have some trouble with the abs2sxe script. Im using it to rename One Piece and Naruto Shippuden mostly. When the script runs and renames Naruto Shippuden it doesnt get the episode right.

Im running this .bat-file.

Code: Select all

rem Define variables
set ut_dir=%1
set ut_title=%2
set ut_label=%3
set ut_kind=%4
set ut_file=%5

filebot.exe -script fn:amc --log-file amc.log --action copy --conflict auto -non-strict --def "movieFormat=E:/Movies HD/{n} ({y})/{n} ({y}) {'CD'+pi}" "seriesFormat=E:/Series/{n}/{'Season '+s}/{n} {sxe} {t}" "animeFormat=E:/Downloads/Anime/{fn}" music=n artwork=n deleteAfterExtract=n clean=y ut_label=%3 ut_state=%S ut_title=%2 ut_kind=%4 ut_file=%5 ut_dir=%1
filebot.exe -script fn:abs2sxe --log-file animerename.log "E:/Downloads/Anime" --format "E:/Anime/{n}/{'Season '+s}/{n} {s00e00} {t}" --def target=file --action move --conflict skip
And this is the log. I only took the animerename.log since the amc script only moves all Anime files to anothoer directory.

http://pastebin.com/CLmL9J1E

I also did a test runnig only the abs2sxe script from cmd, then it works flawless. And i cant figure out what the difference would be.

Code: Select all

filebot.exe -script fn:abs2sxe --log-file animerename.log "E:/Downloads/Anime" --format "E:/Anime/{n}/{'Season '+s}/{n} {s00e00} {t}" --def target=file --action move --conflict skip

Code: Select all

FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: Java(TM) SE Runtime Environment 1.8.0_77
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 6 Core / 910 MB Max Memory / 25 MB Used Memory
OS: Windows Server 2012 R2 (amd64)
Package: MSI
Data: C:\Users\admin\AppData\Roaming\FileBot
Hopefully someone here can Point me in the right direction.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: ABS2SXE

Post by rednoah »

1.
After files have been processed by filebot they will be tagged. In subsequent runs this extra information may lead to slightly different behaviour. Usually in favour of the original match.


2.
Are you aware that you are processing your entire anime library every single time? How are you making sure that each file is only processed once? You'll get yourself auto-banned in no time.


3.
You should force TheTVDB via the label and make it fix the latest episodes as correct match via an age filter. You don't need the abs2sxe script.


4.
The abs2sxe script is useful for big batches, and not designed for routine automated processing.
:idea: Please read the FAQ and How to Request Help.
obey
Posts: 2
Joined: 21 Apr 2016, 17:08

Re: ABS2SXE problem

Post by obey »

1. Maby thats why i get different result then.

2. As i understand I only process files in E:/Downloads/Anime and then move the file to E:/Anime/Name/Season/Episode.blabla ?

3. When I label my Anime downloads to Series it renames the file right, but it then uses the seriesFormat and moves the files to that location. Can i somehow make it use TheTVDB for animeFormat?

Thanks for the help.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: ABS2SXE problem

Post by rednoah »

AniDB doesn't have season numbers, so all the abs2sxe script does is re-process everything again through TheTVDB just like any other series.

Your anime/series format is exactly the same. Except for the folders, but you could make that part conditional on the label.

e.g. TV Series, TV Anime: the "TV" in the label will trigger series mode and you can use the rest to define the folder in the format. There's a label binding for easy access.


EDIT:


Long story short. If you want files like "One Piece S01E01" then you're not processing Anime as far as FileBot is concerned. At this point you just need to figure how to tell which kind of TV Episode you want to put into the TV Series folder, and which kind you want to put into the Anime folder.
:idea: Please read the FAQ and How to Request Help.
Post Reply