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.

TVmaze.com Eggdrop Script (Version 1.25 / 2015-10-03)

Support & discussion of released scripts, and announcements of new releases.
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

TVmaze.com Eggdrop Script (Version 1.25 / 2015-10-03)

Post by x0x »

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

Image

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 :)
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 :)
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.
F
FightingNavyman
Voice
Posts: 35
Joined: Tue Jan 18, 2011 12:39 pm

Re: TVmaze.com Eggdrop Script

Post by FightingNavyman »

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 :D
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Re: TVmaze.com Eggdrop Script

Post by x0x »

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 :D
I just "released" 1.5 which includes next episode information automatically :oops:
F
FightingNavyman
Voice
Posts: 35
Joined: Tue Jan 18, 2011 12:39 pm

Re: TVmaze.com Eggdrop Script

Post by FightingNavyman »

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

thanks ill upgrade to that since im on 1.4 heh
F
Froggaard
Voice
Posts: 13
Joined: Fri Sep 25, 2015 5:20 am

Post by Froggaard »

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?
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

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 :)

In Debian/Ubuntu: sudo apt-get install tcllib
H
Henkie2
Voice
Posts: 34
Joined: Fri Sep 25, 2015 2:55 pm

Post by Henkie2 »

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

- Airing in 10mins auto announce #chan with timeoffset/countrycode :)
(/schedule?country=:countrycode&date=:date)
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

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

- Airing in 10mins auto announce #chan with timeoffset/countrycode :)
(/schedule?country=:countrycode&date=:date)
I recognize that from one of the TVRage scripts. Great suggestion!
H
Henkie2
Voice
Posts: 34
Joined: Fri Sep 25, 2015 2:55 pm

Post by Henkie2 »

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

- Airing in 10mins auto announce #chan with timeoffset/countrycode :)
(/schedule?country=:countrycode&date=:date)
I recognize that from one of the TVRage scripts. Great suggestion!
Yep :) 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.
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

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

- Airing in 10mins auto announce #chan with timeoffset/countrycode :)
(/schedule?country=:countrycode&date=:date)
I recognize that from one of the TVRage scripts. Great suggestion!
Yep :) 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.
H
Henkie2
Voice
Posts: 34
Joined: Fri Sep 25, 2015 2:55 pm

Post by Henkie2 »

I edited my last post about that extra line on !next and !last can be nice as well :)
Ohw and btw can't search on release.name only with spaces any tweaks for this?
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

Henkie2 wrote:I edited my last post about that extra line on !next and !last can be nice as well :)
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?
H
Henkie2
Voice
Posts: 34
Joined: Fri Sep 25, 2015 2:55 pm

Post by Henkie2 »

x0x wrote:
Henkie2 wrote:I edited my last post about that extra line on !next and !last can be nice as well :)
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 ^^
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

Henkie2 wrote:
x0x wrote:
Henkie2 wrote:I edited my last post about that extra line on !next and !last can be nice as well :)
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.
H
Henkie2
Voice
Posts: 34
Joined: Fri Sep 25, 2015 2:55 pm

Post by Henkie2 »

It's a great script and thanks once again and if i got some more ideas i will post :)
Last edited by Henkie2 on Sat Sep 26, 2015 7:02 am, edited 1 time in total.
Post Reply