Can't always pull everything from IMDB
Posted: 20 Dec 2013, 01:55
Hi Red,
Found another bug! This was in r1914 (not sure if it's been fixed in the latter - I haven't tested the one you just upped fixing the last bug I found lol)
Code:
(yes, I admit - my naming scheme is starting to get a little bit ridiculous haha)
IMDB: http://akas.imdb.com/title/tt0893401/
Result: Daylight Robbery (2008 )\Daylight Robbery [360p XviD MP3 2ch].avi
Should Be: Daylight Robbery (2008 M)\Daylight Robbery [360p XviD MP3 2ch].avi
Or At Least: Daylight Robbery (2008)\Daylight Robbery [360p XviD MP3 2ch].avi
Most movies are detected properly, such as:
Worked: Cinderella (1950 G)\Cinderella [480p XviD AC3 6ch].avi
But some movies can't find anything. The interesting thing is though that it should only show the 'space' after the year if it finds something, which makes me think that it specifically finds 'blank', rather than 'cant find the field' (if that makes sense.. just a guess tho). I've only had this with IMDB. If it can't find the rating on theTVDB, it properly shows (year) instead of (year ).. It's an IMDB specific mess.
Also, I've noticed that a lot of TV movies & TV specials that are on IMDB don't get detected during a movie search.
For example - it can and rename this:
Could Find on IMDB: Family Guy Presents - It's A Trap (2010 PG-13)\Family Guy Presents - It's A Trap [720p x264 DTS 6ch].mkv
But totally spits chips about this, and I had to use themoviedb instead:
Couldn't Find on IMDB: Family Guy Presents - Something, Something, Something, Dark Side (2009 PG-13)\Family Guy Presents - Something, Something, Something, Dark Side [576p XviD AC3 6ch].avi
For whatever reason the SSSDS special is listed as an 'episode' on IMDB, so FileBot didn't return anything :-/
It'd be nice if there was a 'override and treat it like a movie anyway' thing as IMDB has all these listings of specials, DVD extras, and all that sorta stuff, but FileBot won't have a bar of it if it isn't a 'movie', lol.
Found another bug! This was in r1914 (not sure if it's been fixed in the latter - I haven't tested the one you just upped fixing the last bug I found lol)
Code:
Code: Select all
//mynas/media/Movies/{norm = {it.upperInitial().lowerTrail().replaceTrailingBrackets().replaceAll(/[`´‘’ʻ""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ").replaceAll(/ Ii /, " II ").replaceAll(/ Iii /, " III ").replaceAll(/ Iv /, " IV ").replaceAll(/ Vii /, " VII ").replaceAll(/ Viii /, " VIII ").replaceAll(/ Ix /, " IX ").replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/)}; norm(n)}{if (norm(n) != norm(primaryTitle)) ' ('+norm(primaryTitle)+')'}{fn.contains('3D') || fn.contains('3-D') ? '.'+' 3D':""} ({y}{" $certification"})/{norm(n)}{fn.contains('3D') || fn.contains('3-D') ? '.'+' 3D':""}{fn.contains('Extended') || fn.contains('EXTENDED') || fn.contains('extended.cut') ? ' (Extended)' : fn.contains('Special Edition') || fn.contains('SPECIAL EDITION') || fn.contains('SPECIAL.EDITION') ? ' (Special Edition)' : fn.contains('Unrated') || fn.contains('UNRATED') ? '.'+' (Unrated)': fn.contains('Remastered') || fn.contains('REMASTERED') ? '.'+' (Remastered)':""}{" Part $pi"}{" [$vf $vc $ac $af]"}
IMDB: http://akas.imdb.com/title/tt0893401/
Result: Daylight Robbery (2008 )\Daylight Robbery [360p XviD MP3 2ch].avi
Should Be: Daylight Robbery (2008 M)\Daylight Robbery [360p XviD MP3 2ch].avi
Or At Least: Daylight Robbery (2008)\Daylight Robbery [360p XviD MP3 2ch].avi
Most movies are detected properly, such as:
Worked: Cinderella (1950 G)\Cinderella [480p XviD AC3 6ch].avi
But some movies can't find anything. The interesting thing is though that it should only show the 'space' after the year if it finds something, which makes me think that it specifically finds 'blank', rather than 'cant find the field' (if that makes sense.. just a guess tho). I've only had this with IMDB. If it can't find the rating on theTVDB, it properly shows (year) instead of (year ).. It's an IMDB specific mess.
Also, I've noticed that a lot of TV movies & TV specials that are on IMDB don't get detected during a movie search.
For example - it can and rename this:
Could Find on IMDB: Family Guy Presents - It's A Trap (2010 PG-13)\Family Guy Presents - It's A Trap [720p x264 DTS 6ch].mkv
But totally spits chips about this, and I had to use themoviedb instead:
Couldn't Find on IMDB: Family Guy Presents - Something, Something, Something, Dark Side (2009 PG-13)\Family Guy Presents - Something, Something, Something, Dark Side [576p XviD AC3 6ch].avi
For whatever reason the SSSDS special is listed as an 'episode' on IMDB, so FileBot didn't return anything :-/
It'd be nice if there was a 'override and treat it like a movie anyway' thing as IMDB has all these listings of specials, DVD extras, and all that sorta stuff, but FileBot won't have a bar of it if it isn't a 'movie', lol.