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
a
aha
Voice
Posts: 5
Joined: Wed Nov 01, 2006 10:05 am

Post by aha »

GaveUp wrote:{%%class%%} MAY work, but I believe the support for classification was broken in .9/.9.1. It is working in 1.0 RC1.
too bad, doesnt work :(

Title :: Lost <> Premiered :: 2004 <> Latest Episode :: 03x04 - Every Man For Himself (Oct/25/2006) <> Next Episode :: 03x05 - The Cost Of Living (Nov/1/2006) <> Country :: USA Genre :: Action | Adventure | Drama | Mystery {%%class%%}

now i have to see if i can install dict on a shell (/edit lol no i cant ;) )

Thnx for the help sofar GaveUp !
F
Fubar
Voice
Posts: 7
Joined: Mon Feb 27, 2006 9:40 am

Post by Fubar »

i cant get the latest one working as i havent a clue what i need todo about dict , is it a tcl script i need to load ? and if so where do i get it from im also using windrop if that helps
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

now i have to see if i can install dict on a shell (/edit lol no i cant Wink )
Talk to your shell provider. If you ask nicely they might build the package and install it.

i cant get the latest one working as i havent a clue what i need todo about dict , is it a tcl script i need to load ? and if so where do i get it from im also using windrop if that helps
Here's a start. If I post a link to information about dict you might actually consider visiting that link.
F
Fubar
Voice
Posts: 7
Joined: Mon Feb 27, 2006 9:40 am

Post by Fubar »

GaveUp wrote:
now i have to see if i can install dict on a shell (/edit lol no i cant Wink )
Talk to your shell provider. If you ask nicely they might build the package and install it.

i cant get the latest one working as i havent a clue what i need todo about dict , is it a tcl script i need to load ? and if so where do i get it from im also using windrop if that helps
Here's a start. If I post a link to information about dict you might actually consider visiting that link.

i did and im still lost , heres a hint if i ask stating that i couldnt fiqure it out instead of trying to be a smart arse how about helping some one out ?
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Here is version 1.0 RC2 of the script. All known bugs should be fixed so barring any new reports this script will likely become 1.0.

Here is the changelog for 1.0 RC2:

1.0 RC2
-------
+Added ability to display cached schedules that are more
than 1 day old. Use !schedule <number> where number is
a negative number. -1 is yesterday, -2 two days ago,
etc. Also works for positives numbers up to 6. 0 is
today.
*Cleaned up and standardized the naming conventions for
procs.
+Added help information for !updatecache and !yesterday.
*Changed Help templates to reduce required maintanence.
+Added ability to filter networks shown on schedules.
*Modified debug proc to add support for varying levels
of output.
+Added debug level to print out an up to date list of
placeholders for a given command. See note in
default.theme for more information.
+Added announcement option. To announce shows prior to
airing set a channel +tvannounce. Currently limited
to the schedule for one country.
+Added timeout option to http calls to prevent hanging
of bot.
+Added !primetime trigger to only show shows airing
during a specified start time and end time.

Grab TVRage 1.0 RC2 here.
c
coldturkey
Voice
Posts: 2
Joined: Sat Oct 07, 2006 9:45 am

Post by coldturkey »

Fubar wrote:i cant get the latest one working as i havent a clue what i need todo about dict , is it a tcl script i need to load ? and if so where do i get it from im also using windrop if that helps
GaveUp wrote: Here's a start. If I post a link to information about dict you might actually consider visiting that link.
Hmm, call me a noob or an idiot but I couldn't find any usefull information on that site. I'm stuck at the same point as fubar and that site is not helping at all, considering you being the developer of this script I'd appriciate a little more information regarding dict.
No hard feelings btw, noobs=hard to understand (or [censored] sites)...


___EDIT
Well, made it work now...
fubar;
find C:\ioftpd\lib\tcl8.4
download dict from the link in page 9
extract all files to that dir
done (don't write the dict tcl in eggdrop.conf -you'll get an error if)
hmm
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Errors :)

Post by loc »

Hey,

I'm not complaining about dict... thats installed now :)
I do get another error that i hope you can help with GaveUp! See output below:

Code: Select all

[21:31] Loading TVRage.com Primetime Schedule Script v1.0 RC2
[21:31] tvrage.tcl info: Loaded tvrage.conf successfully.
[21:31] tvrage.tcl info: Loaded themes/default.theme successfully.
attempt to provide package dict 8.5 failed: package dict 8.5.1 provided instead
[21:31] Tcl error in file 'eggdrop.conf':
[21:31] bad subcommand "update": must be append, create, exists, filter, for, get, incr, info, keys, lappend, merge, remove, replace, set, size, unset, or values
    while executing
"dict update schedule($country:schedule) $date dayinfo {
            dict lappend dayinfo $time [dict create "network" $network "show" $show "epnum" $e..."
    (procedure "getSchedule" line 27)
    invoked from within
"getSchedule $c"
    (procedure "updateCache" line 22)
    invoked from within
"updateCache 1 2 3 4 5"
    (procedure "init" line 19)
    invoked from within
"init"
    (in namespace eval "::tvrage" script line 895)
    invoked from within
"namespace eval tvrage {

set tvrage(version) "v1.0 RC2"
set tvrage(versionLine) "TVRage.com Primetime Schedule Script $tvrage
[21:31] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

It looks like the version of dict you are using does not include the update command. Try using the latest version, 8.5.2.
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Post by loc »

Argh, i used the precompiled version for this. I cant seem to compile the source, as its giving error (im prolly using the wrong --prefix= parameter). Any ideas?

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

Post by GaveUp »

There is a precompiled version on the wiki.
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Post by loc »

That's 8.5.1.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

loc wrote:Argh, i used the precompiled version for this. I cant seem to compile the source, as its giving error (im prolly using the wrong --prefix= parameter). Any ideas?
Thanks
Post the compile error and the configure parameters you're using.
l
loc
Voice
Posts: 15
Joined: Fri May 05, 2006 5:37 am

Post by loc »

Code: Select all

./configure --with-tcl=/usr/lib/tcl8.4/
checking for correct TEA configuration... ok (TEA 3.4)
checking for Tcl configuration... found /usr/lib/tcl8.4/tclConfig.sh
checking for existence of /usr/lib/tcl8.4/tclConfig.sh... loading
configure: --prefix defaulting to TCL_PREFIX /usr
configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking dirent.h...
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for Tcl public headers... /usr/include/tcl8.4/tcl-private/generic
checking for pthread_mutex_init in -lpthread... yes
checking for building with threads... yes (default)
checking how to build libraries... shared
checking if 64bit support is enabled... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: line 9998: syntax error near unexpected token `('
./configure: line 9998: `    case `(ac_space=' '; set | grep ac_space) 2>&1`'
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Look for the error in the config.log file also, and post the relevent bit of that. The syntax error likely means a header (.h) file was not found, and the output of configure itself is not showing it.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Ok, i just test compiled this using dict. 8.5.2 (which is the version that was back-ported for tcl v8.4.x) on a linux PC platform, using tcl 8.4.11, gcc 3.2.3, and libc-2.3.5, and it configured and compiled just fine. So.... Those of you who're having compile problems, at least say what platform you're compiling on.

If the precompiled linux/i586 version is of any use to anyone, I'll post it on my website in a tarball for you. just let me know.
Post Reply