I just noticed the site hosted by spithash doesn't work. I didn't realize this, sorry! The domain bsdunix.info isn't registered anymore, so I doubt it will come back online anytime soon .
sAnexeh wrote:I just noticed the site hosted by spithash doesn't work. I didn't realize this, sorry! The domain bsdunix.info isn't registered anymore, so I doubt it will come back online anytime soon .
fr3n wrote:I'm using that tcl on an eggdrop which is installed on a OVH server, the titles are in French. How do i get it in English please?
According to IMDb this should work:
Please also remember that if you access the site through the following URL, you will always see films listed under their original titles regardless of your login status or site preferences: http://akas.imdb.com
This was changed in imdb.tcl in 2011 by znuff. Can you confirm you're using the following (latest) code:
set imdburl "http://akas.imdb.com"
set imdbsearchurl "http://akas.imdb.com/find?s=tt&exact=false&"
edit: if you are running the latest version, make sure you didn't forget to rehash/restart your eggdrop config, it should say "IMDB Info Version 25.03.2016: LOADED" when you rehash
If it still doens't work, can you perhaps enable debug (set IMDB_DEBUG 1 in imdb.tcl) and paste the output of logging when doing a lookup of a movie?
[12:28:32] IMDB_DEBUG toput_result == PRIVMSG #fren
[12:28:32] IMDB_DEBUG searchString: "the%20black%20knight"
[12:28:32] IMDB_DEBUG http://akas.imdb.com/find?s=tt&exact=false&q=the%20black%20knight
[12:28:32] IMDB_DEBUG redirect 1
[12:28:32] IMDB_DEBUG no exact match - displaying first title on page
[12:28:32] IMDB_DEBUG redirect 1 = http://akas.imdb.com/title/tt0046786/
[12:28:34] IMDB_DEBUG title == Le serment du chevalier noir (1954)
[12:28:34] IMDB_DEBUG aka == Le serment du chevalier noir
[12:28:34] IMDB_DEBUG director == Tay Garnett
[12:28:34] IMDB_DEBUG writer == Alec Coppel (original screenplay), Dennis O'Keefe (additional dialogue) |1 more credit
[12:28:34] IMDB_DEBUG release date == 1 July 1955 (France)
[12:28:34] IMDB_DEBUG genre == Adventure
[12:28:34] IMDB_DEBUG tagline == New excitement ! New thrills ! Alan Ladd's biggest adventure !
[12:28:34] IMDB_DEBUG plot == As a blacksmith John can't hope to win the hand of Linet, daughter of the Earl of Yeonil. Off he goes to prove himself a noble knight. He makes himself a suit of armor with a winged chicken helmet and runs around fighting for King Arthur as the Black Knight. Evil doings include plots by visiting kings and a Druid sacrificial ceremony at Stonehenge.
[12:28:34] IMDB_DEBUG keywords == king || knight || king arthur || stonehenge || blacksmith || See All (43)
[12:28:34] IMDB_DEBUG awards == N/A
[12:28:34] IMDB_DEBUG comment == N/A
[12:28:34] IMDB_DEBUG rating == 5.2 | votes == 522 | rating bar == %color14[%color7*****%color7-----%color14]%color
[12:28:34] IMDB_DEBUG top250 == top/bottom:N/A
[12:28:34] IMDB_DEBUG mpaa == N/A
[12:28:34] IMDB_DEBUG runtime == 85
[12:28:34] IMDB_DEBUG country == UK
[12:28:34] IMDB_DEBUG language == English
[12:28:34] IMDB_DEBUG movie_color == Color(Technicolor)
[12:28:34] IMDB_DEBUG aspect_ratio == 1.37 : 1
[12:28:34] IMDB_DEBUG soundmix == Mono(Western Electric Recording)
[12:28:34] IMDB_DEBUG cert == N/A
[12:28:34] IMDB_DEBUG film_locations == Black Park, Iver Heath, Buckinghamshire, England, UK
[12:28:34] IMDB_DEBUG company == N/A
[12:28:34] IMDB_DEBUG cast_multiline == Cast overview, first billed only: Alan Ladd ... John Patricia Medina ... Linet André Morell ... Sir Ontzlake (as Andre Morell) Harry Andrews ... Earl Of Yeonil Peter Cushing ... Sir Palamides Anthony Bushell ... King Arthur Laurence Naismith ... Major Domo Patrick Troughton ... King Mark Bill Brandon ... Bernard Ronald Adam ... The Abbot Basil Appleby ... Sir Hal Thomas Moore ... The Apprentice Jean Lodge ... Queen Guenevere Pauline Jameson ... Lady Yeoni
[12:28:34] IMDB_DEBUG cast_line == Cast overview, first billed only: Alan Ladd ... John Patricia Medina ... Linet André Morell ... Sir Ontzlake (as Andre Morell) Harry Andrews ... Earl Of Yeonil Peter Cushing ... Sir Palamides Anthony Bushell ... King Arthur Laurence Naismith ... Major Domo Patrick Troughton ... King Mark Bill Brandon ... Bernard Ronald Adam ... The Abbot Basil Appleby ... Sir Hal Thomas Moore ... The Apprentice Jean Lodge ... Queen Guenevere Pauline Jameson ... Lady Yeonil Joh
[12:28:34] IMDB_DEBUG budget == N/A
[12:28:34] IMDB_DEBUG screens == N/A
I think IMDB uses geolocation;
Default Title Display: For users that are not logged into www.imdb.com, and as the default for our registered users who have not selected a preference - we will display the localized version of the title they are looking for based on their geo-location. Users in France will see the title as released in France.
fr3n wrote:[12:28:34] IMDB_DEBUG title == Le serment du chevalier noir (1954)
[12:28:34] IMDB_DEBUG release date == 1 July 1955 (France)
I think IMDB uses geolocation;
I think you are right. No idea why akas.imdb.com does this as they clearly state it should output in English only. I guess they changed their mind or they simply forgot.
I was able to fix this issue by using X-FORWARDED-FOR in the request headers to akas.imdb.com. I've also fixed some other small (performance) issues and changed the default announce setting to what I'm using because I cba to change it to default every time I need to fix something
For you the new setting "Language_IP" is relevant in imdb.tcl. I hope I made it easy enough for you
Is it possible to fix awards? It shows "N/A" (and only in log debug) for films that have them.
Thanks!
I hope so! All I could find for awards without doing an additional lookup is something like "Nominated for 2 Oscars. Another 1 win & 4 nominations". I hope that's what you were looking for.
Taken wrote:Now... two little format fix for $mcolor :
Color|BlackandWhite to Color | Black and White
I've updated the script. %mcolor should be fixed now. If it isn't, could you give me the name of the movie you're experiencing trouble with?
Taken wrote:And $plot (with more than 700 chars) which cuts lines without \n really.
I don't know what you mean by this. Could you elaborate on this? What movie, what happens, etc?
On a general note, I also fixed %country, %language and %soundmix (applied trim), %wcredits, %keywords, %country, and %language (removed extra spaces) and %company (which was broken in general)
Xplor3r wrote:I got the latest code, but when using imdb command on channel still shows 2011 version. why?
Are you sure you loaded the correct script? Is it correctly configured in eggdrop.conf? When you telnet to the eggdrop and type .rehash after logging in you should see a message like "[19:03] IMDB Info Version 13.08.2016: LOADED"