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 »

A quick test of my bots as well as a quick look at the data returned by the calls the script makes doesn't show any problems. The triggers look to still be working and pulling back data they should be. If you're not getting schedule info do an update on the cache and it should work again. If it doesn't double check the URLs being used, though that change happened a long time ago.
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

i get nothing when i try the schedule.

<me> !tonight
<bot> TV -> TV Schedule for Today:

pardon my ignorance, but if the fix for this to update the cache as the previous poster stated, how do i do this?

Thanks in Advance
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

nevermind, i just needed to change the !today url to http://services.tvrage.com/tools/quickschedule.php
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

k its not working again, and the urls ARE working, help please

goalie> !tv suits
<methlab> TV -> Error! (timeout or something similar)

<goalie> !tonight
<methlab> TV -> TV Schedule for Today:

<goalie> !tomorrow
<methlab> TV -> TV Schedule for Tomorrow:
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

I just tested this out. I noticed there was nothing cached on my bots but as you said the URLs still work. A simple !updatecache recached the schedules and things began functioning again as they should.
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

doing !updatecache like you said, did nothing for me, and still:

<goalie> !tonight
<methlab> TV -> TV Schedule for Today:

edit: oh, i'm using DLX-tvrage script, i tried the one on the first page, and coldn't get it to work - where can i get the latest http.tcl so i can try again
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

GaveUp,

It does not seem that any summaries are being returned using !summary.

I think this might be because the tvrage.com layout change..
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Grab the latest version from the git repository and let me know if it works or not. TVRage Script Repo
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

GaveUp,

>!summary Sons of Anarchy 03x13
<tvrage> Sons of Anarchy (USA > 2008 > http://www.tvrage.com/Sons_of_Anarchy)
<tvrage> episode > 0313 - NS (30/Nov/2010)
<tvrage> summary > <img src='http://images.tvrage.com/screencaps/91/ ... WqZonE.jpg' style='max-width:280px' width="319" height="197">
<tvrage> episode > http://www.tvrage.com/Sons_of_Anarchy/e ... 1064979856


This is the lastest from the git portal.
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

A new version has been pushed to the repository. It should fix the above issue.

Side note: I HATE screen-scraping.
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

GaveUp,

Thank you sir. Summaries are working again ;)

> !summary Sons of Anarchy 03x13
<tvrage> Sons of Anarchy (USA > 2008 > http://www.tvrage.com/Sons_of_Anarchy)
<tvrage> episode > 0313 - NS (30/Nov/2010)
<tvrage> summary > Both the ATF and the Russians prove obstacles as the club looks to heal old wounds.
<tvrage> episode > http://www.tvrage.com/Sons_of_Anarchy/e ... 1064979856
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

where do i get http.tcl or egghttp.tcl as the script requires
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Neither are required.
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

Upgrade to TCL8.5
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

GaveUp,

Quick question..

I realize that each new line in the theme counts as a new line being outputted onto IRC..

Can you explain to me why this isn't working..

Code: Select all

# Format of line to show for shows airing soon
set tvrage(announceLine) "PRIVMSG {%%chan%%} :\00314airing in \00309{%%minutesBefore%%} \00314minutes\00309:
{%%shows%%}
"

# Format of information to show for a given show when it is airing soon.
set tvrage(announceShowsFormat) "\00309\[\00315{%%network%%}\00309:\00314 {%%show%%} {%%epnum%%}\00309\]   {%%announceShowSeparator%%}
"

# Separator between shows that air soon.
set tvrage(announceShowSeparator) "
"
It displays on IRC like this:

airing in 10 minutes:
[HBO: Curb Your Enthusiasm 08x06] [Food Network: The Next Food Network Star 07x12] [AMC: Breaking Bad 04x05] [TNT: Leverage 04x08]


I would like it to output like this:

airing in 10 minutes:
[HBO: Curb Your Enthusiasm 08x06]
[Food Network: The Next Food Network Star 07x12]
[AMC: Breaking Bad 04x05]
[TNT: Leverage 04x08]



Is there something stupid that I'm missing??!
Post Reply