2006-02-15, 02:05
i had an annoying problem that the imdb lookup didn't match about half of my movies correctly due to the folders having their original scene names.
this addition to imdb.cpp geturl() corrected this:
as noted in imdb.cpp, the year notations should be done by matching four digits, but this fix improves things greatly until that is done. for me the success rate went up from 52/96 to 96/96,
please commit these changes as i'm sure most people will notice an improvement.
this addition to imdb.cpp geturl() corrected this:
Quote: removeallafter(szmovie, " custom ");and
removeallafter(szmovie, " dvdscr ");
removeallafter(szmovie, " unrated ");
removeallafter(szmovie, " multisubs ");
removeallafter(szmovie, " ws ");
removeallafter(szmovie, " swedish ");
removeallafter(szmovie, " pal ");
removeallafter(szmovie, " ntsc ");
removeallafter(szmovie, " 2003 ");
removeallafter(szmovie, " 2004 ");
removeallafter(szmovie, " 2005 ");
removeallafter(szmovie, " 2006 ");
Quote: removeallafter(szmovie, "+custom+");
removeallafter(szmovie, "+dvdscr+");
removeallafter(szmovie, "+unrated+");
removeallafter(szmovie, "+multisubs+");
removeallafter(szmovie, "+ws+");
removeallafter(szmovie, "+swedish+");
removeallafter(szmovie, "+pal+");
removeallafter(szmovie, "+ntsc+");
removeallafter(szmovie, "+2003+");
removeallafter(szmovie, "+2004+");
removeallafter(szmovie, "+2005+");
removeallafter(szmovie, "+2006+");
as noted in imdb.cpp, the year notations should be done by matching four digits, but this fix improves things greatly until that is done. for me the success rate went up from 52/96 to 96/96,
please commit these changes as i'm sure most people will notice an improvement.