OFDB scraper stopped working
#31
it´s still working for me too...

i fixed the tabbing issues, renamed it back to 'OFDb' and deleted outcommented code. hopefully the orig authors are ok with it Wink
and hopefully it´s more xbmc-like now Smile

Fixed OFDb scraper (code by asm_alien and Bra!n)


greetz and happy easter days,
bootsy
#32
I don't get it. I downloaded your ofdb.xml file, deleted the old one on my xbox, put yours in place, and set the content of the folder to movies -> ofdb(2). But looking up ANY of my movies results in me getting the "enter movie title" dialogue, not matter how I shorten the movie title (I tried "Simpsons", "300", "Hot Fuzz" etc.), using the imDB scraper I get results just fine.
#33
I can't seem to find an edit button, so sorry for double posting.

I can also reach the ofdb website using my PCs webbrowser, so it's not related to unavailable-nes of the website.
#34
same problem here. no search results
#35
Their is also a problem if use NFO-Files with the url (also no search result) test with the T3CH Build 23.03.2008

The nfo file have the content:

Quote:http://www.ofdb.de/film/102333
for the german movie "Glück im Spiel"

The debug log shows that no imdb-url is available in the nfo-file.

Quote:15:48:55 M: 41320448 DEBUG: CVideoDatabase::GetMovieInfo (xbms://192.168.33.152:1400/Drama1/Drama/Glueck Im Spiel/Glueck Im Spiel.mpg), query = select idMovie from movie where idFile=3647
15:48:55 M: 41320448 DEBUG: Found matching nfo file: xbms://192.168.33.152:1400/Drama1/Drama/Glueck Im Spiel/Glueck Im Spiel.nfo
15:48:55 M: 41320448 DEBUG: Not a proper xml nfo file (Error document empty., col 0, row 0)
15:48:55 M: 41320448 ERROR: Unable to find an imdb url in nfo file: xbms://192.168.33.152:1400/Drama1/Drama/Glueck Im Spiel/Glueck Im Spiel.nfo
15:48:55 M: 41316352 INFO: Loading skin file: DialogProgress.xml
15:48:55 M: 41320448 DEBUG: Load DialogProgress.xml: 34.17ms (31.52 ms xml load)
15:48:55 M: 41287680 DEBUG: Alloc resources: 17.35ms (0.00 ms skin load, 0.28 ms preload)
15:48:56 M: 40370176 INFO: Get URL: http://www.movie-xml.com/interfaces/GetS...im%20spiel
15:48:56 M: 40333312 ERROR: Server returned: 404 Not Found
15:48:56 M: 40370176 ERROR: CIMDB::InternalFindMovie: Unable to retrieve web site
15:48:56 M: 40370176 ERROR: IMDb::Error looking up movie Glueck Im Spiel
15:48:56 M: 40894464 INFO: Loading skin file: DialogKeyboard.xml
15:48:56 M: 40333312 DEBUG: Load DialogKeyboard.xml: 107.54ms (37.05 ms xml load)
15:48:56 M: 40271872 DEBUG: Alloc resources: 14.48ms (0.00 ms skin load, 4.04 ms preload)
15:49:25 M: 40148992 DEBUG: SECTION:UnloadDelayed(SECTION: LIBXBMS)

and try to connect to a website http://www.movie-xml.com
#36
Zippolighter Wrote:Their is also a problem if use NFO-Files with the url (also no search result) test with the T3CH Build 23.03.2008

The nfo file have the content:

for the german movie "Glück im Spiel"

The debug log shows that no imdb-url is available in the nfo-file.



and try to connect to a website http://www.movie-xml.com

And this has what to do with OFDB?
14 years using XBMP, XBMC and Kodi! :)
#37
Hey C-Quel,
I have in the nfo-file a url from a movie from the ofdb website.

So in the past the information was found in the ofdb website and add to the db.
But now, they don´t found a entry and make something what have not to do with the ofdb. I don´t know why.
#38
Zippolighter Wrote:Their is also a problem if use NFO-Files with the url (also no search result) test with the T3CH Build 23.03.2008

The nfo file have the content:

for the german movie "Glück im Spiel"

The debug log shows that no imdb-url is available in the nfo-file.


I think this because the URL is wrong and result in a 404 Error. The correct URL in the NFO has to be http://www.ofdb.de/film/102333,Gl%C3%BCck-im-Spiel

Maybe since they changed their site structure...:confused2:

Regards!
#39
For my point of view I think their is a generally problem with some scrapers if nfo-files with url in use and additional a special problem if the ofdb scraper in use.

1. the problem with the ofdb scraper:
I use different links for movies with and without german special characters (ü,ö,ä), but everytime in the log is shown
Quote:16:19:37 M: 41467904 DEBUG: Not a proper xml nfo file (Error document empty., col 0, row 0)
16:19:37 M: 41467904 ERROR: Unable to find an imdb url in nfo file: xbms://192.168.33.152:1400/Drama1/Drama/Glück Im Spiel/VIDEO_TS/VIDEO_TS.nfo

2. generally problem with scraper
if I use a link from the german imdb site in the nfo-file http://german.imdb.com/title/tt0338216/
in the log is shown that they use the imdb scraper with the default settings and not with the depence language variable (aksa.imdb.com will use, correct is german.imdb.com)
Quote:16:21:51 M: 41037824 DEBUG: Found matching nfo file: xbms://192.168.33.152:1400/Drama1/Drama/Glück Im Spiel/VIDEO_TS/VIDEO_TS.nfo
16:21:51 M: 41037824 DEBUG: Not a proper xml nfo file (Error document empty., col 0, row 0)
16:21:51 M: 41037824 DEBUG: -- nfo-scraper: imdb.xml
16:21:51 M: 41037824 DEBUG: -- nfo url: http://akas.imdb.com/title/tt0338216/
16:21:51 M: 40513536 INFO: Get URL: http://akas.imdb.com/title/tt0338216/

I use the same nfo-file with different urls (from the ofdb and from the german imdb) everytime I get the message that "Not a proper xml nfo file", but for the imdb link it use the value for the movie with the aksa.imdb.com.
#40
I've been looking to the scraper scripting for the ofdb and have written the scraper from scratch.
The scraper now supports everything what will be shown in XBMC and did also use some options in the settings. (I like that).

The only problem still ramains is that for the url request the string of the movie comes in ASCII. For title with german umlaute (ä, ü, ...) or french stuff (ê, ú, etc.) this means the title will not be found because OFDB requests UTF-8 formated strings.

I thought about converting them in regex, but i dont think that the search and replace feature is available in a scraper.

Is there a way to make XBMC giving UTF-8 formated strings instead of ASCII to the scraper? This wouldn't hurt the english scrapers becaus everything below 128 is the same in UTF-8 and ASCII.

Or does anyone have an idee how to convert in the scraper script?
#41
if it delivers ascii that is an error - aka i will look into a source fix
#42
any news on string encoding issue?
#43
fixed in svn
 
Thread Rating:
  • 2 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
OFDB scraper stopped working52