Open Ivshti opened 5 years ago
the format of this object should be lef open-ish
since there's so many possibilities, this is a matter of negotiation between add-on developers and app developers; over time, a de-facto standard might appear
Also, a nice one would be to customize the message
shown to the user when the catalog is empty; e.g. "Your Trakt watchlist is empty"
Use cases:
two more notes:
behaviorHints
being an array of strings/objects; for data consistency/data-oriented approach; or, key/value pairs in Rustporn
ideas for manifest behaviorHints:
we also need this to be auto-suggested, see: https://github.com/Stremio/stremio-addon-sdk/issues/32
catalogs in the manifest (and possibly other things) should have this property called
behaviorHints
, which allows to tell the app how it prefers to be visualized or how it should behavethe most obvious example: if it's adult content, have
adult
set totrue
; the app will visualize it as adult, meaning it will hide it before some additional step is doneif we want it to appear only on discover or on board, have a flag for that
furthermore, this can be used for very special stuff, for example a different visualization of meta items that is used in specific cases: e.g. recommendations
it could also be used to tweak how things are handled; for example, if you return stuff with
video
with astream
from your search results, you might want to have a flag that commands stremio to go straight to the player, skipping the detail page