Created
February 13, 2023 08:38
-
-
Save nielsvanvelzen/955f67a8a78a8f8302914ba248dbfcc6 to your computer and use it in GitHub Desktop.
jellyfin-plugins-tester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// deno run --allow-net .\plugintest.js | |
const manifestUrl = 'https://repo.jellyfin.org/master/releases/plugin/manifest-stable.json'; | |
console.log(`Reading from ${manifestUrl}`); | |
const res = await fetch(manifestUrl); | |
const json = await res.json(); | |
for (const plugin of json) { | |
if (plugin.versions.length === 0) throw `Plugin ${plugin.name} doesn't have any versions!?`; | |
const latestVersion = plugin.versions[0]; | |
if (!latestVersion.targetAbi.startsWith('10.8')) console.warn(`Plugin ${plugin.name} is targeting older Jellyfin version ${latestVersion.targetAbi}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment