This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

TVRage.com Schedule Script (Latest: 2.0)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
H
Hellster
Voice
Posts: 22
Joined: Thu Aug 10, 2006 7:35 pm

Post by Hellster »

looks like TVRage has changed a lot of stuff on their site. The only thing working in mine now is the schedule, and everything else is broken.
s
sephrond
Voice
Posts: 4
Joined: Sun Apr 11, 2010 5:28 pm

Post by sephrond »

For me,
leaving the Schedule URL
"http://www.tvrage.com/quickschedule.php?country="
and changing the INFO URL to
"http://services.tvrage.com/tools/quickinfo.php"
makes a working bot!
H
Hellster
Voice
Posts: 22
Joined: Thu Aug 10, 2006 7:35 pm

Post by Hellster »

Awesome it worked , thanx a lot :)
M
MePH
Voice
Posts: 5
Joined: Mon Apr 12, 2010 11:03 am

Post by MePH »

Thanks sephrond!

For people using the dlx-tvrage_v2.3.tcl this also works.

Do like sephrond says & replace "http://www.tvrage.com/quickinfo.php" with "http://services.tvrage.com/tools/quickinfo.php"
a
ace530
Voice
Posts: 2
Joined: Thu Apr 29, 2010 9:07 pm

tvrage.tcl error/problem

Post by ace530 »

I hate to ask again but i am. I have this problem when i rehash the bot I get this problem. Why? Bot starts fine just on rehash kills the bot. Any help would be great.

[19:31] <INFO> [19:30] Tcl error in file 'eggdrop.conf':
[19:31] <INFO> [19:30] can't read "tvrage(enableTVLog)": no such variable
[19:31] <INFO> while executing
[19:31] <INFO> "if { $tvrage(enableTVLog) } {
[19:31] <INFO> if { [file exists "$tvrage(tvlog)"] } {
[19:31] <INFO> set tvrage(tvlogSize) [file size $tvrage(tvlog)]
[19:31] <INFO> set tvrage(tvlogTimer) ..."
[19:31] <INFO> (procedure "init" line 10)
[19:31] <INFO> invoked from within
[19:31] <INFO> "init"
[19:31] <INFO> (in namespace eval "::tvrage" script line 985)
[19:31] <INFO> invoked from within
[19:31] <INFO> "namespace eval tvrage {
[19:31] <INFO> if [info exists tvrage] {
[19:31] <INFO> unset tvrage
[19:31] <INFO> }
[19:31] <INFO> set tvrage(version) "v2.0b5"
[19:31] <INFO> set tvrage(versionLine) "TV
[19:31] <INFO> [19:30] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
s
sadnem
Voice
Posts: 10
Joined: Thu Mar 18, 2010 5:58 pm

Post by sadnem »

sephrond wrote:For me,
leaving the Schedule URL
"http://www.tvrage.com/quickschedule.php?country="
and changing the INFO URL to
"http://services.tvrage.com/tools/quickinfo.php"
makes a working bot!
That fixed my problem too
s
sephrond
Voice
Posts: 4
Joined: Sun Apr 11, 2010 5:28 pm

New Issue

Post by sephrond »

It is possible this is some kind of network congestion issue, but beginning yesterday, the first !showinfo returns with the {%%show_name%%} Latest Episode :: N/A Next Episode: N/A <~> but if you request the !showinfo immediately after getting the blank info, it works fine. I have moved the http timeout from 20 sec to 60 sec, all that does is takes 20 to 60 seconds on that first request for !showinfo before returning the blank info. Changeing the URL just returns blank info immediately every time requested. Anyone have any ideas on this?
N
NorthSide
Voice
Posts: 8
Joined: Mon Dec 08, 2008 8:31 pm

Tvrage.tcl Not Working Still

Post by NorthSide »

!updatecache US and it doesnt do anything so i try !updatecache and same deal! :evil: i keep getting

Title :: {%%show_name%%} <> URL :: {%%show_url%%} <> Premiered :: {%%premiered%%} <> Latest Episode :: N/A <> Next Episode :: N/A <> Country :: {%%country%%} <> Status :: {%%status%%}

i also updated the links and that didnt help but the !today !yesterday !tomorrow work great!

looks like !primetime isnt work now also!!! :cry:
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

tvrage.tcl error: dict required.

I am running TCL 8.5 on a new machine, what am I doing wrong. It should be integrated with 8.5 right?
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

Okay turns out tcl8.4 and tcl8.5 on the same machine is not a smart idea ;)

Anyway, tvrage seems to be having a lot of problems. Even with the correct URLs in place as mentioned earlier this week.

Someone maybe a solution?
N
NorthSide
Voice
Posts: 8
Joined: Mon Dec 08, 2008 8:31 pm

Tvrage.tcl

Post by NorthSide »

looks like everything is working again for me but the one trigger!!!

<NorthSide> !primetime
<BoT> New TV Shows for Thursday, 20 May 2010 ***All Times in EST/EDT***

then it just stops there and doesnt list any channels! maybe someone could help out with this. its no biggie thou atleast the rest of the triggers works!
N
Neeq
Voice
Posts: 8
Joined: Thu Mar 01, 2007 10:21 am

Re: Tvrage.tcl Not Working Still

Post by Neeq »

NorthSide wrote:!updatecache US and it doesnt do anything so i try !updatecache and same deal! :evil: i keep getting

Title :: {%%show_name%%} <> URL :: {%%show_url%%} <> Premiered :: {%%premiered%%} <> Latest Episode :: N/A <> Next Episode :: N/A <> Country :: {%%country%%} <> Status :: {%%status%%}

i also updated the links and that didnt help but the !today !yesterday !tomorrow work great!

looks like !primetime isnt work now also!!! :cry:
A lot of these errors are being caused by the tvrage API being incredibly slow and the query timing out, often my queries are taking ~75 seconds to be returned, both within a web browser and through tcl.

For example, open this in your browser and see just how long you have to wait: http://services.tvrage.com/tools/quicki ... =community

The staff are currently 'monitoring' the slow loads, so I assume they will do something about it soon enough.
K
Killerchronic
Voice
Posts: 4
Joined: Wed Apr 25, 2007 7:53 am

Post by Killerchronic »

sephrond wrote:For me,
leaving the Schedule URL
"http://www.tvrage.com/quickschedule.php?country="
and changing the INFO URL to
"http://services.tvrage.com/tools/quickinfo.php"
makes a working bot!
Thanks, working again :)
e
egguser
Voice
Posts: 3
Joined: Tue May 18, 2010 5:12 pm

Post by egguser »

After I install the script and add tvrage to my bot's config line, I get this:
Error trying to set +tv for #mychannel, invalid mode.

This is the exact command I used in DCC chat with the bot: .chanset #mychannel +tv

Also, upon rehashing the bot, I'm seeing this:
11:48 <bot> [23:48] Loading TVRage.com Primetime Schedule Script v2.0b5
11:48 <bot> [23:48] tvrage.tcl error: dict required.

Any idea what I need to change?
s
sephrond
Voice
Posts: 4
Joined: Sun Apr 11, 2010 5:28 pm

Post by sephrond »

I found a way so showinfo responds quickly with info, and since i made this change, have yet to see an instance that returns the {%%show_name%%} etc etc.

The problem stems from services.tvrage.com resolving to two IP addresses, evidently one of them is slow or doesnt even work.

what i did was enter the following into my hosts file:

Code: Select all

services.tvrage.com          80.246.178.98
makes showinfo solid as a rock!

Of course this will break when or if tvrage changes either the URL or IP, so one must remember what you did in the hosts file when things start not working again. :D
Post Reply