Page 1 of 1

"Failed to auto-select search result" for Xena and Franklin&

Posted: 08 Jul 2012, 18:44
by belgarth
For some reason it seems like filebot is having issue reading the episode data for a couple different shows:

belgarth@media-server:~$ filebot --conflict override -rename --db tvrage --format "/home/belgarth/Downloads/TV-Shows/{n}/{n} - {sxe} - {t}" /home/belgarth/Downloads/TV-Shows/Unsorted/xena.1x01.sins.of.the.past.dvdrip_divx-jem.tvc.avi -non-strict
Rename episodes using [TVRage]
Auto-detected query: [xena]
Failed to auto-select search result: [Xena: Warrior Princess]
Failed to fetch episode data: [xena]
Exception: Unable to match files to episode data
Failure (°_°)
belgarth@media-server:~$ filebot --conflict override -rename --db thetvdb --format "/home/belgarth/Downloads/TV-Shows/{n}/{n} - {sxe} - {t}" /home/belgarth/Downloads/TV-Shows/Unsorted/xena.1x01.sins.of.the.past.dvdrip_divx-jem.tvc.avi -non-strict
Rename episodes using [TheTVDB]
Auto-detected query: [xena]
Failed to auto-select search result: [Xena: Warrior Princess]
Failed to fetch episode data: [xena]
Exception: Unable to match files to episode data
Failure (°_°)
belgarth@media-server:~$ filebot -version
FileBot 2.64 (r1024) / OpenJDK Runtime Environment 1.6.0_24

belgarth@media-server:~$ filebot -list --lang en --db thetvdb --q "Xena"
Exception: Failed to auto-select search result: [Xena: Warrior Princess]
Failure (°_°)
belgarth@media-server:~$ filebot -list --q "Franklin and Bash"
Exception: Failed to auto-select search result: [Franklin & Bash]
Failure (°_°)
belgarth@media-server:~$ filebot -list --lang en --db tvrage --q "Xena"
Exception: Failed to auto-select search result: [Xena: Warrior Princess]
Failure (°_°)

As far as I can tell thetvdb has their shows listed fine:
http://thetvdb.com/?tab=series&id=77799&lid=7
http://thetvdb.com/?tab=series&id=164041&lid=7

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 08 Jul 2012, 18:48
by belgarth
Same problem with r1036

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 09 Jul 2012, 04:50
by rednoah
Xena is too different from "Xena: Warrior Princess" and happens to fall through. I'll allow all beginsWith matches in the future then and make things less strict.

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 09 Jul 2012, 22:03
by belgarth
Thanks for the quick work, I tested r1052 and it fixes the xena issue. Franklin and bash is still broken though:
belgarth@server1:~$ filebot -list --q "franklin and bash"
Exception: Failed to auto-select search result: [Franklin & Bash]
Failure (°_°)
belgarth@server1:~$ filebot -list --q "franklin & bash"
Franklin & Bash - 1x01 - Pilot
Franklin & Bash - 1x02 - She Came Upstairs to Kill Me
Franklin & Bash - 1x03 - Jennifer of Troy
Franklin & Bash - 1x04 - Bro-Bono
Franklin & Bash - 1x05 - You Can't Take It With You
Franklin & Bash - 1x06 - Big Fish
Franklin & Bash - 1x07 - Franklin vs. Bash
Franklin & Bash - 1x08 - The Bangover
Franklin & Bash - 1x09 - Bachelor Party
Franklin & Bash - 1x10 - Go Tell It on the Mountain
Franklin & Bash - 2x01 - Strange Brew
Franklin & Bash - 2x02 - Viper
Franklin & Bash - 2x03 - Jango and Rossi
Franklin & Bash - 2x04 - For Those About to Rock
Franklin & Bash - 2x05 - L'Affaire Du Coeur
Franklin & Bash - 2x06 - Voir Dire
Franklin & Bash - 2x07 - Summer Girls
Franklin & Bash - 2x08 - Last Dance
Franklin & Bash - 2x09 - Waiting on a Friend
Franklin & Bash - 2x10 - 650 to SLC

It looks like filebot could use some logic to equate "&" and "and" as the same thing. I believe I had the same issue with rizzoli and isles.

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 10 Jul 2012, 05:18
by rednoah
fixed with the latest rev

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 01 Aug 2012, 19:20
by cweirup
I've just downloaded v2.64 and I'm still experiencing the issues with "&" and "and" (specifically for Franklin & Bash and Rizzoli & Isles). Is there another newer version, like a beta version, that fixes the issue?

I'm using this on Mac OS X Lion. Here's the command and results I'm getting.

Command:

Code: Select all

/Applications/FileBot.app/Contents/MacOS/filebot -rename /Users/cweirup/Documents/Videos/Rizzoli.and.Isles.S03E08.HDTV.x264.mp4 --format "{n} {s00e00} {t}" --db tvrage -non-strict
Result:

Code: Select all

Rename episodes using [TVRage]
Auto-detected query: [Rizzoli and Isles]
Failed to auto-select search result: [Rizzoli & Isles]
Failed to fetch episode data: [Rizzoli and Isles]
Exception: Unable to match files to episode data
Failure (?_?)
Thanks!

Chris

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 02 Aug 2012, 00:16
by rednoah
Can't be fixed. It's an issue with TheTVDB. That problem will be gone with the next update to their API. No idea when that'll be.

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 02 Aug 2012, 12:20
by cweirup
I'm actually using TVRage, not TheTVDB, and I'm getting the same results. The TVRage seems to at least understand "&" and "and" are the same but still fails on lookup.

However, if I change "and" in the filename to "&" the rename works fine. This sort of defeats the purpose of auto-renaming if I have to manually rename it first. I'm going to see if I can automatically swap "&" and "and" via a script or Hazel.

What's perplexing is that the FileBot GUI app works fine with TVRage. I'm not sure why the CLI app fails, even with the "-non-strict" switch turned on.

Anyway, thanks for the follow-up.

Chris

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 03 Aug 2012, 16:17
by rednoah
If it's not a db search problem then it's fine.

Works with one of the later revisions:
http://sourceforge.net/projects/filebot ... ebot/HEAD/

Code: Select all

Rename episodes using [TVRage]
Auto-detected query: [Rizzoli and Isles]
Fetching episode data for [Rizzoli & Isles]
[TEST] Rename [E:\testdata\Rizzoli.and.Isles.S03E08.HDTV.x264.mp4] to [Rizzoli & Isles S03E08 Cuts Like a Knife.mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 06 Aug 2012, 18:38
by cweirup
Using the latest revision from the link worked. Thanks!

Re: "Failed to auto-select search result" for Xena and Frank

Posted: 18 Nov 2012, 01:34
by gaaranet
ahmm.... yeahh (belgarth )
it should get to strict....