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
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Change line 122 to

Code: Select all

      if {[regexp {^Latest Episode@(\d+)x(\d+)\^([\w\'\.\, \#\&\@\:\(\)\-]+)\^([\w\/]+)$} $line -> season episode eptitle epDate]} {
and line 125 to

Code: Select all

      if {[regexp {^Next Episode@(\d+)x(\d+)\^([\w\'\.\, \#\@\&\:\(\)\-]+)\^([\w\/]+)$} $line -> season episode eptitle epDate]} {
That should fix the problem.
T
Tammik
Voice
Posts: 10
Joined: Mon Jan 23, 2006 9:41 am

Post by Tammik »

yepp that worked..


found another bug now..

when i typ !today now... it show mondays show.. but it is still sunday..
so when i type !schedule mon i will get tue show insted..

is you understand what i mean..
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

What's your local time? I've had that happen to me near midnight, but haven't had a chance to figure out what is causing it.
T
Tammik
Voice
Posts: 10
Joined: Mon Jan 23, 2006 9:41 am

Post by Tammik »

my time is
Sun Feb 12 23:40:14 CET 2006
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Comment out line 154 ... a quick once over and I'm not sure why I had that line in there and it could account for the problem.

Code: Select all

   #set systemTime [expr $systemTime + 3600]
T
Tammik
Voice
Posts: 10
Joined: Mon Jan 23, 2006 9:41 am

Post by Tammik »

yepp great m8 works fine now..
J
JAFO
Voice
Posts: 19
Joined: Thu Oct 13, 2005 1:18 pm

Post by JAFO »

Tried it , Loving it ...

Nice job GaveUp , thx :D
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Does this script still work?

Post by loc »

Hi, i've installed this script today, but it doesn't appear to work? Any command i give !today !tomorrow, whatever, gives no channel output OR errors/messages on the partyline. I've copied the lastest code snippets from the author into my tcl. Any ideas?
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

The script is still working fine. If it's not working for you make sure you can load this page as that is what is parsed.
q
qw3rty
Voice
Posts: 4
Joined: Thu Apr 06, 2006 11:49 pm

Post by qw3rty »

first off let me say that the script is awesome... works and looks great...

secondly it would be even more awesome if you could make the output more configurable i.e. colors and also if you could make more variables i.e. show classification , network , genre , etc...
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Post by loc »

GaveUp wrote:The script is still working fine. If it's not working for you make sure you can load this page as that is what is parsed.
Well i've tried version 0.2 and 0.5 and neither works. I went to that page you said, and lynx on my shell parses it fine. If i do !today in the channel absolutely nothing happens, no message on partyline or anything. It's like the bot is not picking it up. What could this be? Do i need to load any additional tcl's to get this script to work? Could it be this http package i'm missing? How do i check if i have it, and if not, where do i get it?

This is my setup info:
OS: Linux 2.6.15-1-686-smp
Tcl library: /usr/lib/tcl8.4
Tcl version: 8.4.12 (header version 8.4.11)
Tcl is threaded.

Thanks, loc
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Code: Select all

set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [ncgi::encode [string trimleft $text]]] ""]]
#set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [parse:tvrage.com.encodeURL [string trimleft $text]]] ""]] 
Try commenting out the first line and uncommenting the second, although if that was the problem an error should be shown.
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Post by loc »

GaveUp wrote:

Code: Select all

set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [ncgi::encode [string trimleft $text]]] ""]]
#set token [http::geturl [join [list "http://www.tvrage.com/quickinfo.php?show=" [parse:tvrage.com.encodeURL [string trimleft $text]]] ""]] 
Try commenting out the first line and uncommenting the second, although if that was the problem an error should be shown.
I already tried that, i've read this entire thread and included all bugfixes ect. There is no reply at all from the bot. As i said it appears its not seeing the !today command in the channel. Any other ideas? I really want to get this working :/
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Short of adding a number of putlog statments all over the place to see just what it does or doesn't do I'm clueless.
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Post by loc »

GaveUp wrote:Short of adding a number of putlog statments all over the place to see just what it does or doesn't do I'm clueless.
Have you enabled enough error output to the script? Or could it be i missing the http package? Where do i install it?
Post Reply