Filebot AMC anime bad detection

Any questions? Need some help?
Post Reply
rbonvalot
Posts: 5
Joined: 20 Dec 2018, 21:11

Filebot AMC anime bad detection

Post by rbonvalot » 20 Dec 2018, 21:21

Hello,

I tried to use amc script to rename all file contain in /volume1/downloads/Anime which contain only anime file.
Here is the result :

Code: Select all

bash-4.3# filebot -script fn:amc --output "/volume1/filebot/Anime" --log-file /volume1/filebot/amc.log --action symlink -non-strict "/volume1/downloads/Anime" --def excludeList=/volume1/filebot/amc.txt  --def ut_label=anime
Locking /volume1/filebot/amc.log
Run script [fn:amc] at [Thu Dec 20 22:07:51 CET 2018]
Parameter: excludeList = /volume1/filebot/amc.txt
Parameter: ut_label = anime
Argument[0]: /volume1/downloads/Anime
Use excludes: /volume1/filebot/amc.txt
Input: /volume1/downloads/Anime/Fairy Tail 2018 - 010 (287) [ADN].mp4
Input: /volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4
Input: /volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4
xattr: [Fairy Tail 2018 - 010 (287) [ADN].mp4] => [Fairy Tail (2018) - 10 - Emperor Spriggan]
xattr: [One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4] => [On the Run (2002)]
xattr: [Tsubasa 2018 - 037 [ADN].mp4] => [Attack on Titan: The Wings of Freedom (2015)]
xattr: [Tsubasa 2018 - 038 [ADN].mp4] => [Fairy Tail (2014) - 38 - Erza vs. Sagittarius! Horseback Showdown!]
xattr: [[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4] => [One Piece - 865 - Dark King`s Direct Precepts! The Battle Against Katakuri Turns Around!]
Group: [anime:fairy tail 2018] => [Fairy Tail 2018 - 010 (287) [ADN].mp4]
Group: [mov:on the run 2002] => [One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4]
Group: [mov:attack on titan the wings of freedom 2015] => [Tsubasa 2018 - 037 [ADN].mp4]
Group: [anime:fairy tail 2014] => [Tsubasa 2018 - 038 [ADN].mp4]
Group: [anime:one piece] => [[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4]
Rename episodes using [AniDB]
Auto-detected query: [Fairy Tail (2018)]
Fetching episode data for [Fairy Tail (2018)]
Fetching episode data for [Fairy Tail (2011)]
Fetching episode data for [Fairy Tail (2014)]
Fetching episode data for [Fairy Tail]
[SYMLINK] from [/volume1/downloads/Anime/Fairy Tail 2018 - 010 (287) [ADN].mp4] to [/volume1/filebot/Anime/Anime/Fairy Tail (2018)/Fairy Tail (2018) - 10 - Emperor Spriggan.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4]
[SYMLINK] from [/volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4] to [/volume1/filebot/Anime/Movies/On the Run (2002)/On the Run (2002).mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4] to [/volume1/filebot/Anime/Movies/Attack on Titan - The Wings of Freedom (2015)/Attack on Titan - The Wings of Freedom (2015).mp4]
Processed 1 files
Rename episodes using [AniDB]
Auto-detected query: [Fairy Tail (2014)]
Fetching episode data for [Fairy Tail (2014)]
Fetching episode data for [Fairy Tail (2011)]
Fetching episode data for [Fairy Tail (2018)]
Fetching episode data for [Fairy Tail]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4] to [/volume1/filebot/Anime/Anime/Fairy Tail (2014)/Fairy Tail (2014) - 38 - Erza vs. Sagittarius! Horseback Showdown.mp4]
Processed 1 files
Rename episodes using [AniDB]
Auto-detected query: [One Piece]
Fetching episode data for [One Piece]
Fetching episode data for [One Piece (2000)]
Fetching episode data for [One Piece: Taose! Kaizoku Ganzack]
Fetching episode data for [One Piece Film: Z]
Fetching episode data for [One Piece Film: Strong World]
[SYMLINK] from [/volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4] to [/volume1/filebot/Anime/Anime/One Piece/One Piece - 865 - Dark King's Direct Precepts! The Battle Against Katakuri Turns Around.mp4]
Processed 1 files
I don't understand why some file are processed as movie while I put all files on "Anime" folder and add explicit ut_label=anime as described here viewtopic.php?t=2548 and here viewtopic.php?t=1508

Moreover, there are big problems detection :

Code: Select all

[One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4] => [On the Run (2002)]
xattr: [Tsubasa 2018 - 037 [ADN].mp4] => [Attack on Titan: The Wings of Freedom (2015)]
xattr: [Tsubasa 2018 - 038 [ADN].mp4] => [Fairy Tail (2014) - 38 - Erza vs. Sagittarius! Horseback Showdown!]
Can you help me please ? :)

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

Re: Filebot AMC anime bad detection

Post by rednoah » 21 Dec 2018, 11:54

1.
Here's what I get on a new run:

Code: Select all

...
Input: Anime/Tsubasa 2018 - 037 [ADN].mp4
Input: Anime/Tsubasa 2018 - 038 [ADN].mp4
Group: [anime:tsubasa 2018] => [Tsubasa 2018 - 037 [ADN].mp4, Tsubasa 2018 - 038 [ADN].mp4]
Rename episodes using [AniDB]
Auto-detected query: [tsubasa 2018]
Fetching episode data for [Captain Tsubasa (2018)]
Fetching episode data for [Nekomonogatari (Kuro): Tsubasa Family]
Fetching episode data for [Tsubasa to Hotaru (2016)]
Fetching episode data for [Tsubasa to Hotaru (2015)]
[DUPLICATE] from [Anime/Tsubasa 2018 - 037 [ADN].mp4] to [Anime/Captain Tsubasa (2018)/Captain Tsubasa (2018) - 37 - The infernal catapult.mp4]
[DUPLICATE] from [Anime/Tsubasa 2018 - 038 [ADN].mp4] to [Anime/Captain Tsubasa (2018)/Captain Tsubasa (2018) - 38 - The tactics of the Tachibana twins.mp4]
...

2.
xattr is metadata stored in a previous run. If it's wrong, then it'll cause the same wrong results in subsequent runs. If your processing previously processed files and want clean results, then you'll need to clear all the xattr first. You can view and clear xattr with this script:
viewtopic.php?f=4&t=5#p5394

If you revert files to their original names after a bad rename, then filebot -revert is recommend, since that'll not just revert the name but also the xattr.


3.
Trouble with auto-detection is tricky to explain or figure out. In this case, the show is called Captain Tsubasa (2018) so the missing "Captain" in the filename is gonna throw things off a bit, then the Tsubasa (2018) kinda looks like it might be a movie on first glance, and processing multiple files at once might also cause "spill-over" effects which are not desirable in this particular case.
:idea: Please read the FAQ and How to Request Help.

rbonvalot
Posts: 5
Joined: 20 Dec 2018, 21:11

Re: Filebot AMC anime bad detection

Post by rbonvalot » 21 Dec 2018, 18:18

Hello,

Thanks for your help! I wasn't sure about xattr but it's pretty clear now.

So I clean them, and relaunch the process. Here's the result :

Code: Select all

bash-4.3# filebot -script fn:amc --output "/volume1/filebot" --log-file /volume1/filebot/amc.log --action symlink -non-strict "/volume1/downloads/Anime" --def excludeList=/volume1/filebot/amc.txt  --def ut_label=anime
Locking /volume1/filebot/amc.log
Run script [fn:amc] at [Fri Dec 21 18:53:24 CET 2018]
Parameter: excludeList = /volume1/filebot/amc.txt
Parameter: ut_label = anime
Argument[0]: /volume1/downloads/Anime
Use excludes: /volume1/filebot/amc.txt
Input: /volume1/downloads/Anime/Fairy Tail 2018 - 010 (287) [ADN].mp4
Input: /volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4
Input: /volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4
Group: [anime:fairy tail 2018] => [Fairy Tail 2018 - 010 (287) [ADN].mp4, Tsubasa 2018 - 037 [ADN].mp4, Tsubasa 2018 - 038 [ADN].mp4]
Group: [anime:one piece] => [One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4, [Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4]
Rename episodes using [AniDB]
Auto-detected query: [Fairy Tail 2018]
Fetching episode data for [Fairy Tail (2018)]
Fetching episode data for [Fairy Tail (2011)]
Fetching episode data for [Fairy Tail (2014)]
Fetching episode data for [Fairy Tail]
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
[SYMLINK] from [/volume1/downloads/Anime/Fairy Tail 2018 - 010 (287) [ADN].mp4] to [/volume1/filebot/Anime/Fairy Tail (2018)/Fairy Tail (2018) - 10 - Emperor Spriggan.mp4]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4] to [/volume1/filebot/Anime/Fairy Tail (2014)/Fairy Tail (2014) - 37 - Juvia vs. Aries! Desert Death Match.mp4]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4] to [/volume1/filebot/Anime/Fairy Tail (2014)/Fairy Tail (2014) - 38 - Erza vs. Sagittarius! Horseback Showdown.mp4]
Processed 3 files
Rename episodes using [AniDB]
Auto-detected query: [One Piece]
Fetching episode data for [One Piece]
Fetching episode data for [One Piece (2000)]
Fetching episode data for [One Piece: Taose! Kaizoku Ganzack]
Fetching episode data for [One Piece Film: Z]
Fetching episode data for [One Piece Film: Strong World]
[SYMLINK] from [/volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 864 - Finally, They Clash! The Emperor of the Sea vs. the Straw Hats.mp4]
[SYMLINK] from [/volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 865 - Dark King's Direct Precepts! The Battle Against Katakuri Turns Around.mp4]
Processed 2 files
As you can see "Tsubasa" is processed as Fairy Tail. I tried to make 2 fake file in a test directory with same Captain Tsubasa name to perform the same test you performed and in this context I have the same result as you....

Code: Select all

bash-4.3# filebot -script fn:amc --output "/volume1/test2" --log-file /volume1/filebot/amc.log --action symlink -non-strict "/volume1/test" --def excludeList=/volume1/filebot/amc.txt  --def ut_label=anime
Locking /volume1/filebot/amc.log
Run script [fn:amc] at [Fri Dec 21 19:07:23 CET 2018]
Parameter: excludeList = /volume1/filebot/amc.txt
Parameter: ut_label = anime
Argument[0]: /volume1/test
Use excludes: /volume1/filebot/amc.txt (5)
Input: /volume1/test/Tsubasa 2018 - 037 [ADN].mp4
Input: /volume1/test/Tsubasa 2018 - 038 [ADN].mp4
Group: [anime:tsubasa 2018] => [Tsubasa 2018 - 037 [ADN].mp4, Tsubasa 2018 - 038 [ADN].mp4]
Rename episodes using [AniDB]
Auto-detected query: [tsubasa 2018]
Fetching episode data for [Captain Tsubasa (2018)]
Fetching episode data for [Nekomonogatari (Kuro): Tsubasa Family]
Fetching episode data for [Tsubasa to Hotaru (2016)]
Fetching episode data for [Tsubasa to Hotaru (2015)]
[SYMLINK] from [/volume1/test/Tsubasa 2018 - 037 [ADN].mp4] to [/volume1/test2/Anime/Captain Tsubasa (2018)/Captain Tsubasa (2018) - 37 - The infernal catapult.mp4]
[SYMLINK] from [/volume1/test/Tsubasa 2018 - 038 [ADN].mp4] to [/volume1/test2/Anime/Captain Tsubasa (2018)/Captain Tsubasa (2018) - 38 - The tactics of the Tachibana twins.mp4]
Processed 2 files
Done ヾ(@⌒ー⌒@)ノ
Why in the first context it didn't work ? It's because there are no other file in the directory ?

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

Re: Filebot AMC anime bad detection

Post by rednoah » 21 Dec 2018, 18:29

Hard to say for sure. I suppose guess the name is easy, if the name is the same reoccurring pattern in all file names, but more difficult, if you have different files, with different patterns.

Probably not an issue in most cases, but in this particular case the show is supposed to be called "Captain Tsubasa" so I guess this particular combination of bad luck is just really bad luck.

I've added an alias title, so it might just work in the future:
https://anidb.net/perl-bin/animedb.pl?s ... elid=13655
:idea: Please read the FAQ and How to Request Help.

rbonvalot
Posts: 5
Joined: 20 Dec 2018, 21:11

Re: Filebot AMC anime bad detection

Post by rbonvalot » 21 Dec 2018, 21:43

I retried with your update and I had exact same result.

I tried to remove my fairy tail media on the folder and tsubasa was grouped with One Piece.

Code: Select all

bash-4.3# filebot -script fn:amc --output "/volume1/filebot" --log-file /volume1/filebot/amc.log --action symlink -non-strict "/volume1/downloads/Anime" --def excludeList=/volume1/filebot/amc.txt  --def ut_label=anime
Locking /volume1/filebot/amc.log
Run script [fn:amc] at [Fri Dec 21 22:22:18 CET 2018]
Parameter: excludeList = /volume1/filebot/amc.txt
Parameter: ut_label = anime
Argument[0]: /volume1/downloads/Anime
Use excludes: /volume1/filebot/amc.txt
Input: /volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4
Input: /volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4
Group: [anime:one piece] => [One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4, Tsubasa 2018 - 037 [ADN].mp4, Tsubasa 2018 - 038 [ADN].mp4, [Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4]
Rename episodes using [AniDB]
Auto-detected query: [One Piece, kaerizaki one piece]
Fetching episode data for [One Piece]
Fetching episode data for [One Piece (2000)]
Fetching episode data for [One Piece: Taose! Kaizoku Ganzack]
Fetching episode data for [One Piece Film: Z]
Fetching episode data for [One Piece Film: Strong World]
[SYMLINK] from [/volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 864 - Finally, They Clash! The Emperor of the Sea vs. the Straw Hats.mp4]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 37 - Luffy Rises! Result of the Broken Promise.mp4]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 38 - Luffy in Big Trouble! Fishmen vs. the Luffy Pirates.mp4]
[SYMLINK] from [/volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 865 - Dark King's Direct Precepts! The Battle Against Katakuri Turns Around.mp4]
Processed 4 files
Done ヾ(@⌒ー⌒@)ノ
I tried to add another anime with alphabetic name prior than Fairy Tail (Dragon Ball Super) and now this is the group that have been catched by Tsubasa

Code: Select all

bash-4.3# filebot -script fn:amc --output "/volume1/filebot" --log-file /volume1/filebot/amc.log --action symlink -non-strict "/volume1/downloads/Anime" --def excludeList=/volume1/filebot/amc.txt  --def ut_label=anime
Locking /volume1/filebot/amc.log
Run script [fn:amc] at [Fri Dec 21 22:35:46 CET 2018]
Parameter: excludeList = /volume1/filebot/amc.txt
Parameter: ut_label = anime
Argument[0]: /volume1/downloads/Anime
Use excludes: /volume1/filebot/amc.txt
Input: /volume1/downloads/Anime/Dragon Ball Super - 001.mp4
Input: /volume1/downloads/Anime/Fairy Tail 2018 - 010 (287) [ADN].mp4
Input: /volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4
Input: /volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4
Input: /volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4
Group: [anime:dragon ball super] => [Dragon Ball Super - 001.mp4, Tsubasa 2018 - 037 [ADN].mp4, Tsubasa 2018 - 038 [ADN].mp4]
Group: [anime:fairy tail 2018] => [Fairy Tail 2018 - 010 (287) [ADN].mp4]
Group: [anime:one piece] => [One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4, [Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4]
Rename episodes using [AniDB]
Auto-detected query: [Dragon Ball Super]
Fetching episode data for [Dragon Ball Super]
Fetching episode data for [Dragon Ball Super: Broly]
Fetching episode data for [Dragon Ball Z (1989)]
Fetching episode data for [Dragon Ball Z]
Fetching episode data for [Dragon Ball]
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
Failed to read media encoding date: Unable to load aarch64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
[SYMLINK] from [/volume1/downloads/Anime/Dragon Ball Super - 001.mp4] to [/volume1/filebot/Anime/Dragon Ball Super/Dragon Ball Super - 01 - The Peace Reward - Who Will Get the 100 Million Zeni.mp4]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4] to [/volume1/filebot/Anime/Dragon Ball/Dragon Ball - 37 - Ninja Murasaki Is Coming.mp4]
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 038 [ADN].mp4] to [/volume1/filebot/Anime/Dragon Ball/Dragon Ball - 38 - Five Murasakis.mp4]
Processed 3 files
Rename episodes using [AniDB]
Auto-detected query: [Fairy Tail 2018]
Fetching episode data for [Fairy Tail (2018)]
Fetching episode data for [Fairy Tail (2011)]
Fetching episode data for [Fairy Tail (2014)]
Fetching episode data for [Fairy Tail]
[SYMLINK] from [/volume1/downloads/Anime/Fairy Tail 2018 - 010 (287) [ADN].mp4] to [/volume1/filebot/Anime/Fairy Tail (2018)/Fairy Tail (2018) - 10 - Emperor Spriggan.mp4]
Processed 1 files
Rename episodes using [AniDB]
Auto-detected query: [One Piece]
Fetching episode data for [One Piece]
Fetching episode data for [One Piece (2000)]
Fetching episode data for [One Piece: Taose! Kaizoku Ganzack]
Fetching episode data for [One Piece Film: Z]
Fetching episode data for [One Piece Film: Strong World]
[SYMLINK] from [/volume1/downloads/Anime/One Piece.E864.VOSTFR.1080p.HDTV.x264-Shin Sekai.mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 864 - Finally, They Clash! The Emperor of the Sea vs. the Straw Hats.mp4]
[SYMLINK] from [/volume1/downloads/Anime/[Kaerizaki-Fansub] One Piece 865 VOSTFR FHD (1920x1080).mp4] to [/volume1/filebot/Anime/One Piece/One Piece - 865 - Dark King's Direct Precepts! The Battle Against Katakuri Turns Around.mp4]
Processed 2 files

I think it's not bad luck but just a bug. Tsubasa is automatically catch the first retrieved group during the execution of filebot.

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

Re: Filebot AMC anime bad detection

Post by rednoah » 22 Dec 2018, 02:57

rbonvalot wrote:
21 Dec 2018, 21:43
I retried with your update and I had exact same result.
I've updated AniDB. But it'll take 1-2 weeks for those changes to trickle down into your FileBot instance. First AniDB will create a new index every other day. Then FileBot servers will create a new index from that once a week. Then your FileBot instance will update its index once a week.

rbonvalot wrote:
21 Dec 2018, 21:43
I think it's not bad luck but just a bug. Tsubasa is automatically catch the first retrieved group during the execution of filebot.
"Tsubasa" related issues will go away by themselves as mentioned above. However, processing exact-title-match files and non-exact-title-match files in the same batch can have undesirable spill over effects (this is by design, since these spill over effect can also be desirable in other use cases).

The workaround I'd recommend is to process files in groups that belong together. This is usually the case for the majority of users that run the amc script on each newly completed download. If each show was in a different folder, that might do the tricky as well. Alternatively, calling the amc script on each file individually can probably server as a workaround as well.
:idea: Please read the FAQ and How to Request Help.

rbonvalot
Posts: 5
Joined: 20 Dec 2018, 21:11

Re: Filebot AMC anime bad detection

Post by rbonvalot » 22 Dec 2018, 09:51

Ok thanks for explanation. Because I use Download Station I'm unable to perform the postprocess as we can do with utorrent and process only one file when it's finished. Maybe I can use watcher but I don't want to build a gas factory just for this. With Download Station I can use different directory folder to group some file. I tested and filebot worked when processing the root "Anime" directory with "Captain Tsubasa" and others directory folder.

Thanks for your time :)

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

Re: Filebot AMC anime bad detection

Post by rednoah » 22 Dec 2018, 10:31

On Unix it'll be very easy, just call FileBot for each file:

Code: Select all

find /input -exec filebot -script fn:amc ... {} ";"
:idea: Major downside is that disk folders will not longer be processed as expected. Also somewhat inefficient due to multiple amc script calls, but not a concern if your NAS is powerful.
:idea: Please read the FAQ and How to Request Help.

rbonvalot
Posts: 5
Joined: 20 Dec 2018, 21:11

Re: Filebot AMC anime bad detection

Post by rbonvalot » 23 Dec 2018, 13:11

But unfortunately, Tsubasa is not found when I process one file per one file.

Code: Select all

bash-4.3# filebot -script fn:amc --output "/volume1/filebot/" --action symlink --conflict skip -non-strict --log-file /volume1/filebot/amc.log --def unsorted=y music=y artwork=y "ut_file=Tsubasa 2018 - 037 [ADN].mp4" "ut_dir=/volume1/downloads/Anime" "ut_label=anime"
Locking /volume1/filebot/amc.log
Run script [fn:amc] at [Sun Dec 23 14:06:49 CET 2018]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_file = Tsubasa 2018 - 037 [ADN].mp4
Parameter: ut_dir = /volume1/downloads/Anime
Parameter: ut_label = anime
Input: /volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4
Group: [anime:null] => [Tsubasa 2018 - 037 [ADN].mp4]
Processing 1 unsorted files
[SYMLINK] from [/volume1/downloads/Anime/Tsubasa 2018 - 037 [ADN].mp4] to [/volume1/filebot/Unsorted/Tsubasa 2018 - 037 [ADN].mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

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

Re: Filebot AMC anime bad detection

Post by rednoah » 23 Dec 2018, 15:34

Ah, that sucks. Cause that one probably only works if there's two or more files with the same common name sequence.


In that case, I recommend a 2 stage approach:

Code: Select all

filebot -script fn:amc ... --def ignore="Tsubasa"
filebot -script fn:amc ...

1.
Call amc script, and have it ignore certain files we're having problems with:

Code: Select all

--def ignore="Tsubasa"

2.
Call amc script again, so only on the previously ignored ones are processed now, and that we know should work.
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests