abstract class Stremio::Addon::DevKit::CatalogBase

Included Modules

Direct Known Subclasses

Defined in:

stremio-addon-devkit/catalog_base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def extra(json : JSON::Builder) : Nil #

[View source]
def genre : ExtraGenre | Nil #

[View source]
def 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"


[View source]
def insert_resource(manifest_resource) : Nil #

Updates manifest_resource (which is of type ManifestResource) with the relevant information from this Catalog


[View source]
def name : String #

#name: required - string, human readable name of the catalog


[View source]
def search : ExtraSearch | Nil #

[View source]
def skip : ExtraSkip | Nil #

[View source]
def type : ContentType #

#type: required - string, this is the content type of the catalog


[View source]