Page 1 of 1

Filebot not picking up filename

Posted: 12 Apr 2019, 06:29
by OutrageousGem
So after some testing I build myself a command like this:

Code: Select all

/usr/bin/filebot -rename /media/secure/downloads/pyload/OneclickDownload/\[HorribleSubs\]\ Watashi\ ni\ Tenshi\ ga\ Maiorita\!\ -\ 12\ \[1080p\].mkv --db TheTVDB --output /media/secure/downloads/pyload/OneclickDownload/tmp --action copy -non-strict --order Absolute --lang en --format "{n} - {t}"
The Problem is it does not even seem to recognize [HorribleSubs] Watashi ni Tenshi ga Maiorita! - 12 [1080p].mkv as a File to look up. All I get is a:

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [oneclickdownload]
Failed to fetch episode data: [oneclickdownload]
Failed to match files to episode data
Failure (×_×)⌒☆
So it tries to match the parent folder, but not the actual file. Am I doing something wrong? Or is the Filename just too difficult for Filebot?

Re: Filebot not picking up filename

Posted: 12 Apr 2019, 08:23
by rednoah
You could pass --q along to tell FileBot what to search for, if it doesn't work out of the box:

Code: Select all

--q "Watashi ni Tenshi ga Maiorita"

If I search manually I get some results, but I wouldn't know which one to pick either TBH in this particular case:

:idea: https://www.thetvdb.com/search?q=Watash ... orita&l=en

Re: Filebot not picking up filename

Posted: 12 Apr 2019, 08:41
by OutrageousGem
But I think the problem is not the matching. It is filebot not even trying to match the file. Even if I change it to

Code: Select all

--lang de 
where the match is more clear I still get the error.

Re: Filebot not picking up filename

Posted: 12 Apr 2019, 08:56
by rednoah
Here's what I get:

Code: Select all

$ filebot -rename *.mkv --db TheTVDB -non-strict --action TEST
Rename episodes using [TheTVDB]
Auto-detected query: [Wataten! An Angel Flew Down to Me]
Fetching episode data for [WATATEN!: an Angel Flew Down to Me]
[TEST] from [[HorribleSubs] Watashi ni Tenshi ga Maiorita! - 12 [1080p].mkv] to [WATATEN! an Angel Flew Down to Me - 1x12 - Angel's Gaze.mkv]
Processed 1 files
:idea: Maybe you can change the "oneclickdownload" folder name to something like "Complete" and then maybe it'll work. It worked for me out of the box, so something must be different.

Re: Filebot not picking up filename

Posted: 12 Apr 2019, 09:10
by OutrageousGem

Code: Select all

filebot -rename *.mkv --db TheTVDB -non-strict --action TEST
Rename episodes using [TheTVDB]
Auto-detected query: [watashi ni tenshi ga maiorita]
Failed to fetch episode data: [watashi ni tenshi ga maiorita]
Failed to match files to episode data
Failure (×_×)⌒☆
Yep. The parent foldername was a problem. Now it picks it up. Sadly it does not match it as well as your version did.

Code: Select all

filebot -rename *.mkv --db TheTVDB -non-strict --action TEST --lang de
Rename episodes using [TheTVDB]
Auto-detected query: [watashi ni tenshi ga maiorita]
Fetching episode data for [Watashi ni Tenshi ga Maiorita!]
[TEST] from [/media/secure/downloads/pyload/Completed/[HorribleSubs] Watashi ni Tenshi ga Maiorita! - 12 [1080p].mkv] to [/media/secure/downloads/pyload/Completed/Watashi ni Tenshi ga Maiorita! - 1x12 - Der Blick eines Engels.mkv]
Processed 1 files
German works. Which makes sense.