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.

TV script status

Support & discussion of released scripts, and announcements of new releases.
J
JAFO
Voice
Posts: 19
Joined: Thu Oct 13, 2005 1:18 pm

Post by JAFO »

ehm .............. found the "prob" , well sorta ;)

Dont work on windrop :roll:

But on Linux i get same error as hpostiga
A
Acheron
Voice
Posts: 3
Joined: Mon Jan 02, 2006 8:21 am

Post by Acheron »

It was working fine for me but once episodeworld changed the index, yesterday/today/tomorrow stopped working. Initially it just kept showing Dec 18th (the last day of the old site format) but now it simply shows nothing. :(
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

All i can suggest to all that use this script is to contact ryal so an update can be made for the new site format.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
r
ryal
Voice
Posts: 35
Joined: Thu May 12, 2005 6:10 pm

Post by ryal »

hi !
Thx all for your interest in the script
Indeed the site has been updated by the owner who forgot to warn me ;) and this a little before christmas. So logically the !epinfo proc should still work but not the day triggers.
Well i've written an update of the tcl, along with some upgrades: now theres a mulilangual support for kind of triggers (!epinfo & !whatson); the day triggers have been replaced with !whatson <day>, <day> being "2006-01-03", today, yesterday or any another date (as long as your bot was online this day, more or less); well report to the tcl or help to find more :)
I've posted it on egghelp, but you can still get it from my site while its being approved.
Enjoy!
T
Taz
Voice
Posts: 9
Joined: Sun Oct 23, 2005 10:18 pm

Post by Taz »

Great job buddy. I look forward to your next update and continued work. We all appreciate your effort.
r
ryal
Voice
Posts: 35
Joined: Thu May 12, 2005 6:10 pm

Post by ryal »

Thx a lot Taz
I see the archive has been updated and the new version is now available here on egghelp, thank to the updater whoever that is
A
Acheron
Voice
Posts: 3
Joined: Mon Jan 02, 2006 8:21 am

Post by Acheron »

Glad to see an update ryal. :)

However, !whatson doesn't work for me still. :(

btw, couldn't today/yesterday/tomorrow be brought back by using the system date to determine the dates for those? I'm not well-versed in Tcl but I imagined it had a system date function like other languages.


* Edit: I found the problem. The date variable doesn't seem to work unless I put in today's date. If I put in 2006-01-07 it works. if I use any other date, it returns nothing.
r
ryal
Voice
Posts: 35
Joined: Thu May 12, 2005 6:10 pm

Post by ryal »

[22:28:04] <ryal> !whatson
[22:28:06] <TVINFO> Usage: !whatson <day> -l <language>

heres the usage :)

And i think i mentionned in the tcl that "today" and "yesterday" work as dates. So for today for example you can eihter ask !whatson today or !whatson 2006-01-07. But the tomorrow wont anymore, thats just the way it is :( it will return nothing

Enjoy!
A
Acheron
Voice
Posts: 3
Joined: Mon Jan 02, 2006 8:21 am

Post by Acheron »

ryal wrote:[22:28:04] <ryal> !whatson
[22:28:06] <TVINFO> Usage: !whatson <day> -l <language>

heres the usage :)

And i think i mentionned in the tcl that "today" and "yesterday" work as dates. So for today for example you can eihter ask !whatson today or !whatson 2006-01-07. But the tomorrow wont anymore, thats just the way it is :( it will return nothing

Enjoy!

Yep .. but for example today is 2006-01-17 and if I put that in, it works fine. However, if I put in 2006-01-16, I get nothing. :(

Great script though, really appreciate your work on it. :)
r
ryal
Voice
Posts: 35
Joined: Thu May 12, 2005 6:10 pm

Post by ryal »

I've got an explanation for you, maybe this will be relevant:
The bot parses the info from the rss every 4 hours. It always stores the info for today (since the list is sometimes updated during the day) but not for the day before that if they already exist in its storage. That means if your bot was up on the (and unrehashed/restarted since) YYYY-MM-DD, it should still have the info available. If the bot is rehashed/restarted those storing variables are reset and the bot only have in memory the info coming from the RSS. Now, what is in the RSS ? Well there is the info for the last 30 shows and no more! That means if theres 10 shows today, 5 yesterday and 20 the day before yesterday and the bot is rehashed lets say now, it should have 10 shows for today in memory, 5 for yesterday and 15 for the day before! Now if your bot was up the day before yesterday (and if it wasnt rehashed since) it should have the whole 20 shows in memory (and even info from before given its uptime).
So the explanation i had for you (the only thing that seems to make sense to me): you have rehashed your bot on the 17/01/2006 and there was 30 shows or more on this day. Am i right?
Well... i just asked my bottie which is up for a long time now and i can tell there indeed was 30 shows on the 17/01/2006:
<***> **************************************
<***> Airing Date - Show Name - Episode Name
<***> **************2006-01-17**************
<***> 2006-01-17 - American Idol - 5x01 - Chicago, IL Auditions
<***> 2006-01-17 - Anything to Win - 1x02 - MIT Blackjack Team Exposed
<***> 2006-01-17 - Boston Legal - 2x12 - Helping Hands
<***> 2006-01-17 - Celebrity Big Brother - 4x13 - Series 4 Episode 13
<***> 2006-01-17 - Commander-In-Chief - 1x11 - No Nukes Is Good Nukes
<***> 2006-01-17 - Daisy Does America - 1x08 - Psychic
<***> 2006-01-17 - Dirty Jobs - 2x14 - Turkey Farmer
<***> 2006-01-17 - Distraction - 2x02 - Episode 201
<***> 2006-01-17 - Fear Factor - 6x06 - Psycho Fear Factor (3)
<***> 2006-01-17 - Gilmore Girls - 6x12 - Just Like Gwen and Gavin
<***> 2006-01-17 - Late Show with David Letterman - 13x82 - Tatum O'Neal, Jeff MacGregor
<***> 2006-01-17 - Law & Order: Special Victims Unit - 7x14 - Taboo
<***> 2006-01-17 - Love Monkey - 1x01 - Pilot
<***> 2006-01-17 - Meet the Barkers - 2x03 - Episode 3
<***> 2006-01-17 - Miami Ink - 2x02 - Step Up or Step Out
<***> 2006-01-17 - My Own - 1x10 - Episode 10
<***> 2006-01-17 - NCIS - 3x13 - Deception
<***> 2006-01-17 - Party/Party - 1x05 - Gay Weddings
<***> 2006-01-17 - Queer Eye For The Straight Guy - 5x06 - Moose Lodge
<***> 2006-01-17 - Relationship Rehab - 1x03 - TBA
<***> 2006-01-17 - Restaurant Makeover - 1x11 - Oasis Restaurant
<***> 2006-01-17 - Rodney - 2x09 - Welcome Ho
<***> 2006-01-17 - Scrubs - 5x05 - My New God
<***> 2006-01-17 - Scrubs - 5x06 - My Missed Perception
<***> 2006-01-17 - Secret Lives Of Women - 1x06 - Women in Porn
<***> 2006-01-17 - Supernatural - 1x12 - Faith
<***> 2006-01-17 - The Colbert Report - 2x06 - Andrew Sullivan
<***> 2006-01-17 - The Collector - 3x02 - The Chef
<***> 2006-01-17 - The Daily Show with Jon Stewart - 11x08 - L. Paul Bremer
<***> 2006-01-17 - The Shield - 5x02 - The Enemy of Good
<***> **************************************
and the bot also has 24 shows (no pun intented, congrats to those who followed me on this one :p) in memory for the 16/01/2006 (which i wont paste here, im afraid of being kicked for spamming :p)
So... one question remains... did you rehash your bot or not after the 16/01/2006 ?

Well thats it, i dont know if that makes sense to you, sometimes i can be kinda cryptic :)
a
av4tar
Voice
Posts: 1
Joined: Mon Feb 06, 2006 7:37 am

Post by av4tar »

Hey all.

I installed this great script.
BUt when i try !epinfo in my chan it gives me following error :

<me> !epinfo Prison Break
<Bot> Unknown Show, check the spelling

And thats on every show i try.
When i look on partyline it gives me this :

[12:30] <<me>> !me! !epinfo Prison Break
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Parsing www.episodeworld.com
[12:31] Next parsing scheduled in 240'

What to do ?
Did i miss anything ?
THnx
r
ryal
Voice
Posts: 35
Joined: Thu May 12, 2005 6:10 pm

Post by ryal »

Dunno what to say... maybe the site was down at the time you tried. Works perfectly here and anywhere else that i know of.
Follow the instructions carefully, read the logs and if you really dont get anything pm me, we'll solve that.

For the "parsing www.episodeworld.com": it should do that on rehash/restart only and indeed 9 times: one for each of the languages available

GL
r
ryal
Voice
Posts: 35
Joined: Thu May 12, 2005 6:10 pm

Post by ryal »

New version (2.0) with mysql has just been posted.
You can find it here http://paurocks.free.fr/EpisodeWorldScr ... 0-RyaL.rar before its accepted on egghelp (site is down atm, ill post asap).
So whats the new feature?
Well you can now customize the bot: you define your own selection of shows and the bot will cross reference between it and whats on tv and pm you the results.
You have nothing to do, just wait and watch :)
q
qw3rty
Voice
Posts: 4
Joined: Thu Apr 06, 2006 11:49 pm

Post by qw3rty »

can you make a version that doesnt need mysql... that would be awesome
r
raktivist
Voice
Posts: 15
Joined: Tue Nov 22, 2005 9:08 am

Post by raktivist »

qw3rty wrote:can you make a version that doesnt need mysql... that would be awesome
or a more step by step tutorial would be nice. especially for us who dont know anything about mysql.

Code: Select all

# 2/You now need a mysql server. Personally I use easyphp, easy and simple.    #
#      You need to create the scheme with the database the bot will use.       #
#      For this, use the structure.txt file. Go to your administrator and do a #
#      restore. But as i know your as lazy as i am, you can instead of this    #
#      type !initiate in PM to the bot, it will create all the tables. But the #
#      db must exist!                                                          #
could this line be explained further?? i installed easyphp 1.8.0.1 and i dont have a clue how to go about from there. :|

thanks in advance!
Post Reply