Coder Social home page Coder Social logo

limnoria-tvmaze's People

Contributors

znuff avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ormanya

limnoria-tvmaze's Issues

Shows that don't have schedules error out in -d view

Hey, Thanks for the plugin

So, when a show doesn't have a schedule (like all Netflix and Amazon shows), the bot errors out when using --details view. Example: !tv Stranger things

If you need a log let me know but you should be able to reproduce easily.

Not working for planned series

Error: TypeError: 'NoneType' object is not subscriptable

Occurs on shows with no episodes yet, like http://www.tvmaze.com/shows/2781/twin-peaks

(I have converted to python3 with the 2to3 tool)

Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/supybot/callbacks.py", line 1274, in _callCommand
pass
File "/usr/lib/python3.4/site-packages/supybot/utils/python.py", line 91, in g
finally:
File "/usr/lib/python3.4/site-packages/supybot/callbacks.py", line 1255, in callCommand
msg.args[0], msg.prefix)
File "/usr/lib/python3.4/site-packages/supybot/commands.py", line 1080, in newf
f(self, irc, msg, args, _state.args, *_state.kwargs)
File "/home/.../.supybot/plugins/tvmaze/plugin.py", line 57, in tv
show['premiered'][:4], show['status'])
TypeError: 'NoneType' object is not subscriptable
ERROR 2015-09-29T09:30:44 supybot Exception id: 0xb2045

Does not support brand new shows

If the show have no previous episodes the 'tv' command throws this error:
Error: KeyError: 'previousepisode'

Experienced this with the show Con Man.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.