egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TVRage.com Schedule Script (Latest: 2.0)
Goto page Previous  1, 2, 3 ... 22, 23, 24 ... 32, 33, 34  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Tue Dec 22, 2009 5:44 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
sdays
Halfop


Joined: 21 Oct 2006
Posts: 98

PostPosted: Thu Jan 28, 2010 4:31 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Thu Jan 28, 2010 10:06 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed Feb 17, 2010 6:11 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
AzzA
Voice


Joined: 28 Jan 2010
Posts: 2

PostPosted: Thu Feb 25, 2010 8:11 am    Post subject: Reply with quote

can we maybe get a !next command added? Surprised

like -> !next chuck and itd output:

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

or something like that Surprised
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Thu Feb 25, 2010 9:06 am    Post subject: Reply with quote

This can already be accomplished using the existing commands by modifying the theme file.
Back to top
View user's profile Send private message
Keksz
Voice


Joined: 08 Mar 2010
Posts: 3

PostPosted: Mon Mar 08, 2010 6:46 am    Post subject: not working Reply with quote

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
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Mon Mar 08, 2010 9:25 am    Post subject: Re: not working Reply with quote

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/quickschedule.php?country="
set tvrage(showinfourl) "http://services.tvrage.com/tools/quickinfo.php"

Grab TVRage 1.4 here.
Back to top
View user's profile Send private message
Keksz
Voice


Joined: 08 Mar 2010
Posts: 3

PostPosted: Mon Mar 08, 2010 10:26 am    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Mon Mar 08, 2010 6:41 pm    Post subject: Reply with quote

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 Wink


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.
Back to top
View user's profile Send private message
Keksz
Voice


Joined: 08 Mar 2010
Posts: 3

PostPosted: Tue Mar 09, 2010 4:19 am    Post subject: Reply with quote

Okay, will give a try later...
Back to top
View user's profile Send private message
sadnem
Voice


Joined: 18 Mar 2010
Posts: 10

PostPosted: Thu Mar 18, 2010 6:04 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Fri Mar 19, 2010 12:35 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
sadnem
Voice


Joined: 18 Mar 2010
Posts: 10

PostPosted: Fri Mar 19, 2010 6:39 am    Post subject: Reply with quote

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:
#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:
set tvrage(cTemplateCustom1) "PRIVMSG {%%chan%%} :{%%show_name%%}"


But if i !sig Supernatural I get !showinfo Supernatural results instead of "Supernatural"
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Fri Mar 19, 2010 8:38 am    Post subject: Reply with quote

Try out the the latest version. I've posted several updates to the custom trigger logic that should resolve the issues you were seeing.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 22, 23, 24 ... 32, 33, 34  Next
Page 23 of 34

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber