| View previous topic :: View next topic |
| Author |
Message |
GaveUp Op
Joined: 19 Jan 2006 Posts: 139
|
Posted: Sun Feb 12, 2006 6:13 pm Post subject: |
|
|
Change line 122 to
| Code: | if {[regexp {^Latest Episode@(\d+)x(\d+)\^([\w\'\.\, \#\&\@\:\(\)\-]+)\^([\w\/]+)$} $line -> season episode eptitle epDate]} {
|
and line 125 to
| Code: | if {[regexp {^Next Episode@(\d+)x(\d+)\^([\w\'\.\, \#\@\&\:\(\)\-]+)\^([\w\/]+)$} $line -> season episode eptitle epDate]} {
|
That should fix the problem. |
|
| Back to top |
|
 |
Tammik Voice
Joined: 23 Jan 2006 Posts: 10
|
Posted: Sun Feb 12, 2006 6:30 pm Post subject: |
|
|
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.. |
|
| Back to top |
|
 |
GaveUp Op
Joined: 19 Jan 2006 Posts: 139
|
Posted: Sun Feb 12, 2006 6:37 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Tammik Voice
Joined: 23 Jan 2006 Posts: 10
|
Posted: Sun Feb 12, 2006 6:39 pm Post subject: |
|
|
my time is
Sun Feb 12 23:40:14 CET 2006 |
|
| Back to top |
|
 |
GaveUp Op
Joined: 19 Jan 2006 Posts: 139
|
Posted: Sun Feb 12, 2006 6:50 pm Post subject: |
|
|
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: | #set systemTime [expr $systemTime + 3600]
|
|
|
| Back to top |
|
 |
Tammik Voice
Joined: 23 Jan 2006 Posts: 10
|
Posted: Sun Feb 12, 2006 6:54 pm Post subject: |
|
|
| yepp great m8 works fine now.. |
|
| Back to top |
|
 |
JAFO Voice
Joined: 13 Oct 2005 Posts: 19
|
Posted: Wed Feb 15, 2006 5:31 am Post subject: |
|
|
Tried it , Loving it ...
Nice job GaveUp , thx  |
|
| Back to top |
|
 |
loc Voice
Joined: 05 May 2006 Posts: 15
|
Posted: Sun May 14, 2006 8:02 am Post subject: Does this script still work? |
|
|
| 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? |
|
| Back to top |
|
 |
GaveUp Op
Joined: 19 Jan 2006 Posts: 139
|
Posted: Sun May 14, 2006 2:47 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
qw3rty Voice
Joined: 06 Apr 2006 Posts: 4
|
Posted: Mon May 15, 2006 7:48 am Post subject: |
|
|
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... |
|
| Back to top |
|
 |
loc Voice
Joined: 05 May 2006 Posts: 15
|
Posted: Mon May 15, 2006 12:05 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
GaveUp Op
Joined: 19 Jan 2006 Posts: 139
|
Posted: Mon May 15, 2006 4:59 pm Post subject: |
|
|
| Code: | 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. |
|
| Back to top |
|
 |
loc Voice
Joined: 05 May 2006 Posts: 15
|
Posted: Tue May 16, 2006 9:23 am Post subject: |
|
|
| GaveUp wrote: | | Code: | 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 :/ |
|
| Back to top |
|
 |
GaveUp Op
Joined: 19 Jan 2006 Posts: 139
|
Posted: Tue May 16, 2006 11:10 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
loc Voice
Joined: 05 May 2006 Posts: 15
|
Posted: Tue May 16, 2006 3:24 pm Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
|