enum Stremio::Addon::DevKit::ContentType

Overview

These are the possible content types supported by Stremio See: https://github.com/Stremio/stremio-addon-sdk/blob/master/docs/api/responses/content.types.md

Defined in:

stremio-addon-devkit/content_type.cr

Enum Members

Movie = 0

movie: movie has metadata like name, genre, description, director, actors, images, etc.

Series = 1

series: has all the metadata a movie has, plus an array of episodes

Channel = 2

channel: created to cover YouTube channels; has name, description and an array of uploaded videos

TV = 3

tv: has name, description, genre; streams for tv should be live (without duration)

Instance Method Summary

Instance Method Detail

def channel? #

[View source]
def movie? #

[View source]
def series? #

[View source]
def to_s #

source: https://github.com/crystal-lang/crystal/issues/1329#issuecomment-192890286


[View source]
def tv? #

[View source]