JakedUp / Syncler-Packages

144 stars 5 forks source link

Add manifest to Express/Kosmos packages for smooth continuity with SynclerRepository (and other repositories) #1

Closed inb4after closed 3 years ago

inb4after commented 3 years ago

I would like to request the following code be added/updated within your packages. This will ensure users can manage their packages easier, and also support auto-updating in the next stable version.

Here's a quick implementation (better documentation on the official support site):

  1. All Known Sources (Excluding Orion Search):

"_manifest" : { "name": "JakedUp - Hybrid (including Orion providers)", "id": "jakedup.hybrid.orion.included", "version": 2, "classPath": "", "permaUrl": "https://syncler-providers.herokuapp.com/syncler/express-hybrid.json" },

  1. Only Include Sources Not Found In Orion's Package:

"_manifest" : { "name": "JakedUp - Hybrid (excluding Orion providers)", "id": "jakedup.hybrid.orion.excluded", "version": 2, "classPath": "", "permaUrl": "https://syncler-providers.herokuapp.com/syncler/express-hybrid.json?exclude-orion=true" },

  1. JustWatch (Default Streaming Providers):

/* { "name": "JakedUp - JustWatch", "id": "jakedup.justwatch", "version": 2, "classPath": "JakedUp.JustWatch", "permaUrl": "https://syncler-providers.herokuapp.com/syncler/kosmos-justwatch.js" } */

This shows the naming scheme I used, but feel free to change/add anything. Naturally we cannot use the APIkey-based or customized providers within a repository.

inb4after commented 3 years ago

Thanks for adding manifest @JakedUp, closing this off.