| View previous topic :: View next topic |
| Author |
Message |
meks Voice
Joined: 09 Jun 2003 Posts: 16
|
Posted: Tue Feb 27, 2007 5:51 pm Post subject: |
|
|
hi everyone!
i just want to say thanks for all these continous updates, nice work here really!
on a sidenote, i just downloaded the new script imdb.2112.tcl and replaced the old one with it. however it seems this version is still omitting the rating, is it?
reason i'm asking is because, even if i leave the standard rosc output untouched, i only get the following output:
| Code: | [27/02/07; 22:30:25] <Pezibaer> Ghost Rider (2007) - http://www.imdb.com/title/tt0259324/
[27/02/07; 22:30:27] <@meks|dsk> oh
[27/02/07; 22:30:27] <Pezibaer> Tagline : His Curse Will Become His Power
[27/02/07; 22:30:29] <Pezibaer> Genre : Action / Fantasy / Thriller
[27/02/07; 22:30:31] <@meks|dsk> spam!
[27/02/07; 22:30:31] <Pezibaer> MPAA : Rated PG-13 for horror violence and disturbing images.
[27/02/07; 22:30:33] <Pezibaer> Director: Mark Steven Johnson -
[27/02/07; 22:30:35] <Pezibaer> Writer : Mark Steven Johnson (screenplay) - Mark Steven Johnson (screen story)
[27/02/07; 22:30:37] <Pezibaer> Runtime : USA:114 min
[27/02/07; 22:30:39] <Pezibaer> Country : USA
[27/02/07; 22:30:41] <Pezibaer> Language: English
[27/02/07; 22:30:43] <Pezibaer> Budget : $120,000,000 (estimated)
[27/02/07; 22:30:45] <Pezibaer> 1st week: PHP 32,320,414 (Philippines) (18 February 2007) (90 Screens)
[27/02/07; 22:30:47] <Pezibaer> Sound : SDDS (8 channels) / Dolby Digital / DTS
[27/02/07; 22:30:49] <Pezibaer> Plot : Based on the Marvel character, stunt motorcyclist Johnny Blaze gives up his soul to become a hellblazing vigilante, to fight against power hungry Blackheart, the son of the devil himself.
[27/02/07; 22:30:51] <Pezibaer> Cast : (Showing first 5 only)
[27/02/07; 22:30:53] <Pezibaer> Matt Long ... Young Johnny Blaze
[27/02/07; 22:30:55] <Pezibaer> Raquel Alessi ... Young Roxanne Simpson
[27/02/07; 22:30:57] <Pezibaer> Brett Cullen ... Barton Blaze
[27/02/07; 22:30:59] <Pezibaer> Peter Fonda ... Mephistopheles
[27/02/07; 22:31:01] <Pezibaer> Nicolas Cage ... Johnny Blaze/Ghost Rider
|
as you can see, the rating (as well as some other unimportant stuff) is left out.
any clues as to how to solve that?
kind regards and thanks for the script  |
|
| Back to top |
|
 |
OV2 Voice
Joined: 21 Jan 2006 Posts: 35
|
|
| Back to top |
|
 |
meks Voice
Joined: 09 Jun 2003 Posts: 16
|
Posted: Tue Feb 27, 2007 8:07 pm Post subject: |
|
|
hi ov2!
i appreciate your reply, however i already tried the version you linked and it as well appears to be not up to date, the output i get by attempting to request ghost rider is:
| Code: | [28/02/07; 01:04:24] <@meks|dsk> !imdb ghost rider
[28/02/07; 01:04:28] <Pezibaer> Ghost Rider (2007) - http://www.imdb.com/title/tt0259324/
[28/02/07; 01:04:30] <Pezibaer> Genre: Action / Fantasy / Thriller
[28/02/07; 01:04:32] <Pezibaer> Tagline: His Curse Will Become His Power
[28/02/07; 01:04:34] <Pezibaer> Synopsis: Based on the Marvel character, stunt motorcyclist Johnny Blaze gives up his soul to become a hellblazing vigilante, to fight against power hungry Blackheart, the son of the devil himself.
[28/02/07; 01:04:36] <Pezibaer> Runtime: 114 mins.
|
the announcement is set the following:
| Code: | set announce(IMDBIRC) "%bold%title%bold - %url\n|Genre: %genre|\n|Tagline: %tagline|\n|Synopsis: %plot|\n|Rating: %rating (%votes votes) %rbar| |%color3%top250%color|\n|Awards: %awards|\n|Runtime: %time mins.|"
|
as you see, still no rating-output.
sorry, i know this is disturbing  |
|
| Back to top |
|
 |
OV2 Voice
Joined: 21 Jan 2006 Posts: 35
|
Posted: Tue Feb 27, 2007 8:17 pm Post subject: |
|
|
| Well - I fixed it before I made my post, so if you download the newest version it should work... |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Tue Feb 27, 2007 9:19 pm Post subject: |
|
|
Note that I'm no longer updating the copy I had online, it should in fact be offline, so maybe you got a cached copy.
Edit: Weird, I'd renamed the file to *.old, but dandy.net was still providing it under the original *.txt name..I have no idea why. Anyway, it's now gone completely.
And yes, the new version from ov2 works  |
|
| Back to top |
|
 |
meks Voice
Joined: 09 Jun 2003 Posts: 16
|
Posted: Tue Feb 27, 2007 9:30 pm Post subject: |
|
|
hi again,
thanks for your replies, i'm afraid its still not working
i tried to re-download the archive, apparently the output remained the same and theres still no rating.
i tried it using the http package as well as curl, no difference whatsoever.
any suggestions? or any information you want me to post? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Feb 28, 2007 1:25 am Post subject: |
|
|
Did you rehash? It does work. Try enabling the debug setting to see what's going on if you're still not seeing the ratings. This is what I get as a result, using the announce(IMDBIRC) setting posted previously with all tags enabled:
| Code: |
<rosc> .imdb star wars
<TheEntity> Star Wars (1977) - http://www.imdb.com/title/tt0076759/
<TheEntity> Tagline : A long time ago in a galaxy far, far away...
<TheEntity> Genre : Action / Adventure / Family / Fantasy / Sci-Fi
<TheEntity> Awards : Won 6 Oscars. Another 28 wins & 18 nominations
<TheEntity> Rating : 8.8/10 (185,772 votes) [*********-] Top 250: #12
<TheEntity> MPAA : Rated PG for sci-fi violence and brief mild language. (special edition, DVD version)
<TheEntity> Director: George Lucas -
<TheEntity> Writer : George Lucas (written by)
<TheEntity> Runtime : 121
<TheEntity> Country : USA
<TheEntity> Language: English
<TheEntity> Budget : $13,000,000 (estimated)
<TheEntity> 1st week: $35,906,661 (USA) (2 February 1997) (2 Screens)
<TheEntity> Sound : 70 mm 6-Track (70 mm prints) / DTS 70 mm (special edition) (70 mm prints) (Europe) / DTS (special edition) / Dolby Digital (special edition) / Dolby (35 mm prints) / SDDS (special edition)
<TheEntity> Plot : Luke Skywalker leaves his home planet, teams up with other rebels, and tries to save Princess Leia from the evil clutches of Darth Vader.
<TheEntity> Cast : (Showing first 5 only)
<TheEntity> Mark Hamill ... Luke Skywalker
<TheEntity> Harrison Ford ... Han Solo
<TheEntity> Carrie Fisher ... Princess Leia Organa
<TheEntity> Peter Cushing ... Grand Moff Tarkin
<TheEntity> Alec Guinness ... Ben Obi-Wan Kenobi
<TheEntity> [end of IMDb entry]
|
|
|
| Back to top |
|
 |
gr11x Voice
Joined: 28 Feb 2007 Posts: 3
|
Posted: Wed Feb 28, 2007 5:55 pm Post subject: |
|
|
| meks wrote: | hi again,
thanks for your replies, i'm afraid its still not working
i tried to re-download the archive, apparently the output remained the same and theres still no rating.
i tried it using the http package as well as curl, no difference whatsoever.
any suggestions? or any information you want me to post? |
I think that this line | Code: | | regsub -all {\|[^\|]*?N/A[^\|]*?\|} $output "" output |
in imdb.tcl can cause problems if you have more than one variable per output line.
It filters all announce parts which are surrounded by |'s and contain the string "N/A".
So if you e.g. added a rating announce like this | Code: | | |Rating: %rating (%votes votes) %top250| |
then almost all !imdb requests but 350 exceptions (top 250 and bottom 100) will not show ratings because their top250 variable contains "N/A".
Try a rating announce like this | Code: | | |Rating: %rating (%votes votes)|| %top250| |
instead as suggested in the default example. |
|
| Back to top |
|
 |
OV2 Voice
Joined: 21 Jan 2006 Posts: 35
|
Posted: Wed Feb 28, 2007 6:06 pm Post subject: |
|
|
| That's right - having more than one variable on one line and still suppressing the corresponding output if no data is found is exactly the point of the encapsulation with the pipe character. |
|
| Back to top |
|
 |
chz Voice
Joined: 28 Feb 2007 Posts: 1 Location: california
|
Posted: Wed Feb 28, 2007 8:02 pm Post subject: rating doesnt work |
|
|
meks is correct, the rating does not display at all. I have the exact problem and even tried what gr11x said to do, and it didn't fix the problem. So is there anything we can do to fix this? I really love this script, but the rating is the most important part.
Thanks,
chz |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Feb 28, 2007 8:03 pm Post subject: |
|
|
This is what I use, as posted previously:
| Code: |
|%boldRating :%bold %rating (%votes votes) %rbar| |%color5%top250%color|\n\
|
It works just fine when there is missing data. Note that the \ at the end of the line is because of how I format the entire announce(IMDBIRC) var, so that it's visually easier to see the entire block of code (see the previous page in this thread for the entire setting I use.)
This is how the result looks when all data is present:
Rating : 8.8/10 (185,974 votes) [*********-] Top 250: #12
And when some data is missing (eg, the top/bottom 250):
Rating : 8.4/10 (402 votes) [********--]
Edit: I thought the problem might've been the lack of a space in between the || chars in the other peoples' string, but I just tested it as
|%boldRating :%bold %rating (%votes votes) %rbar||%color5%top250%color|\n\
and that works as well. Tried it without color and bold codes, that worked too. And just on the off chance that my copy of the script had custom changes still that might've effected the result, I put in a clean copy from ov2's site, put in my usual announce(IMDBIRC) setting, did a restart, and tried it again, and that also worked.
So, I dunno what all the complaints are about. Post your entire announce(IMDBIRC) setting and we'll see if yours is broke. Also post which movies you're trying that aren't working.
Last edited by rosc2112 on Wed Feb 28, 2007 8:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
OV2 Voice
Joined: 21 Jan 2006 Posts: 35
|
Posted: Wed Feb 28, 2007 8:11 pm Post subject: |
|
|
| @chz: did you use the newest version (28.02.2007) with the default output? |
|
| Back to top |
|
 |
meks Voice
Joined: 09 Jun 2003 Posts: 16
|
Posted: Thu Mar 08, 2007 1:36 pm Post subject: |
|
|
hello again,
now i knew that its only a matter of time till i get a working copy out of you
i'm just posting to let you know that your latest release (28th feb) is working as expected, including the rating.
thanks |
|
| Back to top |
|
 |
k0g00t Voice
Joined: 07 Jun 2006 Posts: 5
|
Posted: Sun Apr 08, 2007 3:32 pm Post subject: |
|
|
Imdb pages changed again.
08.04.2007
- director and writing credits work again
- checking scene name release eg. !imdb Scary.Movie.4.2006.PAL.DVDR-AnyGroup
09.04.2007
- some problem with writers fixed
30.06.2007
- new search layout
New get it here: http://k0g00t.cba.pl/
Last edited by k0g00t on Sun Jun 29, 2008 5:17 am; edited 3 times in total |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Apr 08, 2007 7:27 pm Post subject: |
|
|
Thanks
Just one question for ya, what is the scene check for? I'm guessing it's when people ask for a particular release, like 'star wars uncut' ? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|