[NOOB] Output not as needed

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

[NOOB] Output not as needed

Post by vballrican »

hello everyone, running this amc script:

filebot -script fn:amc --output "H:/Media" -non-strict "H:/New" --action copy --db theTVDB --def artwork=y "seriesFormat=H:/Media/TV/{n}/{'S'+s}/{n}" "animeFormat=H:/Media/Anime/{n} ({certification} {genre})/{'S'+s}/{n}" "movieFormat=H:/Media/Movies/{n} {y} ({certification} {Genre})/{n}" "musicFormat=H:/Media/Music/{n}/{fn}"

And the output is not how I want it.. I have ran it with various parameters but still not the same... what a I missing? PS: also, using this script, it only renames and copies 1 files... the rest show up as file already there... :|

H:\>filebot -script fn:sysinfo
FileBot 4.5.3 (r2729)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 18 MB Used Memory
OS: Windows 8.1 (amd64)
Done ?(?????)?
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Output not as needed

Post by rednoah »

1.
Anime don't have seasons. Hence {s} will always fail for Anime.

2.
How does renaming each episode to the series name {n} possibly make sense? The script is doing exactly what you tell it to do. You clearly have not tried this in the GUI Format Editor, or read/understood the format docs, or looked at any of the examples here in the forums.

3.
Did you read the manual? I guess not.
Note that if you call this script in intervals every hour or every day you must set --def excludeList or you will get banned.

In conclusion:
* You absolutely MUST use --def excludeList or I will ban you
* Do not override the formats unless you know what you're doing
:idea: Please read the FAQ and How to Request Help.
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Re: Output not as needed

Post by vballrican »

rednoah wrote:1.
Anime don't have seasons. Hence {s} will always fail for Anime.

2.
How does renaming each episode to the series name {n} possibly make sense? The script is doing exactly what you tell it to do. You clearly have not tried this in the GUI Format Editor, or read/understood the format docs, or looked at any of the examples here in the forums.

3.
Did you read the manual? I guess not.
Note that if you call this script in intervals every hour or every day you must set --def excludeList or you will get banned.

In conclusion:
* You absolutely MUST use --def excludeList or I will ban you
* Do not override the formats unless you know what you're doing
Thank you for your response.

1. Ok. I will take that out. So I guess shows like Naruto, etc will just be episodes 1-600+.

2. I had changed that from fn to n. Will change it back. And yes, I have been reading everything I can find on making this simple... it's not... My first language is Spanish so I'm translating as best I can to understand it...

3. I'm not running this every hour, just one time. In the script I have, --def excludeList was there. I took it out because I thought it wouldn't recognize dups. I'm testing with the same anime over and over. I will read it but now I don't know how to ignore dups so I can keep testing with the same anime.

Thank you for your response... back to the drawing table. :)

PS: I forgot to mention that my ultimate goal is to have PLEX recognize all my anime with no issues... and I think it wants seasons... :|
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [NOOB] Output not as needed

Post by rednoah »

1.
Yes.

2.
Have you even looked at the examples? I really don't think you have. You literally require zero language ability to figure this out from the examples:
http://www.filebot.net/naming.html#examples

3.
For testing you can remove it. But ONLY for testing. As long as you know what you're doing.

4.
Use an AniDB scraper in PLEX or force the amc script (via label parameter) to process everything as TV Series using TheTVDB data.
:idea: Please read the FAQ and How to Request Help.
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Re: [NOOB] Output not as needed

Post by vballrican »

rednoah wrote:1.
Yes.

2.
Have you even looked at the examples? I really don't think you have. You literally require zero language ability to figure this out from the examples:
http://www.filebot.net/naming.html#examples

3.
For testing you can remove it. But ONLY for testing. As long as you know what you're doing.

4.
Use an AniDB scraper in PLEX or force the amc script (via label parameter) to process everything as TV Series using TheTVDB data.
1. Thanks

2. Thanks

3. Thanks.

4. Hmm.. PLEX doesn't have a native AniDB scraper. It does use theTVDB for all series. So --db theTVDB will force it right?

Thanks!!
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Re: [NOOB] Output not as needed

Post by vballrican »

UPDATE: Got it working the way I need it using theTVDB as source... the one thing is that instead of a genre, it shows animation... I know it's an animation, I want to show action/mecha/school/etc...
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [NOOB] Output not as needed

Post by rednoah »

1.
The AMC script will ignore --db and you will need to set --def ut_label=TV as documented in the manual. ;)

2.
As for AniDB "genres", try the latest revision. See FAQ last entry.
:idea: Please read the FAQ and How to Request Help.
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Re: [NOOB] Output not as needed

Post by vballrican »

rednoah wrote:1.
The AMC script will ignore --db and you will need to set --def ut_label=TV as documented in the manual. ;)

2.
As for AniDB "genres", try the latest revision. See FAQ last entry.

Thanks, using the latest build(r2770), gives me the proper genre using AniDB but... it doesn't give me the certification... Using theTVDB give me the certification but not the proper genre... :|
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [NOOB] Output not as needed

Post by rednoah »

Originally all the extended metadata always came from TheTVDB, no matter what database you selected for matching. In the newer version extended metadata is supported for all databases, as best as possible given that the different databases provide different kind of data.

AniDB does not have any sort of certification metadata. So {certification} won't work for Anime same as {s} won't work for Anime.
:idea: Please read the FAQ and How to Request Help.
vballrican
Donor
Posts: 80
Joined: 21 Dec 2014, 01:29

Re: [NOOB] Output not as needed

Post by vballrican »

rednoah wrote:Originally all the extended metadata always came from TheTVDB, no matter what database you selected for matching. In the newer version extended metadata is supported for all databases, as best as possible given that the different databases provide different kind of data.

AniDB does not have any sort of certification metadata. So {certification} won't work for Anime same as {s} won't work for Anime.
Thanks. I guess I will continue to use theTVDB because certification(TV-PG, TV-14, etc is more important to me than genre as I have kids and want to be able to cort accordingly... :) there's no equivalent of {certification} in AniDB then?

Thanks.
Post Reply