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 »

Awesome. People have mentioned this issue a few times, but without the settings from theme I couldn't reproduce it because it was only a problem on the announce piece. Grab the latest from git and it should work.

One note. Be careful of trailing spaces on these lines. If there's a trailing space, for example, on the announceShowsFormat setting it will cause a blank line to be printed at the end of every set of shows.
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

GaveUp,

Thanks, I'll try the latest from GIT. I added the trailing spaces to separate out the listing a bit to make it easier to read since I couldn't get it to go line for line. I'll post in about an hour to let you know if the latest from GIT works. :)

Thanks!
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

GaveUp,

THANKS! :D

[09:49:54pm] <tvrage> airing in 10 minutes:
[09:49:55pm] <tvrage> [A&E: Intervention 11x09]
[09:49:55pm] <tvrage> [Showtime: Weeds 07x08]
[09:49:55pm] <tvrage> [Syfy: Alphas 01x06]
[09:49:55pm] <tvrage> [Spike TV: 1000 Ways to Die 04x06]
[09:49:55pm] <tvrage> [Food Network: The Best Thing I Ever Ate 05x12]
[09:49:55pm] <tvrage> [History Channel: Pawn Star$ 03x70]
[09:49:55pm] <tvrage> [truTV: All Worked Up 04x13]
[09:49:55pm] <tvrage> [TNT: Rizzoli & Isles 02x06]
[09:49:55pm] <tvrage> [Discovery Channel: Surviving The Cut 02x04]
[09:49:55pm] <tvrage> [MTV: Teen Wolf 01x12]
[09:49:55pm] <tvrage> [TLC: Surprise Homecoming 01x07]
[09:49:55pm] <tvrage> [National Geographic Wild: Deadly 60 (US) 01x11]
[09:49:55pm] <tvrage> [Bravo: Most Eligible Dallas 01x01]
[09:49:55pm] <tvrage> [Fuel TV: Drake's Passage 01x01]
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

got the script,

is there any way like in the dlx version - to not list certain channels that i'm not interest in it listing, example PBS or somethin
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Use the tvrage(filteredNetworks) and tvrage(includeOnlyFiltered) settings.
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

goalie204,

set it up like this in tvrage.conf


set tvrage(filteredNetworks) "Pay-Per-View {Travel Channel} {Disney Channel} Style OWN WE VH1 Lifetime G4 HGTV Oxygen {TV Guide Channel} {DIY Network} E! Versus {Investigation Discovery} mun2 {Cartoon Network} {Cooking Channel} Nickelodeon {Animal Planet} {BBC America} {Disney XD} {TV One} {ID: Investigation Discovery} TeenNick Logo {Discovery Health Channel} ESPN Showtime2"


Read the comments in the .conf to make sure you're doing it right. Networks that contain multiple words separated by spaces need to be put in { }'s
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

ok guys thanks for the quick responses, i will try this.

My other question: announce isn't...announcing anything, and it's enabled in the .conf - anything i need to do to get it going? Channels are set to +tv and working with pub triggers
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

You need to add the +tvannounce flag to the channel.
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

And is there a way to have the results of a !tonight sorted by Network, not time as in the old DLX script?

Example instead of 8pm: this network, that network etc

it would be like :

HBO: True Blood 7 pm, breaking bad 8pm
FX: blah blah 6pm, bloo blee 9pm

etc?
Last edited by goalie204 on Wed Aug 24, 2011 4:53 pm, edited 2 times in total.
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

No there isn't. To do that you'd need to change how the printSchedule proc works and add a couple more settings to the theme for that sorting style as well as a toggle to the conf.

Feel free to tackle this yourself. Thinking about it I don't think this is something I'll add unless I can find a way to make adding different sorting styles flexible and working through it in my mind I don't see that easily happening without changing the internal structures to something like sqlite ... a task I really don't want to undertake unless it'd be worth it (read: there are other worthwhile features that can be added and would depend on the switch as well).
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

no problem
g
goalie204
Halfop
Posts: 44
Joined: Thu Apr 28, 2011 7:31 pm

Post by goalie204 »

sometimes this works for me, other times i get this

<goalie> !tv dexter
<methlab> Title :: {%%show_name%%} <> URL :: {%%show_url%%} <> Premiered :: {%%premiered%%} <> Latest Episode :: N/A <> Next Episode ::N/A <> Country :: {%%country%%} <> Status :: {%%status%%}
k
kenh83
Halfop
Posts: 61
Joined: Wed Sep 08, 2010 11:22 am

Post by kenh83 »

goalie, I think (Don't quote me) that it's because of timeouts when communicating with tvrage.com -- They've been having some problems lately.
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

You're correct on that one. Increasing the http timeout setting may solve this. I've been meaning to get around to catching this situation and displaying a more meaningful error message but it really hasn't been high on the priority list since it rarely happens.
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

A few bug fixes have been pushed to the git repo as well as a fix for the above situation where a timeout occurs retrieving data. Instead of the above being displayed a new "problemMessage" template will be displayed.
Post Reply