abstract class Stremio::Addon::DevKit::CatalogBase
- Stremio::Addon::DevKit::CatalogBase
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Fake
Direct Known Subclasses
Defined in:
stremio-addon-devkit/catalog_base.crConstructors
Instance Method Summary
- #extra(json : JSON::Builder) : Nil
- #genre : ExtraGenre | Nil
-
#id : String
#id
: required - string, the id of the catalog, can be any unique string describing the catalog (unique per addon, as an addon can have many catalogs), for example: if the catalog name is "Favourite Youtube Videos", the id can be "fav_youtube_videos" -
#insert_resource(manifest_resource) : Nil
Updates manifest_resource (which is of type ManifestResource) with the relevant information from this Catalog
-
#name : String
#name
: required - string, human readable name of the catalog - #search : ExtraSearch | Nil
- #skip : ExtraSkip | Nil
-
#type : ContentType
#type
: required - string, this is the content type of the catalog
Constructor Detail
Instance Method Detail
#id
: required - string, the id of the catalog, can be any unique string describing the catalog (unique per addon, as an addon can have many catalogs), for example: if the catalog name is "Favourite Youtube Videos", the id can be "fav_youtube_videos"
Updates manifest_resource (which is of type ManifestResource) with the relevant information from this Catalog