Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect IMDb type: TV show/movie/video game #8

Open
buzz opened this issue Aug 5, 2018 · 0 comments
Open

Detect IMDb type: TV show/movie/video game #8

buzz opened this issue Aug 5, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@buzz
Copy link
Owner

buzz commented Aug 5, 2018

Some sites only make sense for specific types of entries (e.g. GraphTv is only for TV shows).

Add code that detects the type and add a new optional field to sites that limits it to specific type. Something like this:

graphtvmatsf: [
  'GraphTv',
  'data:image/png;base64,...',
  'https://graph.matsf.cloud/tt{{IMDB_ID}}',
  null,
  null,
  ['tv-show']
],

Edit: For video games we could disable the userscript altogether, I suppose.

@buzz buzz added enhancement New feature or request help wanted Extra attention is needed labels Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant