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 

TVmaze.com Eggdrop Script (Version 1.25 / 2015-10-03)
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
x0x
Op


Joined: 10 Feb 2009
Posts: 140
Location: The Netherlands

PostPosted: Tue Sep 22, 2015 12:24 pm    Post subject: TVmaze.com Eggdrop Script (Version 1.25 / 2015-10-03) Reply with quote

TVmaze.com Eggdrop Script (now that TVRage is gone...)



If you're good with code and like to help, please, send me a pm here or on freenode/EFnet (nickname: tomcruise).

Current version 1.25

Download: Pastebin.com

Changelog

1.0 / 2015-09-22 : Initial release Smile
1.1 / 2015-09-22 : Forgot ::http::cleanup
1.2 / 2015-09-22 : Several small modifications
1.3 / 2015-09-22 : Added formatting (bold/underline/color)
1.4 / 2015-09-22 : All http:: now ::http::
1.5 / 2015-09-22 : Added next episode information
1.6 / 2015-09-22 : Lots of fixes by speechles Smile
1.7 / 2015-09-24 : OUT WITH REGEX! WELCOME JSON!
1.8 / 2015-09-24 : Added setudef functionality
1.9 / 2015-09-25 : Added previous (last) episode information
1.10 / 2015-09-25 : Formatting (example) S5E1 to scene standard S05E01
1.11 / 2015-09-25 : Added !last and !next commands
1.12 / 2015-09-26 : Made changes to formatting and output
1.13 / 2015-09-26 : Netflix and other streaming services now supported!
1.14 / 2015-09-26 : Ups! Broke country lookup!
1.15 / 2015-09-26 : Some fixes for Amazon Prime shows
1.16 / 2015-09-26 : Timezone fixes
1.17 / 2015-09-26 : Added !l and !n triggers to make things easier
1.18 / 2015-09-26 : Basic scene release support
1.19 / 2015-09-26 : Cleaning up some code
1.20 / 2015-09-26 : Some major bug fixes
1.21 / 2015-09-26 : Cleaning up some code
1.22 / 2015-09-26 : Country / timezone disabled for now
1.23 / 2015-09-28 : Some code rewriting...
1.24 / 2015-09-29 : Country support has returned. Added comments in the code. Added a version variable.
1.25 / 2015-10-03 : Now showing airtime for the next scheduled episodes! Some output bugfixes. Sorry, country support disabled for now due to some issues with handling the JSON data.

Examples

!tv homeland
Show: Homeland Network: Showtime Genre: Drama Thriller
Premiered: 2011-10-02 Status: Running URL: http://www.tvmaze.com/shows/7/homeland
Previous: S04E12 aired 2014-12-21 Next: S05E01 airs 2015-10-04 at 09:00 PM EDT

!next x-files
Show: The X-Files Next episode: S10E01 "My Struggle" airs 2016-01-24 at 09:00 PM EST

!tv The.Affair.S02E01.720p.HDTV.x264-BATV
Show: The Affair Network: Showtime Genre: Drama Romance
Premiered: 2014-10-12 Status: Running URL: http://www.tvmaze.com/shows/127/the-affair
Previous: S01E10 aired 2014-12-21 Next: S02E01 airs 2015-10-04 at 10:00 PM EDT

Credits

GaveUp, dlx, Znuff, speechles, nrt, Chokladkakan, Viper (Jan Milants), thommey, GPenguin


Last edited by x0x on Wed Dec 28, 2016 3:43 pm; edited 56 times in total
Back to top
View user's profile Send private message
FightingNavyman
Voice


Joined: 18 Jan 2011
Posts: 35

PostPosted: Tue Sep 22, 2015 3:49 pm    Post subject: Re: TVmaze.com Eggdrop Script Reply with quote

x0x

Thanks for the script dude i like it so far.. hopefully with 1.5 you'll finally find out how to add the !n/next episode command and will be making it better and better Very Happy
Back to top
View user's profile Send private message
x0x
Op


Joined: 10 Feb 2009
Posts: 140
Location: The Netherlands

PostPosted: Tue Sep 22, 2015 3:51 pm    Post subject: Re: TVmaze.com Eggdrop Script Reply with quote

FightingNavyman wrote:
x0x

Thanks for the script dude i like it so far.. hopefully with 1.5 you'll finally find out how to add the !n/next episode command and will be making it better and better Very Happy


I just "released" 1.5 which includes next episode information automatically Embarassed
Back to top
View user's profile Send private message
FightingNavyman
Voice


Joined: 18 Jan 2011
Posts: 35

PostPosted: Tue Sep 22, 2015 4:31 pm    Post subject: Re: TVmaze.com Eggdrop Script Reply with quote

x0x I just "released" 1.5 which includes next episode information automatically Embarassed

thanks ill upgrade to that since im on 1.4 heh
Back to top
View user's profile Send private message
Froggaard
Voice


Joined: 25 Sep 2015
Posts: 13

PostPosted: Fri Sep 25, 2015 5:22 am    Post subject: Reply with quote

Nice script =]

But after the update to 1.8 - mine doesn't work anymore.
I says "can't find package json" :S
How to fix this?
Back to top
View user's profile Send private message
x0x
Op


Joined: 10 Feb 2009
Posts: 140
Location: The Netherlands

PostPosted: Fri Sep 25, 2015 6:16 am    Post subject: Reply with quote

Froggaard wrote:
Nice script =]

But after the update to 1.8 - mine doesn't work anymore.
I says "can't find package json" :S
How to fix this?


Install tcllib Smile

In Debian/Ubuntu: sudo apt-get install tcllib
Back to top
View user's profile Send private message
Henkie2
Voice


Joined: 25 Sep 2015
Posts: 16

PostPosted: Fri Sep 25, 2015 3:04 pm    Post subject: Reply with quote

Hi, just wanna say awesome work all Smile
Can i request a option?

- Airing in 10mins auto announce #chan with timeoffset/countrycode Smile
(/schedule?country=:countrycode&date=:date)
Back to top
View user's profile Send private message
x0x
Op


Joined: 10 Feb 2009
Posts: 140
Location: The Netherlands

PostPosted: Fri Sep 25, 2015 3:07 pm    Post subject: Reply with quote

Henkie2 wrote:
Hi, just wanna say awesome work all Smile
Can i request a option?

- Airing in 10mins auto announce #chan with timeoffset/countrycode Smile
(/schedule?country=:countrycode&date=:date)


I recognize that from one of the TVRage scripts. Great suggestion!
Back to top
View user's profile Send private message
Henkie2
Voice


Joined: 25 Sep 2015
Posts: 16

PostPosted: Fri Sep 25, 2015 3:24 pm    Post subject: Reply with quote

x0x wrote:
Henkie2 wrote:
Hi, just wanna say awesome work all Smile
Can i request a option?

- Airing in 10mins auto announce #chan with timeoffset/countrycode Smile
(/schedule?country=:countrycode&date=:date)


I recognize that from one of the TVRage scripts. Great suggestion!


Yep Smile hope you guys can make one for tvmaze ^^

Here some more suggestions;
- !airtime / !today / !tomorrow / !yesterday
- on !next !last extra line for count time till show (1week 2days and 3hours before show starts/ and showed 1 day ago)
- select tv-networks option (type of shows; scripted etc)


Last edited by Henkie2 on Fri Sep 25, 2015 7:01 pm; edited 2 times in total
Back to top
View user's profile Send private message
x0x
Op


Joined: 10 Feb 2009
Posts: 140
Location: The Netherlands

PostPosted: Fri Sep 25, 2015 3:25 pm    Post subject: Reply with quote

Henkie2 wrote:
x0x wrote:
Henkie2 wrote:
Hi, just wanna say awesome work all Smile
Can i request a option?

- Airing in 10mins auto announce #chan with timeoffset/countrycode Smile
(/schedule?country=:countrycode&date=:date)


I recognize that from one of the TVRage scripts. Great suggestion!


Yep Smile hope you guys can make one for tvmaze ^^

Here some some more suggestions;
- !airtime / !today / !tomorrow / !yesterday
- on !next !last show time/day count till show also
- select tv-networks option (type of shows; scripted etc)


Noted.
Back to top
View user's profile Send private message
Henkie2
Voice


Joined: 25 Sep 2015
Posts: 16

PostPosted: Fri Sep 25, 2015 7:02 pm    Post subject: Reply with quote

I edited my last post about that extra line on !next and !last can be nice as well Smile
Ohw and btw can't search on release.name only with spaces any tweaks for this?
Back to top
View user's profile Send private message
x0x
Op


Joined: 10 Feb 2009
Posts: 140
Location: The Netherlands

PostPosted: Fri Sep 25, 2015 7:06 pm    Post subject: Reply with quote

Henkie2 wrote:
I edited my last post about that extra line on !next and !last can be nice as well Smile
Ohw and btw can't search on release.name only with spaces any tweaks for this?


That's not what this script's written for. You're looking for a (warez scene) site bot script?
Back to top
View user's profile Send private message
Henkie2
Voice


Joined: 25 Sep 2015
Posts: 16

PostPosted: Fri Sep 25, 2015 7:13 pm    Post subject: Reply with quote

x0x wrote:
Henkie2 wrote:
I edited my last post about that extra line on !next and !last can be nice as well Smile
Ohw and btw can't search on release.name only with spaces any tweaks for this?


That's not what this script's written for. You're looking for a (warez scene) site bot script?


Nope just as !tv tv.show as trigger? it's only works with spaces no probs at all to me just noticed it ^^
Back to top
View user's profile Send private message
x0x
Op


Joined: 10 Feb 2009
Posts: 140
Location: The Netherlands

PostPosted: Fri Sep 25, 2015 7:14 pm    Post subject: Reply with quote

Henkie2 wrote:
x0x wrote:
Henkie2 wrote:
I edited my last post about that extra line on !next and !last can be nice as well Smile
Ohw and btw can't search on release.name only with spaces any tweaks for this?


That's not what this script's written for. You're looking for a (warez scene) site bot script?


Nope just as !tv tv.show as trigger? it's only works with spaces no probs at all to me just noticed it ^^


Ah, well I still have much to learn haha. Step by step I'll improve this script.
Back to top
View user's profile Send private message
Henkie2
Voice


Joined: 25 Sep 2015
Posts: 16

PostPosted: Fri Sep 25, 2015 7:23 pm    Post subject: Reply with quote

It's a great script and thanks once again and if i got some more ideas i will post Smile

Last edited by Henkie2 on Sat Sep 26, 2015 7:02 am; edited 1 time in total
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 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
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