View previous topic :: View next topic |
Author |
Message |
Votex Voice
Joined: 21 Jun 2014 Posts: 23
|
Posted: Fri Nov 20, 2015 2:09 pm Post subject: |
|
|
ballz wrote: | Im a little out of touch, isnt Windrop run through Cygwin? If so I believe you need to update your cygwin tcl files. You might find you need to install cygwin (from the cygwin homepage) and do some compiling. If i get time over the next few days I'll grab a copy and try on a VM. |
I got this problem asking for json package for windows
could someone help me please ? |
|
Back to top |
|
 |
fr3n Voice
Joined: 02 Dec 2005 Posts: 16
|
Posted: Sun Nov 22, 2015 5:19 pm Post subject: |
|
|
I think you need tcllib for windows |
|
Back to top |
|
 |
Henkie2 Voice
Joined: 25 Sep 2015 Posts: 16
|
|
Back to top |
|
 |
Henkie2 Voice
Joined: 25 Sep 2015 Posts: 16
|
Posted: Mon Nov 23, 2015 8:10 pm Post subject: |
|
|
ballz wrote: | I use this script and I made a solution for myself to display the Today schedule. | Oke thanks will check |
|
Back to top |
|
 |
Froggaard Voice
Joined: 25 Sep 2015 Posts: 13
|
Posted: Thu Dec 03, 2015 12:09 am Post subject: |
|
|
Froggaard wrote: | It is possible to make airs in XX days
Eg.
[05:09:37] <+TV> Show: The Blacklist :: Next episode: S03E06 - Sir Crispin Crandall airs 2015-11-05 (1 day - 22 Hours) :: http://www.tvmaze.com/shows/69/the-blacklist |
I have made my own change in the script.. All credits to x0x
http://pastebin.com/KB0H0nVt
Quote: | [05:05:12] <~Froggaard> !n blacklist
[05:05:16] <&Bermuda> Show: The Blacklist :: Next episode: S03E09 - The Director (1) airs 2016-01-07 (In: 4 weeks 6 days 18 hours 54 minutes 45 seconds) :: http://www.tvmaze.com/shows/69/the-blacklist |
Not pretty, but it works  |
|
Back to top |
|
 |
Votex Voice
Joined: 21 Jun 2014 Posts: 23
|
Posted: Thu Dec 03, 2015 6:02 am Post subject: |
|
|
got this:
Quote: |
[11:00:26] Tcl error [tvnext]: invalid command name "chng_time"
[11:00:41] Tcl error [tvnext]: invalid command name "chng_time"
[11:00:58] Tcl error [tvnext]: invalid command name "chng_time"
[11:01:19] Tcl error [tvnext]: invalid command name "chng_time"
[11:01:39] Tcl error [tvnext]: invalid command name "chng_time"
|
|
|
Back to top |
|
 |
Froggaard Voice
Joined: 25 Sep 2015 Posts: 13
|
Posted: Tue Dec 15, 2015 12:12 am Post subject: |
|
|
I just took
Quote: | set show_date_time [chng_time [clock scan "$nextepairdate"]]
set sec [clock seconds]
set airing "[duration [expr {$show_date_time - $sec}]]" |
from the TVrage script..
Sorry if this dosen't work, for you. |
|
Back to top |
|
 |
Elfriede Halfop
Joined: 07 Aug 2007 Posts: 67
|
Posted: Sat Jan 02, 2016 12:09 pm Post subject: |
|
|
Thanks for the script!
Anyway im getting this timezone error on latest version: ( doesnt happen on all series )
!tv colony
Tcl error [tv]: time zone ":America/New_York" not found
What can i do to fix this error ? |
|
Back to top |
|
 |
Arkadietz Halfop

Joined: 14 Jul 2006 Posts: 67 Location: cat /dev/zero > /dev/null;
|
Posted: Sun Jan 03, 2016 5:26 pm Post subject: |
|
|
Froggaard wrote: | Froggaard wrote: | It is possible to make airs in XX days
Eg.
[05:09:37] <+TV> Show: The Blacklist :: Next episode: S03E06 - Sir Crispin Crandall airs 2015-11-05 (1 day - 22 Hours) :: http://www.tvmaze.com/shows/69/the-blacklist |
I have made my own change in the script.. All credits to x0x
http://pastebin.com/KB0H0nVt
Quote: | [05:05:12] <~Froggaard> !n blacklist
[05:05:16] <&Bermuda> Show: The Blacklist :: Next episode: S03E09 - The Director (1) airs 2016-01-07 (In: 4 weeks 6 days 18 hours 54 minutes 45 seconds) :: http://www.tvmaze.com/shows/69/the-blacklist |
Not pretty, but it works  |
Here you can see all your code with your mistakes.
http://paste.tclhelp.net/?id=hgc _________________ On a unix system everything is a file ; if something is not a file , it is a proccess. |
|
Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Mon Jan 04, 2016 6:23 am Post subject: |
|
|
I had thought about maybe using this script, until I saw that post, Arkadietz.
I generally run my scripts through a processor, like paste.tclhelp.net, to find errors or bits that may cause the bot to choke. Over the year's it has helped me make better scripts, using the proper method instead of using shortcuts or shortargs.
This is a pretty big script, so fixing all of the issues may be tedious but necessary. I hope this will make the script and process even better. _________________ We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals. |
|
Back to top |
|
 |
Froggaard Voice
Joined: 25 Sep 2015 Posts: 13
|
Posted: Thu Jan 07, 2016 12:11 am Post subject: |
|
|
Well, if there are any mistakes, in the script, it is not mine.
I have copied the entire script from x0x and just pasted three lines.
And when i tried to use your script, i got this error
Quote: | Tcl error [tvnext]: invalid command name "http://api.tvmaze.com/singlesearch/shows?q=blacklist&embed%5b%5d=nextepisode&embed%5b%5d=previousepisode"" |
So with, or without errors, i use the script there works. |
|
Back to top |
|
 |
Faithunter Voice
Joined: 20 Feb 2016 Posts: 1
|
Posted: Sat Feb 20, 2016 5:21 pm Post subject: |
|
|
SOrry for my poor english already.
I m using a script who help to transfer TV with tvrage information since tvrage is down my script don t work i have try to adapt it for tvmaze.com but that don t work.
Can u help me to made it ? I put for u tvrage.com script here
http://pastebin.com/d0Xn5hD8
Hope some want help and i can be recognize  |
|
Back to top |
|
 |
t00 Voice
Joined: 02 Jun 2014 Posts: 1
|
Posted: Tue Mar 08, 2016 1:25 pm Post subject: |
|
|
its possible that the regex wrong is?
from script :
regsub -nocase -all {(\.| )([[:digit:]]{4}(\.| )|)(S[[:digit:]]{2}E[[:digit:]]{2}(\.| )|)(INTERNAL|INT|1080p|720p|HDTV|x264|WEBRip|REPACK|REAL|PROPER)(\.| ).*} $arg "" arg
when i this annouce its results from varibale arg Outrageous.Acts.of.Science.S01E01.Face.Palm.720p.HDTV.x264-DHD :
Outrageous Acts of Science S01E01 Face Palm
the script find nothing when S01E01 Face Palm is
<testbot> !tv Outrageous.Acts.of.Science.S01E01.Face.Palm.720p.HDTV.x264-DHD
<testbot1> testbot, there was an http error: ( 404 ) ok 12·
<testbot> !tv Outrageous Acts of Science
<testbot1> Show: Outrageous Acts of Science • Network: Science • Genre: Comedy 12·
<testbo1t> Premiered: 2013-04-20 • Status: Running • URL: http://www.tvmaze.com/shows/2649/outrageous-acts-of-science 12·
<testbot1> Previous: S05E09 aired 2016-03-05 • Next: S05E10 airs 2016-03-12 at 09:00 PM EST 12·
who can check the regex?
Regards |
|
Back to top |
|
 |
x0x Op
Joined: 10 Feb 2009 Posts: 140 Location: The Netherlands
|
Posted: Wed Feb 08, 2017 4:15 pm Post subject: |
|
|
I'd appreciate any help optimizing the script  |
|
Back to top |
|
 |
Votex Voice
Joined: 21 Jun 2014 Posts: 23
|
Posted: Sun Mar 05, 2017 2:21 pm Post subject: |
|
|
Having problem running it with 1.8.0 version
getting this error
can't find package json
while executing
"package require json"
(file "scripts/tvmaze.tcl" line 29)
invoked from within
"source scripts/tvmaze.tcl"
(file "eggdrop.conf" line 1387)
Fixed with json.tcl
------------------------
is it possible to add some coloring , or showing us how to do it ? |
|
Back to top |
|
 |
|