PDA

View Full Version : EPGuru


f0xn3t
07-29-2004, 04:02 PM
Hi everybody out there ;)

I started developing !ep script for IRC which is originally based on the script by ThEdGE, but his script was really full of bugs and, imho, was uncomfortable.
It's programmed in TCL...

The page with download link and list of features and change log is here: http://epguru.wz.cz
... or you can download it form here: http://www.ioftpd.com/scripts/script.php?id=131

Since version v2.0 it has newly TVShowsonDVD.com integration


I plan to integrate Tvtome.com guide into it :cool:
Now it gets information from epguides.com


If you have any ideas or if you find any bugs write it pls below in this thread ;)

[HbL]
07-30-2004, 03:40 PM
I think i found a bug, i changed the config so that the reply's would be sent private message to the user.. But even if another user in my channel types !ep smallville its me who get the answer privatly from the bot? :)

I set the option to 3=Private Message to user

Bratell
07-31-2004, 04:07 AM
I've been looking for something like this!

Great work! :)

rAWfOX
07-31-2004, 06:06 AM
awsome.....

CZ.Fox
07-31-2004, 07:09 PM
good job :)

f0xn3t
07-31-2004, 07:22 PM
Originally posted by [HbL]
I think i found a bug, i changed the config so that the reply's would be sent private message to the user.. But even if another user in my channel types !ep smallville its me who get the answer privatly from the bot? :)

I set the option to 3=Private Message to user
ok, I will check it :banana:

f0xn3t
08-01-2004, 03:37 PM
HbL: yep, you're right with that bug.

It's caused by a mistake in variables.
But I fixed it so in the next version it's gonna be ok ;)

f0xn3t
08-03-2004, 09:58 AM
Here is a new version :cool:
---
Latest version: 2.1

Changes:
- Fixed a bug in bot's responses (notice & PM; thx [HbL])
- Customizable epguides.com body (instead of visibility config)
- Some minor code changes
- Fixed a parsing bug (caused problems in numbers of eps & seasons + LAST & NEXT ep info parts -> e.g. Alias)
- Customizable URLs (underlined/non-underlined)
---

rAWfOX
08-03-2004, 10:47 AM
after upgrading i cant get it to work...

[18:50] Tcl error [epguide::trigger]: invalid command name "replacevar"

-=DoBBeR=-
08-03-2004, 10:52 AM
[16:49] Tcl error [epguide::trigger]: invalid command name "replacevar"
same problem here

f0xn3t
08-03-2004, 12:34 PM
thx for the report, here is a critical update for those who use v2.1...

---
Latest version: 2.2

Changes:
- IMPORTANT-Some code changes (instead of "replacevar" command is used "regsub" now; "replacevar" causes problems)
---
DOWNLOAD (http://www.ioftpd.com/scripts/script.php?id=131)

sjabby
08-03-2004, 01:06 PM
dosnt work here :/ bot freezes

rAWfOX
08-03-2004, 01:43 PM
works fine.... but :)

doing !ep -dvd the bot crashes... ;)

f0xn3t
08-03-2004, 01:56 PM
hehe, interesting... I'll try to find out what's wrong... :)

sjabby: v2.0 works fine to you?

sjabby
08-03-2004, 01:59 PM
nope. no version working

f0xn3t
08-03-2004, 03:47 PM
Originally posted by rAWfOX
works fine.... but :)

doing !ep -dvd the bot crashes... ;)

I was trying to simulate this bot crashes but unsuccessfully :( Just once when I changed script back to v2.2 and .rehashed it (I'm testing some future functions ;) ). Bot froze and I had to shut it down. Since new bot startup it works fine... I really have no idea where the problem is :confused:

What version of eggdrop/windrop or so do you use?

Does anyone else have the same problem?

... any exact errors would be helpful, although in this case it's almost impossible
:D :(


sjabby: and this original script (http://dureff.org/tcl/TCLs/epguides.zip) works to you? notice your version of eggdrop/windrop or so as well, pls :)

sjabby
08-03-2004, 03:55 PM
I am running eggdrop v1.6.15, on Linux 2.4.26-grsec.
dosnt seem like the other script works either

sjabby
08-03-2004, 04:09 PM
[22:58] Tcl error [epguide::trigger]: can't read "chan": no such variable
[22:58] (!) timer drift -- spun 3 minutes


Working on a windrop 1.6.15 so i guess the eggie is ****ed

f0xn3t
08-03-2004, 04:21 PM
it's possible... dunno :)

f0xn3t
08-10-2004, 06:52 AM
v2.2 looks to be stable so here is a new version of this script.
The revolution in this script is in new TVTome.com support even if it's only for searching in Persons database.

I must say that working with tvtome.com source code is like the way through the hell :D
different authors = different style, so the source code is unpredictable :(
so, pls, write below all names where you get wrong or strange info or if something is missing ;)

for problems with releasename parser, use PM pls :)

---
Latest version: 3.0

Changes:
- !!! NEW TVTome.com Person Searcher (just use command e.g. !ep -p ... more info in Help)
- !!! NEW Releasename parser (just use command e.g. !ep ...nothing more)
- !!! NEW Latest NFOrce.nl Releases in TV-Rips section (just use command e.g. !ep -nfo )
- Epguides.com body divided into limited and extended versions (for limited version use !ep ; for extended version use !ep -x )... both versions are customizable
- Customizable responses between limited and extended versions (Epguides.com & TVTome.com Person Searcher)
- Added Anti-Flood protection to TVTome.com Person Searcher
- Fixed some Error handling buggies
- Customizable activation for: TVTome.com Person Searcher, Releasename parser, NFOrce & TVShowsonDVD (if not active it's not visible in HELP SYSTEM as well)
- Some changes in HELP SYSTEM
- Some text corrections
- Optional epguides.com cache file using
- Changed default epguides.com header and footer design
- Fixed a bug in LAST+NEXT ep (no title is shown when no date is set, e.g. Round the Twist)
- Fixed some script responses
---
DOWNLOAD (http://www.ioftpd.com/scripts/script.php?id=131)

rAWfOX
08-10-2004, 12:17 PM
awsome work

Bratell
08-10-2004, 12:32 PM
Can't get latest version to work. In fact, I can't get it to react at all. It's loaded without errors (using default config) and the trigger shows up in .bind, so I know it's there. It just doesn't work.

I've also restarted the bot, instead of rehashing it, removed the cache, there's no errors in the bot partyline... and.. well, can't think of anything else to do.

Going back to 2.2 which is working perfectly. :p :(

EDIT: Yeah, there's no trigger colliding with other script. :)

onyx
08-11-2004, 08:11 AM
same problem here ... not even !ep -help works ... btw i have windrop 1.6.16 and http.tcl that comes with ioBanana v20.

f0xn3t
08-11-2004, 08:30 AM
hmm, interesting :(

and v2.2 works fine to you?

onyx
08-11-2004, 08:42 AM
yes it work as it should(v2.2) :)

Bratell
08-11-2004, 12:06 PM
I'm using Windrop version 1.6.13 :)

-=DoBBeR=-
08-11-2004, 01:35 PM
same problem here, and I'm on 1.6.16

onyx
08-13-2004, 08:11 AM
so any1 know whats wrong?

f0xn3t
08-14-2004, 01:36 AM
Perhaps I know where the mistake is, but I'm not sure if it's right point. I have to test it on a different version of windrop at first.

f0xn3t
08-19-2004, 10:58 AM
I was testing this script on Windrop 1.6.17 and on different machine and probably the problem is that it requires tcleggdrop_mcpsfuncs.zip (http://mircryption.sourceforge.net/Extras/tcleggdrop_mcpsfuncs.zip)

Maybe it's required if you have active this line in eggdrop.conf:
loadmodule blowfish

... dunno :D
But when that file hadn't been loaded nothing has happened when I typed !ep something

So, try that and let me now here :)

---
Latest version: 3.1

Changes:
- Some code changes (namespace command excluded)
- Fixed a minor parsing bug in Person Searcher (bug in Starring Roles, e.g. Mark T. Wahlberg)
- Removed <a> HTML tag in Notes of Person Searcher (e.g. Halle Berry)
- Fixed a bug when a wrong page is found for any keyword (e.g. !ep soap)
---
DOWNLOAD (http://www.ioftpd.com/scripts/script.php?id=131)

TiTbB
08-19-2004, 03:59 PM
Well,

I am running eggdrop v1.6.16, on Linux 2.4.26-srvz. And i did install the encoding script you put an url for, i can get the HELP , unencrypted finally :P, but when i use any other command i still get the same error.

[22:58] Tcl error [epguru_proc]: wrong # args: should be "regsub ?switches? exp string subSpec varName"

What is the prob ?

f0xn3t
08-20-2004, 02:57 AM
lol, it's becoming more funnier than I expected :D

MalcolmX
08-20-2004, 03:09 AM
At last it works fine here, got the channel encrypted and the url you provided did the trick. One thing though, as far as i can understand, its not possible to have epguru script to present encrypted output in privmsg, only in regular channel window. Thats because of the fact that in encrypted privmsg you generate random keys on-the-fly and the script cant possibly understand that. Please correct me if i am wrong :)

TiTbB
08-20-2004, 05:16 AM
Originally posted by MalcolmX
At last it works fine here, got the channel encrypted and the url you provided did the trick. One thing though, as far as i can understand, its not possible to have epguru script to present encrypted output in privmsg, only in regular channel window. Thats because of the fact that in encrypted privmsg you generate random keys on-the-fly and the script cant possibly understand that. Please correct me if i am wrong :)

I had the script send out encrypted msgs to me through in privmsg. Cause in the file you set 1 key for encoding and 1 for encrypting.
But i just set it on always decrypted, cause its a pain to let all the users understand what to do.

f0xn3t
08-20-2004, 06:17 AM
yes, it's right, but in my case I just loaded blowfish module in eggdrop.conf and that special file without setting any encryption for specific channel. I just left it as it was... I tested that on a chan without SSL and without active blowfish encryption (responses to chan and PM were ok).

Otherwise, my windrop doesn't understand ! commands, dunno why... :mad:

MalcolmX
08-20-2004, 07:50 AM
Originally posted by TiTbB
I had the script send out encrypted msgs to me through in privmsg. Cause in the file you set 1 key for encoding and 1 for encrypting.
But i just set it on always decrypted, cause its a pain to let all the users understand what to do.

I had to do a quick and dirty solution for it, i just put set mcencryptnick "never" in inifile so now privmsg works fine, but its not encrypted. You still have to use encrypted text though, otherwise there are no response at all from the script.

TiTbB
08-20-2004, 08:33 AM
Ok, weird thing.
I think its in the conversion from the site to the chan.

[03:29pm] [undercover] !ep damn*****assscripts
[03:29pm] [Rulor] [EPGuru] I cannot find the show called "damn*****assscripts"
[03:29pm] [undercover] !ep stargate
Then i dont get a reply, but that error msg ([03:30pm] <Rulor> [15:30] Tcl error [epguru_proc]: wrong # args: should be "regsub ?switches? exp string subSpec varName")
Then i do a show that doesnt exist and again:
[03:31pm] [undercover] !ep damnscript
[03:31pm] [Rulor] [EPGuru] I cannot find the show called "damnscript"

Weird shit :)

f0xn3t
08-20-2004, 10:34 AM
try this script... I made there some changes in regsub
DOWNLOAD (http://epguru.wz.cz/epguru.tcl)

TiTbB
08-20-2004, 11:14 AM
Originally posted by f0xn3t
try this script... I made there some changes in regsub
DOWNLOAD (http://epguru.wz.cz/epguru.tcl)

Tell you what :)
It works, with that script, like a CHARM :)
Everything seems to do what it is supposed too.

Thnx for the editting ;) and for the script offcourse!

f0xn3t
08-20-2004, 11:29 AM
wow, perfect... so I'm going to fix the rest of the code and release it this night as v3.2 ;)

f0xn3t
08-20-2004, 12:06 PM
enjoy ;)

---
Latest version: 3.2

Changes:
- Fixed major bugs in regsub command
- Double spaces in Notes of Person Searcher will be shown as one space char (e.g. Halle Berry)
- Default Epguides.com footer changed
- Fixed a bug in LAST+NEXT ep where was missing a space char in newer windrop versions
---
DOWNLOAD (http://www.ioftpd.com/scripts/script.php?id=131)

TiTbB
08-20-2004, 01:57 PM
I dont want to be a big pain in the ass, but cant you make the script that it DOESNT need the other encrypt script.

Cause now my bot cant kick anyone anymore :S
And i cant seem to find the right commands to get it fixed, so i trashed ur script for the time being.

f0xn3t
08-20-2004, 03:05 PM
I'll do my best to exclude it :cool:

TiTbB
08-20-2004, 03:09 PM
Originally posted by f0xn3t
I'll do my best to exclude it :cool:

Much appreciated :)

MalcolmX
08-22-2004, 02:15 AM
Originally posted by f0xn3t
I'll do my best to exclude it :cool:

Thank you for being so patient with us, and thank you for your immediate feedback on the small issues that we find :D

Yer the man!!!!
And i agree with TitbB, if possible it would be nice if the script could stand on its own feet instead of relying on another helper.
I know jack s**t about scripting so i dont have any suggestions, but i am sure that you, being such a nice and skilled person, will do your best to fix this......again, thank you at least 100 million times :)....and btw, this goes for everyone doing scripts for ioFTPD, our life as end users would be more that dull without your contributions......:D

f0xn3t
08-24-2004, 09:38 AM
nice speech MalcolmX... it's giving me an energy to carry on developing this script... ;)

I fixed that de/encryption bug so no other files are required anymore... I hope it will work to all of you... it works at least to me, btw :D

---
Latest version: 3.3

Changes:
- Fixed a bug in BIND PUB (no extra files are required anymore)
- Fixed some response buggies
- Again, fixed a bug in LAST+NEXT ep where was missing a space char or not (depends on windrop version). Now it's universally fixed.
- Fixed a bug in Series Title (ampersand was changed into "and" otherwise it causes problems; e.g. !ep dungeons dragons)
- Question mark in episode title which is at the beginning will be shown as "(Uncertain air date)"; e.g. !ep dungeons dragons
---
DOWNLOAD (http://www.ioftpd.com/scripts/script.php?id=131)

TiTbB
08-24-2004, 09:57 AM
Hey Hey.

Thnx for the update.
But im afraid it still doesnt work for me, without that other script.

[04:55pm] <Rulor> [16:55] Tcl error [pub:epguru]: wrong # args: should be "regsub ?switches? exp string subSpec varName"

Still getting that error. Anything i might have missed?

f0xn3t
08-24-2004, 10:34 AM
ouch :(

f0xn3t
08-24-2004, 10:39 AM
Pls, try this script DOWNLOAD (http://epguru.wz.cz/epguru.tcl)

TiTbB
08-24-2004, 10:49 AM
Originally posted by f0xn3t
Pls, try this script DOWNLOAD (http://epguru.wz.cz/epguru.tcl)

Hi,

im sorry. Still the same problem.

[05:48pm] <Rulor> [17:48] Tcl error [pub:epguru]: wrong # args: should be "regsub ?switches? exp string subSpec varName"

Thnx for ur trying to fix it.

f0xn3t
08-24-2004, 11:06 AM
try it pls once again... I deleted two new regsub lines so it should theoretically work as before but with new improvement that no other files are required.

Those two regsub lines are there to eliminate Ampersand and Question mark buggies.

TiTbB
08-24-2004, 11:22 AM
[06:21pm] <Rulor> [18:21] Tcl error [pub:epguru]: wrong # args: should be "regsub ?switches? exp string subSpec varName"
The help does work though. Its more when i try to get the info on an ep.

Still the same error :(

Edit: seems like the prob only exists when trying to get ep info.

regsub ".*\>" $last_ep(title) "" ep_title

This part i reckon.

TiTbB
08-24-2004, 11:37 AM
And the !ep -pid 3970 trigger doesnt work either.

So, some parts do work.

f0xn3t
08-24-2004, 11:52 AM
ou yes, you're possibly right... try that script again

TiTbB
08-24-2004, 12:20 PM
Im afraid that it still does not work :(

crone
09-13-2004, 03:30 AM
works fine for me, would be nice to be able to choose wherefrom script should get information from, like from tvtome or epguides..

since tvtome has what kinda show it is tvtome rules epguides :P

Shorty
09-17-2004, 02:04 PM
I just tried out epguru for the 1st time right now, and I'm really impressed. Nice script, but something odd came up when I did !ep Joey.
Instead of listing the show Joey (with the guy from Friends), it listed the show Blossom. Is there any way for it to actually display the show I did !ep for rather than going for the 1st show that has a Joey in it (seems that Blossom show has a character called Joey hence why I think the script is just listing the first Joey match) ?

I also found a problem with a certain show. The name of the show is Medical Investigation, but it's in epguide as MedicalInvestigation, but if we do !ep Medical Investigation or !ep MedicalInvestigation (like it's listed in epguides) the script will reply with "I cannot find the show called "MedicalInvestigation".

And last, is there a script that'll display the shows airing for that day? Like a !ontv trigger that would display the shows that are schedulled to air for that night? Or perhaps a future epguru feature?

Thanks in advance.

Bratell
09-18-2004, 05:48 AM
Originally posted by Shorty
I just tried out epguru for the 1st time right now, and I'm really impressed. Nice script, but something odd came up when I did !ep Joey.
Instead of listing the show Joey (with the guy from Friends), it listed the show Blossom. Is there any way for it to actually display the show I did !ep for rather than going for the 1st show that has a Joey in it (seems that Blossom show has a character called Joey hence why I think the script is just listing the first Joey match) ?

Could it be that the show Joey isn't listed in the search-function on epguides just yet? For some reason...

f0xn3t
09-23-2004, 02:16 PM
epguides.com usually add new series a bit late than their first air date... it's for example a case of Joey and Medical Investigation...
just delete cache file or disable caching in config of epguru script and try it again... it's working, I've just tested ;)

tvtome.com is better in this :)
..
I don't think so that there is any script that is able to tell you what series are schedulled for that day/night... only a script which tell you what's on tonight on some major TV networks... but if you find a page which contains something like this let me know ;)
..
2crone - This ability will be available in future epguru version but at first it's need to fix as much Person Searcher bugs as possible, etc.. and the major problem notified by TiTbB.

So, now I have no idea when the v4.0 will be released ;)

crone
09-25-2004, 10:45 AM
ok, keep up the good work dude.
dunno if this will help you something:
wrong # args: should be "regsub ?switches? exp string subSpec ?varName?"
8.4.x
wrong # args: should be "regsub ?switches? exp string subSpec varName"
8.3.x

in 8.4.x varName is optional

and the problem is on about line ~1660
in the if {$info(cast) ... part
2 append lines

f0xn3t
09-25-2004, 11:48 AM
thx crone... this is helpfull info for me :) I'll take a look at it...

Sikes
10-02-2004, 07:44 AM
I was asked to set this script up on someone elses server. I haven't used an eggdrop much before and wanted to check to see if I have taken the right steps. The eggdrop is already setup and works fine with the scripts already loaded.

I am using;
EPGuru.3.2
tcl8.3
Eggdrop v1.6.8
on a Debian stable server

The last line of the eggdrop conf file reads.
source /usr/share/eggdrop/scripts/EPGuru.3.2.tcl

EPGuru.3.2.tcl is pretty much stock with just
set epguru(epgcache) "epguru.epg.cache" being changed. epguru.epg.cache is writeable by that user.

Typing "!ep -help" into the channel dosen't get a response. I can't see any errors being reported anywhere. Anyone have any ideas?

f0xn3t
10-02-2004, 11:09 AM
Originally posted by Sikes
I was asked to set this script up on someone elses server. I haven't used an eggdrop much before and wanted to check to see if I have taken the right steps. The eggdrop is already setup and works fine with the scripts already loaded.

I am using;
EPGuru.3.2
tcl8.3
Eggdrop v1.6.8
on a Debian stable server

The last line of the eggdrop conf file reads.
source /usr/share/eggdrop/scripts/EPGuru.3.2.tcl

EPGuru.3.2.tcl is pretty much stock with just
set epguru(epgcache) "epguru.epg.cache" being changed. epguru.epg.cache is writeable by that user.

Typing "!ep -help" into the channel dosen't get a response. I can't see any errors being reported anywhere. Anyone have any ideas?

if you can't get any response from this script by typing e.g. !ep stargate it's due to not recognized trigger by your eggdrop, so try to add this special script: tcleggdrop_mcpsfuncs.zip (list through this thread)
...this problem is known and I'm doing my best to fix it so no extra files will be required anymore :)

Sikes
10-02-2004, 10:13 PM
Originally posted by f0xn3t
if you can't get any response from this script by typing e.g. !ep stargate it's due to not recognized trigger by your eggdrop, so try to add this special script: tcleggdrop_mcpsfuncs.zip (list through this thread)
...this problem is known and I'm doing my best to fix it so no extra files will be required anymore :)

Thanks F0xn3t. That was it. Getting replies now.

Having the same problem as TiTbB though.

TCL error [epguru_proc]: wrong # args: should be "regsub ?switches? exp string subSpec varName"

When trying things like !ep stargate. nforce is working fine.

Keep up the good work.

f0xn3t
10-03-2004, 01:48 AM
Sikes: Try new testing version 3.3, pls... I've fixed there some regsub command buggies ;)

this version should work without tcleggdrop_mcpsfuncs.zip as well, I hope :)

Sikes
10-06-2004, 02:30 AM
Hi F0xn3t,

Originally posted by f0xn3t
Sikes: Try new testing version 3.3, pls... I've fixed there some regsub command buggies ;)


With ver3.3 i'm getting;
TCL error [pub:epguru]: wrong # args: should be "regsub ?switches? exp string subSpec varName"

Thanks for your effort

Bratell
10-07-2004, 01:15 AM
Funny.. this version works prefectly for me. I've had problems with all the latest versions.

f0xn3t
10-21-2004, 02:44 PM
So, here is final version 3.* with quite a huge changelog ;)
Next will be version 4 with... no, no, it's a surprise :D

----------
v3.3
- Fixed a bug in BIND PUB (no extra files are required anymore)
- Fixed a bug with series that has ended temporarily but have known titles of next episodes without dates. It means that the real LAST episode will be shown (and upcoming unaired episode) instead of LAST episode in a list on epguides.com (and "N/A" in NEXT episode).
- Fix of a previous fix ;) Simply, the previous "old" part of script, which retrieves info about each episode, stopped after an episode with a missing date => bug (e.g. !ep love boat). So, I completely changed the code for retrieving episode info. Moreover, it offers two more INFO tags for BODY ;)
- NEW BODY tags: %totalairedeps, %totalairedseasons
- Some $arg parsing changes
- Fixed some response buggies
- Again, fixed a bug in LAST+NEXT ep where was/wasn't missing a space char (depends on windrop version). Now it's universally fixed.
- Fixed a bug in Series Title (ampersand was changed into "and" otherwise it causes problems; e.g. !ep dungeons dragons)
- Question mark in episode title which is at the beginning will be shown as "(Uncertain air date)"; e.g. !ep dungeons dragons
- Fixed a parsing bug which caused that no info was retrieved (e.g. !ep amazing stories, !ep Ray Bradbury Theatre)
- Fixed special characters bug (e.g. !ep keen eddie, !ep clifford's puppy days)
- Fixed some regsub command buggies (thx crone)
- To unknown air dates is given "Air date: Unknown" instead of nothing by default ;)
- Fixed a minor bug in series title (e.g. !ep life as we know it)
- Fixed a parsing bug of episode title (e.g. !ep clifford's puppy days)
- Some design changes in Extended Body
- Better replacing of html codes and problematic chars
----------
DOWNLOAD (http://ioftpd.com/scripts/script.php?id=131)

Sikes
10-28-2004, 11:45 PM
Originally posted by f0xn3t
So, here is final version 3.* with quite a huge changelog ;)

Excellent work f0xn3t. Running great for me now.

f0xn3t
10-29-2004, 02:13 AM
Originally posted by Sikes
Excellent work f0xn3t. Running great for me now.
It's nice to hear such thing that it works great ;)

onyx
11-07-2004, 02:08 PM
hy ... nice work but if i do !ep -dvd i get this

Tcl error [pub:epguru]: can't read "dvdnews(1,3)": no such element in array

I am using Windrop 1.6.17.

tnx

f0xn3t
11-13-2004, 09:19 AM
Originally posted by onyx
hy ... nice work but if i do !ep -dvd i get this

Tcl error [pub:epguru]: can't read "dvdnews(1,3)": no such element in array

I am using Windrop 1.6.17.

tnx
yep, you're right... the problem is that source code of tvshowsondvd.com has changed a bit.

Here is a quick solution
this script:
} elseif {$tmpact==1 && [regexp {.*<td valign="top" width="240"><a href=".*" target="_blank".*return true;">.*</A></td>} $line]} {
regsub {.*<td valign="top" width="240"><a href=".*" target="_blank".*return true;">(.*)</A></td>} $line {\1} tmpdesc
regsub -all {(<i>)|(</i>)|(<b>)|(</b>)|(<B>)|(</B>)|(<I>)|(</I>)} $tmpdesc "" tmpdesc

set dvd($tmpdvd,3) $tmpdesc
regsub {.*<td valign="top" width="240"><a href="(.*)" target="_blank".*return true;">.*</A></td>} $line {\1} dvd($tmpdvd,4)
incr tmpdvd
}

change to this:
} elseif {$tmpact==1 && [regexp {.*<td valign="top" width="240"><a href="newsitem.cfm\?NewsID=[0-9]{1,}">.*</A></td>} $line]} {
regsub {.*<td valign="top" width="240"><a href="newsitem.cfm\?NewsID=[0-9]{1,}">(.*)</A></td>} $line {\1} tmpdesc
regsub -all {(<i>)|(</i>)|(<b>)|(</b>)|(<B>)|(</B>)|(<I>)|(</I>)} $tmpdesc "" tmpdesc

set dvd($tmpdvd,3) $tmpdesc
regsub {.*<td valign="top" width="240"><a href="(.*)">.*</A></td>} $line {\1} dvd($tmpdvd,4)
incr tmpdvd
}

sjabby
11-30-2004, 11:23 AM
anyone else noticed that it takes ages to get info from bot now?
or is it my bot thats ****ed....?

«17:19:56» {@sjabby} !tv NCIS
«17:22:43» {@xxxxxx} Title: NCIS - http://epguides.com/NavyNCIS/
«17:22:45» {@xxxxxx} LAST Episode: Heart Break (2x08) . . . Air Date: Tue, 30 Nov 2004 (Today)
«17:22:51» {@Dxxxxxx} NEXT Episode: N/A

darko
12-08-2004, 03:24 PM
same here slackware 9.1, eggdrop 1.6.13 (ipv6)

f0xn3t
12-13-2004, 07:54 AM
So, I've found out where the problem is. The problem stays on shoulders of epguides.com because epguides.com has deleted its own searching script and now uses GOOGLE searching, damn...

I will take a look at my script on friday and release a hot fix a.s.a.p., so check script page at weekend.

JcFlyeR_1
12-16-2004, 11:33 PM
Yo man you figured out a way to eliminate the 3minute delay bug? let us know, peace...

f0xn3t
12-18-2004, 08:09 AM
ok folks, it's DONE, phew :)
I spend whole Friday and couple of hours today working on my script. I must say it was harder than I thought, but now I know what was wrong ...and this update should fix all problems, I hope :)


so, the first problem was in searching of tv shows at epguides.com. The fact is that epguides.com has deleted its own searching script and now uses google.com searching.
It wouldn't be so hard to fix it if google.com had better terms and condition from my point of view -> it means that eggdrop is unable to get search results because he gets Error 302 (Moved; google.com and altavista.com check URL and all "ampersands" change to "&amp;") at first and even if it's succesfully redirected he gets Error 403 (Forbidden). So, there's no way to get rid of this Error 403 in case that I don't want to use any extra files :)

so, EPGuru uses Yahoo.com search engine and it's possible to use Logical operators like +,-,"", etc..
e.g. "!ep joey +2004" and you get Joey
"!ep joey" and you get Friends ..lol :D
... but it really depends on yahoo.com, it's not EPGuru bug ;)


..and, the second problem was in 3min epguides.com response delay. This problem took me most of my time.

The situation is that epguides.com probably increased security level of server(s), because it's unable to "PING epguides.com" -> you get Timed-out...
My theory is that $socket in TCL is unable to overcome this problem because $socket probably pings the server before establishing connection... but $socket gets no response approx. for 150sec. ( -> this time is set by default in system, dunno where :) <- this was written on one developer forum

I thought this project is lost till upcoming v4.0 but suddenly I found one page with this command: "::http::geturl". This command reguires package http 2.0 (at least) but this package should be included in eggdrop, but I'm not 100% sure.

...but the important thing is it works great with epguides.com with NO DELAY. I get response from bot in 3sec ;)


... so, this is my Friday and Saturday story ;)
I hope you'll enjoy it and don't forget to tell your friends about this update ;) :D

..and please, let me know if there are any problems with ::http:: or "package http 2.0", time-outs or so...

----------------------
Changelog:
- !!! IMPORTANT - Fixed Tvshowsondvd.com news parsing
- !!! IMPORTANT - Fixed Epguides.com searching (epguides.com search engine was deleted, so this script uses yahoo.com search engine (Google.com or Altavista.com can't be used due to terms and conditions))
- !!! IMPORTANT - Fixed approx. 3min delay in epguides.com response (caused by higher security of epguides.com server(s))
----------------------
DOWNLOAD (http://ioftpd.com/scripts/script.php?id=131)

JcFlyeR_1
12-18-2004, 09:26 PM
!ep smallvile
[EPGuru] Wrong page has been retrieved for "smallville" (http://epguides.com/calendars/)

!ep jag
[EPGuru] Wrong page has been retrieved for "jag" (http://epguides.com/menuj/)

*shrug*

enterprise works
joey works
joey +2004 works

can you make it auto +2004?? it seems redundant that we have to type +2004 to get the correct result :)

maybe i can mess with the script myself and add it...

awesome script though!

EDIT: !ep smallville +2004 WORKS! please make it auto +2004

f0xn3t
12-19-2004, 03:50 AM
sorry, I can't make it auto to search series with +2004, because the script must be able to search old series as well :)

but here is a quick help for you...
this line:
if {[catch {set token [::http::geturl http://search.yahoo.com/search?_adv_prop=web&x=op&ei=UTF-8&prev_vm=p&fr=fp-top&va=$name&va_vt=any&vp=&vp_vt=any&vo=&vo_vt=any&ve=&ve_vt=any&vd=all&vst=on&vs=epguides.com&vf=all&vm=p&vc=&fl=0&n=10 -timeout 30000]}]} {

change to this:
if {[catch {set token [::http::geturl http://search.yahoo.com/search?_adv_prop=web&x=op&ei=UTF-8&prev_vm=p&fr=fp-top&va=$name+%2B2004&va_vt=any&vp=&vp_vt=any&vo=&vo_vt=any&ve=&ve_vt=any&vd=all&vst=on&vs=epguides.com&vf=all&vm=p&vc=&fl=0&n=10 -timeout 30000]}]} {

wicked
01-06-2005, 07:28 AM
at first i'd like to thank f0xn3t for this excellent script!
i got one question tho...
does anyone know how to get the info for the show "24"?
it just doesnt work for me, i always get Epguides.com URL: http://epguides.com/SouthBankShow/ if i request "!ep 24"

using "!ep 24 +2004" also doesnt work, i just found out that works for "LOST" tho, which was another thing i wanted to ask here :P

the strange thing is, that 24 is listed on top position in the yahoo result the script queries for ( http://search.yahoo.com/search?_adv_prop=web&x=op&ei=UTF-8&prev_vm=p&fr=fp-top&va=24&va_vt=any&vp=&vp_vt=any&vo=&vo_vt=any&ve=&ve_vt=any&vd=all&vst=on&vs=epguides.com&vf=all&vm=p&vc=&fl=0&n=10+ ) but its somehow not parsed the right way, it grabs southbankshow which is next in the list.
so would be nice if anyone could tell me how to fix this :)
thx

f0xn3t
01-07-2005, 02:59 PM
Originally posted by wicked
at first i'd like to thank f0xn3t for this excellent script!
i got one question tho...
does anyone know how to get the info for the show "24"?
it just doesnt work for me, i always get Epguides.com URL: http://epguides.com/SouthBankShow/ if i request "!ep 24"

using "!ep 24 +2004" also doesnt work, i just found out that works for "LOST" tho, which was another thing i wanted to ask here :P

the strange thing is, that 24 is listed on top position in the yahoo result the script queries for ( http://search.yahoo.com/search?_adv_prop=web&x=op&ei=UTF-8&prev_vm=p&fr=fp-top&va=24&va_vt=any&vp=&vp_vt=any&vo=&vo_vt=any&ve=&ve_vt=any&vd=all&vst=on&vs=epguides.com&vf=all&vm=p&vc=&fl=0&n=10+ ) but its somehow not parsed the right way, it grabs southbankshow which is next in the list.
so would be nice if anyone could tell me how to fix this :)
thx

:) here is a quick fix for everybody...
When you write "!ep 24 +2004" or "!ep lost +2004" you'll get the right info ;)

This part of the script:
if {[regexp {<div class=yschabstr>.*</div><em class=yschurl>.*</em>} $line] } {
regsub {<div class=yschabstr>.*</div><em class=yschurl>(.*)</em>} $line {\1} page
regsub -all "<b>" $page "" page
regsub -all "</b>" $page "" page

Change to this:
if {[regexp {(<div class=yschabstr>.*</div><em class=yschurl>.*</em>|<em class=yschurl>.*</em>)} $line] } {
regsub {(<div class=yschabstr>.*</div><em class=yschurl>(.*)</em>|<em class=yschurl>(.*)</em>)} $line {\1} page
regsub -all "<b>" $page "" page
regsub -all "</b>" $page "" page
regsub -all "<em class=yschurl>" $page "" page
regsub -all "</em>" $page "" page
regsub "<div class=yschabstr>.*</div>" $page "" page

wicked
01-08-2005, 05:22 AM
hi, thx for the quick response.
kinda doesnt work for me tho...

"!ep 24 +2004" -> [EPGuru] Wrong page has been retrieved for "24 +2004" (http://epguides.com/grid/fall.shtml/)

"!ep 24" -> Title: The South Bank Show

lost works fine for me tho, but that also worked with +2004 before the code replace....

f0xn3t
01-08-2005, 07:36 AM
Originally posted by wicked
hi, thx for the quick response.
kinda doesnt work for me tho...

"!ep 24 +2004" -> [EPGuru] Wrong page has been retrieved for "24 +2004" (http://epguides.com/grid/fall.shtml/)

"!ep 24" -> Title: The South Bank Show

lost works fine for me tho, but that also worked with +2004 before the code replace....

I'm sry, I used a bit different version of script :)

Keep the change I've written above and find the line which contains this code:
if {[catch {set token [::http::geturl http://search.yahoo.com/search

and whole line change to this:
if {[catch {set token [::http::geturl http://search.yahoo.com/search?_adv_prop=web&x=op&ei=UTF-8&prev_vm=p&fr=fp-top&va=$name&va_vt=any&vp=&vp_vt=any&vo=&vo_vt=any&ve=&ve_vt=any&vd=all&vst=on&vs=epguides.com&vf=all&vm=p&vc=&fl=0&n=10 -timeout 30000]}]} {

wicked
01-08-2005, 08:51 AM
hmm the exact same line is in the script i use already :D
its not working correct

happy123
01-08-2005, 01:44 PM
hi f0xn3t, thanks a lot for this awesome script, works very well.
I had the same problem as wicked with a few shows like 24 and CSI, but perhaps I found a solution:
in the regexp

foreach line [split [::http::data $token] "\n"] {
if {[regexp {(<div class=yschabstr>.*</div><em class=yschurl>.*</em>|<em class=yschurl>.*</em> )} $line] } {

I removed the last blank space after |<em class=yschurl>.*</em> (also in the next line).

and it now lists correct results for CSI, CSI Miami and 24. Tried out the search on yahoo and the result page source text does not have any blank after the </em>.

ThanKs again for the script, great job :-)

f0xn3t
01-08-2005, 02:01 PM
thx a lot happy123, you're right ;)
I put blank space in regexp and regsub (below) by mistake here, so it should be:

if {[regexp {(<div class=yschabstr>.*</div><em class=yschurl>.*</em>|<em class=yschurl>.*</em>)} $line] } {
regsub {(<div class=yschabstr>.*</div><em class=yschurl>(.*)</em>|<em class=yschurl>(.*)</em>)} $line {\1} page
UPDATE: seems, it was caused by this forum because I can't get rid of the spaces... though in Edit form it's ok :D funny

wicked
01-08-2005, 02:05 PM
/me so dumb

thx for the trick, i was playing around with that code as well, but didnt get it right ;)

all working fine now

teqno
01-10-2005, 02:20 AM
Can't get it to work with !ep 24

If someone got a working version then please post it

Thx in advance

f0xn3t
01-11-2005, 06:10 PM
Originally posted by teqno
Can't get it to work with !ep 24

If someone got a working version then please post it

Thx in advance read posts above ;)

f0xn3t
01-16-2005, 08:01 AM
here it comes... v4.0 ;)

It fully supports TVTome.com Guide (Show, Episode & Person)
... and moreover I get rid of some problems around EPGuides.com Guide, thx to a piece of code from wiki.tcl.tk.. so epguides.com guide uses google.com searching ;)

... AND, I fixed a time limitation (1970-2036?) thx to time.tcl script (by Roger E. Critchlow Jr.) which I found.

d'oh.. it has many new features, so check Changelog ;)

-----------------
CHANGELOG:
- !!! NEW TVTome.com Show Guide (just use command e.g. !ep ... supports releasename parser; more info in Help)
- !!! NEW TVTome.com Episode Guide (just use command e.g. !ep -ep 8-1 -id StargateSG1; more info in Help)
- !!! NEW Releasename parser for TVTome.com Episode Guide (just use command e.g. !ep -ep )
- Tvshowsondvd.com fix (a source code of this web page has changed a bit)
- Epguides.com Guide now uses google.com as it should ;) (thx to a support page at wiki.tcl.tk)
- Improved Epguides.com searching (Logical operators work now to find a show you really need ;)
- Improved Releasename parser (the code has been mostly changed; it should support almost all TV show releases ;)
- Improved error handling (including ERROR 404 & wrong parameters checking in !ep cmd and ERR# + edited error description)
- Improved HTML codes mapping and replacing the codes with a proper char
- Improved anti-flood protection of Person Guide (last word in a note will be shown properly, so no missing letters)
- Unlimited number of records allowed in anti-flood protections of Person Guide
- Unlimited search results allowed in Person Guide
- Epguides.com now supports dates from 1930 to 2029 (thx to the script time.tcl by Roger E. Critchlow Jr. with "double" type of variable; shows older than 1970 will show its info correctly)
- Fixed epguides.com show title bug (!ep trace evidence)
- Fixed NFO link ("&" is "&" now)
- Fixed a bug in epguides.com episode names (!ep dr.vegas ... !ep wonderfalls)
- Fixed IMDB URL in Person Guide, because tvtome.com has changed source code a bit
- Changed name of all procedures (now they start "epg_*"; I've been noticed that there are some problems in dzsbot)
- Script uses HTTP package 2.0 instead of poor $socket
- Added customizable header, body and footer of TVTome.com Show/Episode Guide
- Added Exact match in search results of Person Guide
- Added start-line text for TVTome.com Show/Episode/Person Guide and Epguides.com Guide
- Person Guide is now fully customizable (header, body, footer)
- Better configuration part ;)
-----------------
DOWNLOAD (http://www.ioftpd.com/scripts/script.php?id=131)

wicked
01-16-2005, 08:40 AM
wow, thats a lot of new stuff! great work dude, time to install it :)

LSD
02-21-2005, 09:09 AM
heh kinda cool script, thx bro


works fine here

slappen
03-12-2005, 09:53 AM
Have tried to get the output directly from !ep 24 to:
<bot> Last 24: Day 4: 6:00 P.M.-7:00 P.M. (4x12) . . . Air Date: Mon, March 7, 2005 (5 days ago)
<bot> Next Day 4: 7:00 P.M.-8:00 P.M. (4x13) . . . Air Date: Mon, March 14, 2005 (2 days remaining)

but when i do !ep 24 i get:

<bot> => Found 7 shows matching "24". Shown max. first 1 shows.
<bot> Exact match: 24 (_24)
<bot> Results: 24 (_24)
<bot> --=----- Use "!ep -id <text in parentheses>" to get info ------=--

and then i have to do a !ep -id _24.

What can i do to get the last and next direct??

Sry if there is a post about this already have read the whole post but maby i missed.

f0xn3t
03-13-2005, 03:47 PM
Originally posted by slappen
Have tried to get the output directly from !ep 24 to:
<bot> Last 24: Day 4: 6:00 P.M.-7:00 P.M. (4x12) . . . Air Date: Mon, March 7, 2005 (5 days ago)
<bot> Next Day 4: 7:00 P.M.-8:00 P.M. (4x13) . . . Air Date: Mon, March 14, 2005 (2 days remaining)

but when i do !ep 24 i get:

<bot> => Found 7 shows matching "24". Shown max. first 1 shows.
<bot> Exact match: 24 (_24)
<bot> Results: 24 (_24)
<bot> --=----- Use "!ep -id <text in parentheses>" to get info ------=--

and then i have to do a !ep -id _24.

What can i do to get the last and next direct??

Sry if there is a post about this already have read the whole post but maby i missed.

In fact, it's not possible, because when you enter "24" tvtome.com returns 7 shows and script is not set to take the first show in search results, but shows search results and user have to specify which show he really wants.

Maybe I could add to the configuration part whether it should show search results, or take exact match or first result.

Now I can't help you anyway because it needs many changes in script :) ... wait for v4.1

MessyR
03-16-2005, 04:57 PM
Title: Bad Request >> URL: http://epguides.com/<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor=#3366cc><img width=1 height=1 alt=""></td></tr></table><table width=100% border=0 cellpadding=0 cellspacing=0 bgcolor=#e5ecf9><tr><td bgcolor=#e5ecf9 nowrap><font size=+1>%epgurlnbsp;Web</font>%epgurlnbsp;</td><td bgcolor=#e5ecf9 align=right nowrap><font size=-1 color=>Results 1 - 10 of about 46 from epguides.


Worked fine yesterday anyone any ideas what this error can be?

f0xn3t
03-19-2005, 01:53 AM
Originally posted by MessyR
Title: Bad Request >> URL: http://epguides.com/<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor=#3366cc><img width=1 height=1 alt=""></td></tr></table><table width=100% border=0 cellpadding=0 cellspacing=0 bgcolor=#e5ecf9><tr><td bgcolor=#e5ecf9 nowrap><font size=+1>%epgurlnbsp;Web</font>%epgurlnbsp;</td><td bgcolor=#e5ecf9 align=right nowrap><font size=-1 color=>Results 1 - 10 of about 46 from epguides.


Worked fine yesterday anyone any ideas what this error can be?

it's a problem of google.com which put almost whole page code into one line, so it's damn hard to parse it... BUT as I've seen some other epguides.com scripts use the OLD search script on epguides.com which works again... so, in upcoming v4.1 EPGuru will use again epguides.com searching.. IT MEANS ALL PREVIOUS VERSIONS WORK AGAIN !! if you like them ;)

but back to the problem... here is a temp fix:
find this text in the script:
if {[catch {set token [::http::geturl http://www.google.com/search?hl=en&q=site%3Aepguides.com&q=$name -timeout 30000]}]} {
putserv "$resperror :\[\002EPGuru\002\] ERR#40 - Connection problems with www.google.com! No data received."
return "NONE"
}

set page ""

if {[::http::ncode $token] == 404} {
putserv "$resperror :\[\002EPGuru\002\] ERR#41 - Page was NOT FOUND at www.google.com!"
::http::cleanup $token
return "NONE"
}

foreach line [split [::http::data $token] "\n"] {
if {[regexp {<br><font color=.*008000>epguides.com/.*/ {1}- {1}.*</font><nobr>.*} $line] } {
regsub {<br><font color=.*008000>epguides.com/(.*)/ {1}- {1}.*</font><nobr>.*} $line {\1} page
regsub -all "<b>" $page "" page
regsub -all "</b>" $page "" page

set page "$page/"
break
}
}
and replace with this one:
if {[catch {set token [::http::geturl http://epguides.master.com/texis/master/search/?q=$name -timeout 30000]}]} {
putserv "$resperror :\[\002EPGuru\002\] ERR#40 - Connection problems with www.epguides.com! No data received."
return "NONE"
}

set page ""

if {[::http::ncode $token] == 404} {
putserv "$resperror :\[\002EPGuru\002\] ERR#41 - Page was NOT FOUND at www.epguides.com!"
::http::cleanup $token
return "NONE"
}

foreach line [split [::http::data $token] "\n"] {
if {[regexp "<b>URL:</b> <FONT SIZE=-1>" $line] } {
regsub "<b>URL:</b> <FONT SIZE=-1>" $line " " page
set page [string trim $page]
regsub {http://epguides.com/(.*)} $page {\1} page
if {[regexp {[[:alpha:]]/guide.shtml} $page]} {
regsub {(.*)guide.shtml} $page {\1} page
}
break
}
}

MessyR
03-29-2005, 06:34 PM
awesome m8 thx alot works perfect again :) tnx alot

djdeluxe76
05-01-2005, 05:56 PM
just wanted to thank you for so much work and such a nice script!

Thanks
DJ

Taz Man
05-13-2005, 04:19 AM
Curious if others are having probs with S##E## flag not responding?? As in, no matter what I set it to (1, 2, or 3) it always responds in the format #X##??

SIGGI_
05-15-2005, 01:05 AM
is it possible to get like mini version of this script
that will only show when next Episode and last was
like
!ep 24

Last episode of 24 was aired date..
Next episode of 24 is date ................

:)

f0xn3t
06-01-2005, 07:00 AM
Originally posted by SIGGI_
is it possible to get like mini version of this script
that will only show when next Episode and last was
like
!ep 24

Last episode of 24 was aired date..
Next episode of 24 is date ................

:)

not a bad idea :) it's true that the script is quite huge... I'll see...

Now I plan to release only EPGuru v4.1 within a month with some fixes, etc. :)

f0xn3t
07-15-2005, 08:22 AM
Well, Tvtome.com has completely changed, so the tvtome.com part of the script is completely unusable :mad: So, please, use epguides.com part.
I still don't know whether i should write tvtome.com part again or not, but the fact is that most of the work is done and now it's just a question of parsing the page. I'll see...

slappen
07-28-2005, 07:23 PM
still waiting for it :)

f0xn3t
08-01-2005, 12:37 PM
still waiting for it :)

well, I'm 70% done :) I've improved most parts of the script and have had to make fixes for some tv.com bugs, especially in search engine (they have still a lot of work on it, meantime their engine sux :(

I've decided to release tv.com script as EPGuru2 (only show and episode guide, not person guide, because tv.com's person db really sux as well :(
old EPGuru as v5 will have only EPGuides.com, NFOrce.nl, TVShowsOnDVD.com
But it's gonna be possible use both scripts :)

...AND I have a surprise for ioftpd and glftpd owners :) EPGuru2FTP script for sitebot which will announce info on NEWDIR or PRE like IMDB does, but fully customizable like EPGuru2, I think better than PSXC-IMDB script ;) :D let me know than

That's all for now :) Check this topic soon again ;)

ekdp
10-06-2005, 12:22 PM
What ever happend to this ?

JcFlyeR_1
10-24-2005, 01:44 AM
I am still waiting for the new version... :) e-mail me or something it it comes out!

thanks!!!
will keep checking...

w00t!!!!!

f0xn3t
11-24-2005, 01:09 AM
I'm sry to everybody for such delay, but some personal problems have crossed my plans to finish my script on time :)
Nonetheless, it's finally here.

As I've noticed TVTome.com has changed into TV.com with completely different page layout.
So, I've decided to make new script for it... it wasn't so easy, because TV.com is really buggy :( Database as well :((( ...anyway, Show and Episode searcher is back, but Person searcher has gone... trust me, TV.com's DB for person is worse than before, so I recommend to use IMDb.com.

I've finished 2 scripts... EPGuru2 and EPGuru2FTP
- EPGuru2 is similar to it's older brother/sister EPGuru -> contains Show and Episode searcher only + improved releasename parser
- EPGuru2FTP is like EPGuru2 but shows information after NEW or PRE announces. It's tested for ioFTPd dZSbot and glFTPd dZSbot (ProjectZS-NG) .

Announce Layout is fully customizable... just add variable from a huge list + you can add something like anti-empty tags :)
e.g. <status>Status: %status</status> <- this means when status information is found on TV.com than "Status: something" will be shown, but when no info is found for status than everything between those 2 tags won't be shown... nice, isn't it? :)

Another improved thing is the releasename parser... Before, when you had entered releasename and it found more results you had to enter ID of a show to get information... but now... all you need is to enter releasename and the rest is up to script :)
you can just add "-ep" if you want Episode info instead of Show info...and "-x" if you want Extended info instead of Limited info.... <- this is only for EPGuru2 script

EPGuru2FTP does everything itself, you don't have to do anything ;) just sit and watch.


Well, check attachments to get both scripts.

BTW: I wanted to release EPGuru v5.0, but search engine on epguides.com is dead again :( on that page in some kind of contact form and no search form and I don't want to change it back to Google searching... it's really annoying... so, EPGuru script is postponed.

BTW #2: when you found any information bugs CHECK TV.com first and then let me know by adding reply to this thread.

Enjoy... :cool:

EwarWoo
11-24-2005, 04:38 AM
Good work fella, at work atm, but will test 'em out as soon as I get home :D
Cheers for sharing this.

JcFlyeR
11-24-2005, 06:11 AM
Funny thing is... all of a sudden i was like... oo lets check on the script... and it just so happened you updated it today! :) nice!

EwarWoo
11-24-2005, 08:57 AM
Or at least I'll try it when a mod approves the attachment

Linkster
11-26-2005, 01:25 AM
Please post these scripts to the scripts page via the customer portal. I'd rather not have stuff floating all over the forums again.

f0xn3t
11-26-2005, 01:58 PM
Please post these scripts to the scripts page via the customer portal. I'd rather not have stuff floating all over the forums again.

Well, I would like to post them there like on old script page, but I can't :( I was trying to solve this with Tech Support so they've merged my two logins together and set me as ioFTPd scripter... nonetheless, I still don't have a permission to upload them there. Looks like, it's only for ioFTPd registered members.

so, i'll delete attachments and put those files somewhere else :(

f0xn3t
11-26-2005, 02:08 PM
Both scripts are available in Scripts section:

http://www.inicom.net/pages/en.ioftpd-scripts.php

Enjoy...

EwarWoo
11-26-2005, 06:09 PM
EPGuru2 -
[08:46] * Last context: tclhash.c/684 [Tcl proc: pub:epg2, param: $_pub1 $_pub2 $_pub3 $_pub4 $_pub5]
[08:46] * Please REPORT this BUG!
[08:46] * Check doc/BUG-REPORT on how to do so.
[08:46] * Wrote DEBUG
[08:46] * SEGMENT VIOLATION -- CRASHING!
Using the b0unty build of windrop with SSL.
Occurs on a search for the show monk, others are OK so far but, just him thats crashing it. Weird.
Also, is it possible for the bot to just return the first match instead of a bunch of matches and letting you choose? Possible I missed a setting, only just woke so still half asleep, forgive me if thats already there.

EPGuru2FTP

f0xn3t
11-29-2005, 05:47 AM
EPGuru2 -
[08:46] * Last context: tclhash.c/684 [Tcl proc: pub:epg2, param: $_pub1 $_pub2 $_pub3 $_pub4 $_pub5]
[08:46] * Please REPORT this BUG!
[08:46] * Check doc/BUG-REPORT on how to do so.
[08:46] * Wrote DEBUG
[08:46] * SEGMENT VIOLATION -- CRASHING!
Using the b0unty build of windrop with SSL.
Occurs on a search for the show monk, others are OK so far but, just him thats crashing it. Weird.
Also, is it possible for the bot to just return the first match instead of a bunch of matches and letting you choose? Possible I missed a setting, only just woke so still half asleep, forgive me if thats already there.

EPGuru2FTP

ye, it's kinda weird, that only Monk causes this... I was testing it on Linux's eggdrop so I will check it on windrop as well.
...and it crashes every time only for Monk?

no, you didn't missed anything, but it's a good idea, so I will add it to the next version :)

EwarWoo
11-29-2005, 06:54 AM
Done some more testing, and its kinda intermittent

*> !ep -id 24313
*Bot has quit IRC (Remote host closed the connection)
*Bot has joined #EwarWoo
*Woo> !ep -id 24313
*Bot> [TV.com] Show Title........: Lost - LAST Episode.......: 2x08 - Collision (a.k.a.Old Habits) (November 23, 2005 .. 6 days ago) - NEXT Episode.......: 2x09 - What Kate Did (November 30, 2005 .. Tomorrow)

Exact same command crashed it one time then not next :/

And I did have Monk work for me:

*> !ep monk
*Bot> [TV.com] Show Title.........: Monk
*Bot> [TV.com] LAST Episode.......: 4x08 - Mr. Monk and Little Monk (August 26, 2005 .. 13 weeks 4 days ago)
*Bot> [TV.com] NEXT Episode.......: 4x09 - Mr. Monk and the Secret Santa (December 2, 2005 .. 3 days remaining)

So its not Monk causing it that was just a coincidence. Just sometimes works, sometimes crashes without anything being changed.

N the more I use the !ep -id # the more annoying it becomes. Hehe. However other than great script, love how easy it is to customise

f0xn3t
11-29-2005, 02:31 PM
Done some more testing, and its kinda intermittent

*> !ep -id 24313
*Bot has quit IRC (Remote host closed the connection)
*Bot has joined #EwarWoo
*Woo> !ep -id 24313
*Bot> [TV.com] Show Title........: Lost - LAST Episode.......: 2x08 - Collision (a.k.a.Old Habits) (November 23, 2005 .. 6 days ago) - NEXT Episode.......: 2x09 - What Kate Did (November 30, 2005 .. Tomorrow)

Exact same command crashed it one time then not next :/

And I did have Monk work for me:

*> !ep monk
*Bot> [TV.com] Show Title.........: Monk
*Bot> [TV.com] LAST Episode.......: 4x08 - Mr. Monk and Little Monk (August 26, 2005 .. 13 weeks 4 days ago)
*Bot> [TV.com] NEXT Episode.......: 4x09 - Mr. Monk and the Secret Santa (December 2, 2005 .. 3 days remaining)

So its not Monk causing it that was just a coincidence. Just sometimes works, sometimes crashes without anything being changed.

N the more I use the !ep -id # the more annoying it becomes. Hehe. However other than great script, love how easy it is to customise

I've also some experience with bot crashes, when I use the command. Only sometimes, randomly, but only with windrop for windows. It has never crashed on linux's eggdrop in my case. So, I think windrop is a bit sensitive when he retrieves info from the net :)

btw, my plan is to set the script not to show Search Results by default. Only when you add -r (in mode when Search Results is off) or when Search Results is on :) I think, it's the best way...

maX1mus
12-02-2005, 07:31 AM
Is there a way to use this script with blowfish encryption?

And, btw, it says v1.0 in some places still ;>
When loaded -help etc ;p

Cheers - max

f0xn3t
12-05-2005, 03:53 PM
Is there a way to use this script with blowfish encryption?

And, btw, it says v1.0 in some places still ;>
When loaded -help etc ;p

Cheers - max

it depends how you set up your eggdrop/windrop... EPguru itself doesn't have integrated encryption.

For encryption exists this script:
http://www.donationcoder.com/Software/Mouser/mircryption/others_eggdrop.php

...and v1.0 is correct :)
these scripts are, let's say, of 2nd generation, so they are new ;)
old EPGuru is of v4.*, but epguides.com searching is unusable, so it's not added to the Scripts page

maX1mus
12-05-2005, 04:37 PM
Thx for the reply mate!
Tho it seems to crash too often for me i decided not to use it, tho it would have kicked a*s if it didnt ;x

- max

f0xn3t
12-08-2005, 05:14 PM
Thx for the reply mate!
Tho it seems to crash too often for me i decided not to use it, tho it would have kicked a*s if it didnt ;x

- max

you mean with that encryption script? or in general?

maX1mus
12-08-2005, 06:26 PM
Just in general.. when i tried it without blfs-key :\
Really liked it and wanted to use it tho ..

EwarWoo
12-08-2005, 07:38 PM
Yeah, same here, that intermittent crash when fetching episode info kills bit stability unfortunately.
Other than that is a great script though.

f0xn3t
12-09-2005, 12:55 PM
ok, i will try to test it and find out the core of these crashes...

very helpful info would be, whether you use EPG2 or EPG2FTP... windrop or eggdrop... which version and if it is with SSL or not :)

maX1mus
12-09-2005, 02:26 PM
How nice .. :D
I really like the script so i will do what i can to help.
Im using:
http://users.skynet.be/bounty/index2.html -> Eggdrop v1.6.17+SSL
(so Windrop with SSL)
And i was trying EPGuru2 (not FTP)

Cheers - max

EwarWoo
12-09-2005, 05:17 PM
Same as above :)

ekdp
12-11-2005, 06:11 PM
Great script!
I'm using both the ftp one and the eggdrop one.

One problem though with the eggdrop-script..

[TV] Found 2 shows matching "the simpsons". Shown max. first 8 shows.
[TV] Results: The Simpsons (146); Paul Merton in Galton & Simpson's... (4422)

Is there someway to make the bot look for an exact match at first, as the epguru for ftp does ? And then, sure, to have an option for the non-exact matches.

The thing is, that 9 times out of 10, the first series listed in the suggestionlist is the one you are searching for.

Cheers

EwarWoo
12-11-2005, 07:15 PM
Read up, thats already suggested and f0x was kind enuff to take it on board, will be in the next build :)

zOrP
01-12-2006, 06:49 AM
i cant seem to make the ftp thingy work.. :/

i added

if { $disable(IMDBANNOUNCE) == 1 } {
close $of
set lastoct [file size $location(IOLOG)/ioFTPD.log]
if { $msgtype == "NEWDIR" || $msgtype == "PRE" } {
foreach chan $chanlist($section) {
epg2ftp_exec $path $chan
}
}
utimer 1 "readlog"
return 0

and loaded the tcl.. but still nottin..
:x

zOrP
01-13-2006, 03:38 PM
does epguru.tcl have to be loaded ?

or is it enought to load the epguru2ftp.tcl?

and could it be this script does not support windrop+SSL1.6.17 ?

i got this when loading the epguru.tcl

[21:35:36] [xxx] [21:35] Tcl error in file 'eggdrop.conf':
[21:35:36] [xxx] [21:35] can't find package http 2.0
[21:35:36] [xxx] while executing
[21:35:36] [xxx] "package require http 2.0"
[21:35:36] [xxx] (file "scripts/epguru2_1.0.tcl" line 296)
[21:35:36] [xxx] invoked from within
[21:35:36] [xxx] "source scripts/epguru2_1.0.tcl"
[21:35:36] [xxx] (file "eggdrop.conf" line 424)
[21:35:36] [xxx] [21:35] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
DCC session closed

:(

zOrP
01-14-2006, 02:46 PM
loaded http.tcl before all scripts..
Now bot dont chrash.. :)

BUT.. still no announce on either..
on !tvcom prison break
i get
[20:42] Tcl error [pub:epg2]: list element in quotes followed by "." instead of space

:x

no one out there who got the ftp thingy to work ?

f0xn3t
01-30-2006, 04:21 PM
uff, ok, I added this error to my ToDo list :)
...after olympic games I'll start working again on the script... be patient, I'm very busy now...

2 zOrP: each script can run separately, so you can use just epguru2ftp.tcl

colsha2702
03-15-2006, 07:26 PM
I think TV.COM have changed there site again.. i just started getting this error when trying to search.

[EPGuru] ERR#8 - NO SHOW was found matching your SID "24313".

no matter what SID i put in, it comes back with the same error (obviously with different SID numbers relating to the SID im looking for). I have tried it on 2 different bots with the same result.

I have tried eggdrop 1.6.17 and windrop 1.6.17+SSL and all was working fine till about an hour ago. I have checked to make sure the site is up.. which it is. I hope this can be resolved quickly as this is a great script and a very helpful tool.

TryToCatch
03-31-2006, 11:09 AM
I downloaded today epguru and dont work good. Tvcom shows me something about SID. !ep also dont work, nothing works. One !tvcom Lost, founded something, but thats it :)

Any help?

f0xn3t
04-02-2006, 05:55 AM
yes, you are right... there were some changes in tv.com source code... so, I'll have to check it out completely.

...and progress of development? well, I'm still a bit busy, I thought I could handle it after Olympics as I said, but some things crossed my plans :( so, please be patient... I won't let the script die after so much work I've done on it :)

zOrP
05-29-2006, 06:25 PM
any updates, or expected?
:D

razoor
10-11-2006, 10:16 PM
Nothing yet on this script? caus it dosent work at al now. :cry: