module Stremio::Addon::DevKit::Mixins::Meta
Included Modules
- JSON::Serializable
- JSON::Serializable::Fake
Direct including types
Defined in:
stremio-addon-devkit/mixins/meta.crConstructors
Macro Summary
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
Constructor Detail
Macro Detail
#director
, #cast
- optional - directors and cast, both arrays of names (string) (warning: this will soon be deprecated in favor of #links
)
Instance Method Detail
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)
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)