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
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

Thanks alot, works great

how about

FROM:
!showinfo two and a half men

TO:
!showinfo taahm

and

Two and a Half Men • Monday at 09:00 pm

show when it airs in showinfo

can that be done?


have the time worked out now i hope

timezone EST
offset 5
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
s
sdays
Halfop
Posts: 98
Joined: Sat Oct 21, 2006 4:46 am

Post by sdays »

Hello,

I'm using rosc script and I want all new tv shows on a new line not 4/5 in one line does anyone how to to do this?

15[22:35] <@Warlord> .tv
[22:35] <Cybernoob> 05New Shows for8 Wednesday, 27 Jan 201014 ***All Times in US EST/EDT***
[22:36] <Cybernoob> 1108:00 pm10: 11(03FOX11)14-06American Idol14-11(1009x0611) 11(03ABC11)14-06Scrubs14-11(1009x1211) 11(03truTV11)14-06Most Daring14-11(1006x1211) 11(03HGTV11)14-06Property Virgins14-11(1007x1311) 11(03PBS11)14-06Tavis Smiley Reports14-11(1001x0111) 11(03Planet Green11)14-06Big Chef Takes on Little Chef14-11(10S01-Special11)
[22:36] <Cybernoob> 1109:00 pm10: 11(03DIRECTV11)14-06Friday Night Lights14-11(1004x1111) 11(03Discovery Channel11)14-06Man vs. Wild14-11(1006x1111) 11(03Planet Green11)14-06Living With Ed14-11(1003x1211) 11(03truTV11)14-06Most Daring14-11(1006x1311) 11(03History Channel11)14-06MonsterQuest14-11(1004x0311) 11(03Syfy11)14-06Ghost Hunters
03[22:36] * Warlord sets mode: +m
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

I can't speak for rosc's script directly, but in my script you can get that result by setting the scheduleShowSeperator to \n. I think this should work in rosc's version as well, but I can't make any guarantees.
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

New version. Grab it from the normal place.

1.3
---
*Fixed long standing memory leak. (hopefully)
-Removed old debug statement that slipped through the
cracks.
*Fix bug in convertToSxEp method causing season to
be used for episode number.
*Fixed showinfo failing when airtime was unknown.
A
AzzA
Voice
Posts: 2
Joined: Thu Jan 28, 2010 9:56 am

Post by AzzA »

can we maybe get a !next command added? :o

like -> !next chuck and itd output:

Next Episode :: 03x08 - Chuck vs. The Fake Name :: 1Week 3Days 4hours 3Mins 2Seconds

or something like that :o
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

This can already be accomplished using the existing commands by modifying the theme file.
K
Keksz
Voice
Posts: 3
Joined: Mon Mar 08, 2010 6:40 am

not working

Post by Keksz »

hello,

I have a problem since today:

11:27 <@k3ksz> !tv Lost
11:27 <@Anno> {%%show_name%%} - URL: {%%show_url%%}
11:27 <@Anno> Last Episode: N/A
11:27 <@Anno> Next Episode: N/A


It doesnt download the values.
Rehashed, readded the tcl, changed the theme back to default, but nothing...


With default.theme:

11:38 <@k3ksz> !tv lost
11:38 <@Anno> Title :: {%%show_name%%} <> URL :: {%%show_url%%} <> Premiered :: {%%premiered%%} <> Latest Episode :: N/A <> Next Episode :: N/A <> Country :: {%%country%%} <> Status :: {%%status%%}


Any idea?
Or tvrage.com has been changed?

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

Re: not working

Post by GaveUp »

Keksz wrote:hello,

I have a problem since today:

11:27 <@k3ksz> !tv Lost
11:27 <@Anno> {%%show_name%%} - URL: {%%show_url%%}
11:27 <@Anno> Last Episode: N/A
11:27 <@Anno> Next Episode: N/A
It looks as if tvrage has changed the URL's need to pull the data. I've put out a new version with the corrected URL's in the default config, and one other bug fix. Alternatively you can add to tvrage.conf the following to fix the problem.

set tvrage(scheduleurl) "http://services.tvrage.com/tools/quicks ... p?country="
set tvrage(showinfourl) "http://services.tvrage.com/tools/quickinfo.php"

Grab TVRage 1.4 here.
K
Keksz
Voice
Posts: 3
Joined: Mon Mar 08, 2010 6:40 am

Post by Keksz »

thanks, that was fast!!!


edit:
+tvquiet is not working, because of me or because the new version?
I had earlier an older version, 1.0 RC2 and now it's now working...


edit2:
changed everything to msg, at the tvrage.conf, but I get still pub announce on the channel (whatever channel is set to tvquiet or not)

# Set triggers to pub(1) or msg(2).
set tvrage(pubTriggers) 2


edit3:
Changed back my version to 1.0 RC2 with the new URLs

There I have
# Set triggers to pub(1) or msg(2) or both (3)
set tvrage(pubTriggers) 3
in the config, which is working, some of the channels are set to PUB and some only to MSG
Which is good for me. It's working ;)
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Keksz wrote: edit:
+tvquiet is not working, because of me or because the new version?
I had earlier an older version, 1.0 RC2 and now it's now working...
+tvquiet? I have no idea where you got this flag from but it's not one of the flags in my script. Is it perhaps something from rosc's updates?
Keksz wrote: edit2:
changed everything to msg, at the tvrage.conf, but I get still pub announce on the channel (whatever channel is set to tvquiet or not)

# Set triggers to pub(1) or msg(2).
set tvrage(pubTriggers) 2
The bot announcing in public would be caused by the theme. Nothing related to this has changed in the script. Truth be told its been so many years since I've touched those particular pieces I had to look it up myself.
Keksz wrote: edit3:
Changed back my version to 1.0 RC2 with the new URLs

There I have
# Set triggers to pub(1) or msg(2) or both (3)
set tvrage(pubTriggers) 3
in the config, which is working, some of the channels are set to PUB and some only to MSG
Which is good for me. It's working ;)
You shouldn't have had to change back anything to get things working. No actual code has been removed and as you can see from the changelog the only thing at all that has been removed is some already commented out debug statements.

Word of warning that any script version prior to 1.4 will fail on some shows. A specific example escapes me at the moment but you can check the change log for further details.
K
Keksz
Voice
Posts: 3
Joined: Mon Mar 08, 2010 6:40 am

Post by Keksz »

Okay, will give a try later...
s
sadnem
Voice
Posts: 10
Joined: Thu Mar 18, 2010 5:58 pm

Post by sadnem »

GaveUp wrote:This can already be accomplished using the existing commands by modifying the theme file.
But is there a way to add !last and !next commands to the script?
I mean, for what i read you say that we can edit the default theme to make !showinfo work as a !next, !last or whatever trigger, right? Or is it actually posible to add triggers only by modifyng the theme?
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

sadnem wrote:
GaveUp wrote:This can already be accomplished using the existing commands by modifying the theme file.
But is there a way to add !last and !next commands to the script?
I mean, for what i read you say that we can edit the default theme to make !showinfo work as a !next, !last or whatever trigger, right? Or is it actually posible to add triggers only by modifyng the theme?
No, it was not possible to add your own triggers without making your own customizations to the script. This isn't the case any longer, though. I've just put up v2.0b1 that adds preliminary support for custom triggers. I'm not completely set on how it's done so it may change, but it does seem to be solid enough to be used. Any feedback or suggestions on this feature are welcome.

Grab 2.0b1 here.
s
sadnem
Voice
Posts: 10
Joined: Thu Mar 18, 2010 5:58 pm

Post by sadnem »

GaveUp wrote: No, it was not possible to add your own triggers without making your own customizations to the script. This isn't the case any longer, though. I've just put up v2.0b1 that adds preliminary support for custom triggers. I'm not completely set on how it's done so it may change, but it does seem to be solid enough to be used. Any feedback or suggestions on this feature are welcome.

Grab 2.0b1 here.
Thanks for the release but im triying to add a custom trigger and it allways displays the !showinfo results instead of the ones i want, for example i have in tvrage.conf:

Code: Select all

#Custom1
set tvrage(cTriggerCustom1) "!sig"
set tvrage(cFlagsCustom1) "-"
EDIT: However if i edit the !showinfo trigger template to set tvrage(showInfoLine) "PRIVMSG {%%chan%%} :{%%show_name%%}"
I get the show name in both, !sig and !showinfo so i guess tvrage script its not using set tvrage(cTemplateCustom1) for sime reason

and in default.theme:

Code: Select all

set tvrage(cTemplateCustom1) "PRIVMSG {%%chan%%} :{%%show_name%%}"
But if i !sig Supernatural I get !showinfo Supernatural results instead of "Supernatural"
G
GaveUp
Op
Posts: 139
Joined: Thu Jan 19, 2006 3:56 am

Post by GaveUp »

Try out the the latest version. I've posted several updates to the custom trigger logic that should resolve the issues you were seeing.
Post Reply