stremio-addon-sdk icon indicating copy to clipboard operation
stremio-addon-sdk copied to clipboard

Prefix on catalog names

Open duoi opened this issue 1 year ago • 3 comments

Hi,

I'm trying to understand what causes the prefix in catalog names. I notice different rendering on the web and installable players (postfix and prefix, respectively). Ideally I'd like to remove or disable it.

Does it have something to do with type? or maybe something to do with idPrefixes? Or is it something we can't control at all?

The below is a sample of the manifest.json that is passed through. Thanks in advance.

{
  "id": "community.trakt-tv",
  "version": "0.2.7",
  "name": "Trakt Tv",
  "description": "Addon for getting Trakt's public and user lists, recommendations and watch list.\n token expires on: 1/8/2025, 11:47:58 AM",
  "logo": "https://2ecbbd610840-trakt.baby-beamup.club/public/logoPS.png?ver=0.2.7",
  "background": "https://2ecbbd610840-trakt.baby-beamup.club/public/background.png?ver=0.2.7",
  "catalogs": [
    {
      "type": "trakt",
      "id": "trakt_search_movies",
      "name": "trakt - search movies",
      "extra": [
        {
          "name": "search",
          "isRequired": true
        }
      ]
    },
    {
      "type": "trakt",
      "id": "trakt_search_series",
      "name": "search series",
      "extra": [
        {
          "name": "search",
          "isRequired": true
        }
      ]
    }
  ],
  "resources": [
    {
      "name": "meta",
      "types": [
        "series",
        "movie"
      ],
      "idPrefixes": [
        "trakt:"
      ]
    }
  ],
  "types": [],
  "idPrefixes": [
    "trakt"
  ],
  "behaviorHints": {
    "configurable": true,
    "configurationRequired": false
  }
}

duoi avatar Oct 13 '24 04:10 duoi

It is uncontrollable from the addon's side, each app chooses how to display the catalog names, it is a combination of the addon name and actual catalog name in order to distinguish catalogs that may have the same name across multiple addons

jaruba avatar Oct 14 '24 09:10 jaruba

@jaruba that makes sense. Thanks for the clarification. Are there any plans to make this toggleable on a per-addon or global basis?

duoi avatar Oct 14 '24 22:10 duoi

@duoi i'm afraid not, the reality of it is that if a task was made for this, the priority would be very low and require the assistance of many devs on many different platforms, it is not worth the hassle especially as this is the very first time it was ever requested

jaruba avatar Oct 15 '24 09:10 jaruba