IMDb movie title filter before send lookup
#1
hi
this is for movies and the imdb scan
i wish it was a way to number files without having it go to the imdb query.
some examples:
if i have a file named "the ring (2002) cd1.avi" xbmc will send a query to imdb for "the ring (2002) cd1". this will return alot of results not relevant for this movie.
so my request is to have a few words removed from the search maybe:
cd1
cd-1
cd01
cd-01
part1
episode1

if there was a standard way of naming the files it would be easy to use the imdb scan Smile

and thanks to all of you people working on xbmc, your work is great! :bowdown: :bowdown:
Reply
#2
yes some sort of filter for imdb is a great idea. i just checked what it did:

19-10-2004 01:08:42 info get url: http://us.imdb.com/tsearch?title=dawn+of+the+dead+
19-10-2004 01:08:42 info 302 redirected: http://us.imdb.com/find?q=dawn+of+the+dead+;tt=1
19-10-2004 01:08:48 info get url: http://us.imdb.com/tsearch?title=decoys+dvdrip
19-10-2004 01:08:48 info 302 redirected: http://us.imdb.com/find?q=decoys+dvdrip;tt=1
19-10-2004 01:08:51 info get url: http://us.imdb.com/tsearch?title=elf+dvdrip
19-10-2004 01:08:51 info 302 redirected: http://us.imdb.com/find?q=elf+dvdrip;tt=1
19-10-2004 01:09:03 info get url: http://us.imdb.com/tsearch?title=final+d...+ws+dvdrip
19-10-2004 01:09:03 info 302 redirected: http://us.imdb.com/find?q=final+destinat...vdrip;tt=1

if it could allow like years 2004 is mentioned in my dirs, but dont see it in the query.
and some other words for the filter:

ws
dvdrip
unrated
xvid
limited

that would be very nice Smile
Reply
#3
maybe if its not hardcoded, users could set up theyr own filters and have options for what naming structure they use

moviedir\movie1 (2003).avi
moviedir\movie2 (2004) cd1.avi
moviedir\movie2 (2004) cd2.avi

moviedir\2003\movie1.avi
moviedir\2004\movie2 cd2.avi
moviedir\2004\movie2 cd2.avi

moviedir\2003\movie1\movie.avi
moviedir\2004\movie2\movie2-cd1.avi
moviedir\2004\movie2\movie2-cd2.avi


filters could be like
moviedir\%name% (%year%) %number%.%ext%
moviedir\%year%\%name% %number%.%ext%
moviedir\%year%\%name%\%name-%number%.%ext%
Reply
#4
Exclamation 
personaly i rename all files after download before i burn/store it to any media but i could understand why people who don't would like:
"my.movie.name.here.avi" be renamed by a xbmc filter (before send imdb search) to => "my movie name here",
and "my_movie_name_here.avi" be renamed by a xbmc filter (before send imdb search) to => "my movie name here",
and "my movie name here.divx.avi" be renamed by a xbmc filter (before send imdb search) to => "my movie name here",
...etc.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
ok, just to note (as discussed here) that my new video name cleanup code, which is part of the new stacking stuff, could probably be used to resolve the naming issues here as well. once i start working with the imdb lookup, i'll see what i can do about integrating this.



read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#6
gglaze - to start with thanks for the new great patches  :thumbsup:

a suggestion for when you look at the imdb stuff.  when you select scan would it possible to do the 80% matching - as discussed in other thread - and then skip all theat dont match.  but once it get to the end of the scan it gives you a list of skipped ones and you can tried to manually find them.  i think you also need to be able to add movies to the db when no imdb info is available.  use file name for name of film and then you can add rest manually if wanted.

well just some thoughts Smile

thanks again
Reply
#7
okey, i had written a good long post, used like 2 hours, then the power goes out, so here is the short version:

everything behind -cd are cut out, everything inside () or [] are cut out, these words are cut out: divx, xvid, dvd, svcd, ac3, ogg, ogm, internal, fragment, dvdrip, proper, limited, rerip. all numbers in groups of 4 are cut out, all signs are replaced with +.

"this is the movie 2000 (action) **divx** -cd1 whatever.avi"
"this is the movie 2000 (action) **divx** "
"this is the movie (action) **divx** "
"this+is+the+movie++(action)+**divx**+"
"this+is+the+movie+++**divx**+"
"this+is+the+movie+++++divx+++"
"this+is+the+movie+divx+"
"this+is+the+movie"
^
sending to imdb = this+is+the+movie

this is the current filter

read imdb.cpp in \xbmc\xbmc\utils for the source
Reply

Logout Mark Read Team Forum Stats Members Help
IMDb movie title filter before send lookup0