Kodi Community Forum

Full Version: wrong search parameter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I got a new problem with my scraper.

The scraper is working correct but it gets the wrong parameter.
For example: i'm looking for "Das Bourne Ultimatum (2007)" but the scraper is searching for "filme".
I hope someone can help me.

Thanks
olum

Quote:16:44:01 T:1124 M:2147831808 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'D:\Medien\Videos\Filme\Das Bourne Ultimatum (2007).mpg'
16:44:01 T:1124 M:2147831808 INFO: Loading skin file: DialogProgress.xml
16:44:01 T:1124 M:2147823616 DEBUG: ------ Window Init (DialogProgress.xml) ------
16:44:02 T:1124 M:2155421696 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/libcurl.dll)
16:44:02 T:1124 M:2155200512 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/libidn-11.dll)
16:44:02 T:1124 M:2155200512 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/libeay32.dll)
16:44:02 T:1124 M:2155200512 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/libssl32.dll)
16:44:02 T:1124 M:2154721280 DEBUG: Win32DllLoader::Load(ADVAPI32.DLL)
16:44:02 T:1124 M:2154721280 DEBUG: Win32DllLoader::Load(KERNEL32.DLL)
16:44:02 T:1124 M:2154721280 DEBUG: Win32DllLoader::Load(NETAPI32.DLL)
16:44:02 T:1124 M:2154545152 DEBUG: FreeLibrary(NETAPI32.DLL) -> 07453528
16:44:02 T:1124 M:2154545152 DEBUG: Win32DllLoader::Unload NETAPI32.DLL
16:44:02 T:1124 M:2154684416 DEBUG: FreeLibrary(ADVAPI32.DLL) -> 074535C8
16:44:02 T:1124 M:2154684416 DEBUG: Win32DllLoader::Unload ADVAPI32.DLL
16:44:02 T:1124 M:2154684416 DEBUG: Win32DllLoader::Load(USER32.DLL)
16:44:02 T:1124 M:2154684416 DEBUG: FreeLibrary(USER32.DLL) -> 074535C8
16:44:02 T:1124 M:2154684416 DEBUG: Win32DllLoader::Unload USER32.DLL
16:44:08 T:1124 M:2155982848 DEBUG: FreeLibrary(KERNEL32.DLL) -> 07453578
16:44:08 T:1124 M:2155982848 DEBUG: Win32DllLoader::Unload KERNEL32.DLL
16:44:09 T:4720 M:2155368448 DEBUG: Thread 4720 terminating (autodelete)
16:44:10 T:1124 M:2155515904 DEBUG: Win32DllLoader::Load(secur32.dll)
16:44:10 T:2208 M:2155425792 DEBUG: thread start, auto delete: 0
16:44:10 T:2208 M:2155425792 DEBUG: CIMDB::InternalFindMovie: Searching for 'filme' using OFDB scraper (path: 'C:\Users\Wohnzimmer\AppData\Roaming\XBMC\addons\metadata.ofdb.de', content: 'movies', version: '1.0.16')
16:44:10 T:2208 M:2155425792 DEBUG: scraper: CreateSearchUrl returned <url>http://www.ofdb.de/view.php?page=fsuche&Typ=N&AB=-&Titel=filme&Genre=-&Note=&HLand=-&Jahr=&Regie=&Darsteller=&Wo=-&Wer=&Land=-&Freigabe=-&Cut=A&Indiziert=A&Info=&Submit2=Suche+ausf%C3%BChren</url>
nothing to do with the scraper. you probably have set 'scan by foldername' on a folder where you don't want to scan by foldername.
Thank you for your answer.

I found One Problem. If the article (the, der, die, das) is in front of the movie name, the scraper will not find anything.

Is it possible to cut this off?

Thanks
olum
of course, you have full regexp power, process the given string as necessary in CreateSearchUrl