Skip to content

Commit

Permalink
Merge branch 'master' into feat/json-parsable
Browse files Browse the repository at this point in the history
  • Loading branch information
elpiel committed Jan 11, 2024
2 parents f3e2c1d + 03b64bb commit be2e5a2
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 9 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# stremio-official-addons
[![npm][stremio-official-addons version badge]][v1-npm-link] ![downloads][stremio-official-addons downloads badge]

[![npm][@stremio/stremio-official-addons version badge]][v2-npm-link] ![downloads][@stremio/stremio-official-addons downloads badge] [![crates.io version badge][crates version]][v2-crates-io-link] ![Crates.io Downloads (latest version)][crates.io downloads badge]

All the stremio official add-ons, in `AddonCollection.load()` format

Expand All @@ -7,7 +10,7 @@ The `index.js` file is meant to be generated from the output of `AddonCollection

## Update

To re-generate `index.json` you can do `scripts/gen.js > index.json`
To re-generate `index.json` you can do `scripts/gen.js > index.json` ( you also need a locally running Stremio Server using either the [Stremio Desktop](https://www.stremio.com/downloads) app or [Stremio service](https://www.stremio.com/download-service))


## Changing the official add-ons
Expand All @@ -18,10 +21,26 @@ Besides changing this module, you have to update all it's dependant packages, mo

* stremio-api-workers: this is the **most important one**, since it will affect `addonsofficialcollection.json` and therefore the addonCollection API, and therefore all running apps should respect it

* stremio: the desktop/web app
* stremio: the desktop/web app ([`stremio-official-addons@1`](https://www.npmjs.com/package/stremio-official-addons) package)

* stremio-rn: the react native app

* stremio-web: the new desktop/web app
* stremio-web: the new desktop/web app ([`@stremio/stremio-official-addons@2`](https://www.npmjs.com/package/@stremio/stremio-official-addons) package)

* stremio-api-legacy-shim: this one does not *depend on* this module, and does not include it, but it contains a separate list of official add-ons in `addons/official.js` that is respected by all apps using the legacy endpoints

[v1-npm-link]: https://www.npmjs.com/package/stremio-official-addons
[stremio-official-addons downloads badge]: https://img.shields.io/npm/dm/stremio-official-addons?label=stremio-official-addons%20downloads&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fstremio-official-addons


[stremio-official-addons version badge]: https://img.shields.io/npm/v/stremio-official-addons?label=stremio-official-addons&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fstremio-official-addons

[v2-npm-link]: https://www.npmjs.com/package/@stremio/stremio-official-addons
[@stremio/stremio-official-addons downloads badge]: https://img.shields.io/npm/dm/%40stremio/stremio-official-addons?label=%40stremio%2Fstremio-official-addons%20downloads&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40stremio%2Fstremio-official-addons

[@stremio/stremio-official-addons version badge]: https://img.shields.io/npm/v/%40stremio/stremio-official-addons?label=%40stremio%2Fstremio-official-addons&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40stremio%2Fstremio-official-addons


[v2-crates-io-link]: https://crates.io/crates/stremio-official-addons
[crates version]: https://img.shields.io/crates/v/stremio-official-addons
[crates.io downloads badge]: https://img.shields.io/crates/dv/stremio-official-addons?label=Crates.io%20downloads%20(latest%20version)
14 changes: 10 additions & 4 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"manifest": {
"id": "com.linvo.cinemeta",
"version": "3.0.10",
"version": "3.0.11",
"description": "The official addon for movie and series catalogs",
"name": "Cinemeta",
"resources": [
Expand Down Expand Up @@ -211,6 +211,7 @@
"type": "movie",
"id": "year",
"genres": [
"2024",
"2023",
"2022",
"2021",
Expand Down Expand Up @@ -320,6 +321,7 @@
{
"name": "genre",
"options": [
"2024",
"2023",
"2022",
"2021",
Expand Down Expand Up @@ -444,6 +446,7 @@
"type": "series",
"id": "year",
"genres": [
"2024",
"2023",
"2022",
"2021",
Expand Down Expand Up @@ -513,6 +516,7 @@
{
"name": "genre",
"options": [
"2024",
"2023",
"2022",
"2021",
Expand Down Expand Up @@ -724,7 +728,7 @@
{
"name": "lastVideosIds",
"isRequired": true,
"optionsLimit": 500
"optionsLimit": 100
}
],
"extraSupported": [
Expand Down Expand Up @@ -883,6 +887,7 @@
"id": "org.stremio.opensubtitlesv3",
"version": "1.0.0",
"name": "OpenSubtitles v3",
"description": "OpenSubtitles v3 Addon for Stremio",
"catalogs": [],
"resources": [
"subtitles"
Expand All @@ -893,7 +898,8 @@
],
"idPrefixes": [
"tt"
]
],
"logo": "http://www.strem.io/images/addons/opensubtitles-logo.png"
},
"transportName": "http",
"transportUrl": "https://opensubtitles-v3.strem.io/manifest.json",
Expand Down Expand Up @@ -966,4 +972,4 @@
"protected": true
}
}
]
]
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stremio-official-addons",
"version": "1.5.4",
"version": "1.5.5",
"description": "All the stremio official add-ons, in AddonCollection.load() format",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit be2e5a2

Please sign in to comment.