module Stremio::Addon::DevKit::Mixins::Meta
Included Modules
- JSON::Serializable
- JSON::Serializable::Fake
Direct including types
Defined in:
stremio-addon-devkit/mixins/meta.crConstructors
Instance Method Summary
- #cast(json : JSON::Builder) : Nil
- #director(json : JSON::Builder) : Nil
-
#genre(json : JSON::Builder) : Nil
The
#genre
is just a human-readable descriptive field -
#id : String
You can use any unique string for the
#id
. -
#id=(id : String)
You can use any unique string for the
#id
. - #links(json : JSON::Builder) : Nil
- #links : Array(Link)
- #links=(links : Array(Link))
- #posterShape : PosterShape
- #posterShape=(posterShape : PosterShape)
-
#type : ContentType
The
#type
should match the catalog type. - #writer(json : JSON::Builder) : Nil
Macro Summary
Constructor Detail
Instance Method Detail
def id : String
#
You can use any unique string for the #id
.
In this case we use the corresponding IMDB ID.
Stremio features an system add-on called Cinemeta.
This add-on provides detailed metadata for any movie or
TV show that matches a valid IMDB ID.
NOTE All IMDB ID's begin with 'tt' (ie: tt0032138)
def id=(id : String)
#
You can use any unique string for the #id
.
In this case we use the corresponding IMDB ID.
Stremio features an system add-on called Cinemeta.
This add-on provides detailed metadata for any movie or
TV show that matches a valid IMDB ID.
NOTE All IMDB ID's begin with 'tt' (ie: tt0032138)