Offer only the sources that are running, and mark built-in plugins
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- csharp, docker
- Domain
- full-stack
Research direction
The known sources list lives in src/Melodex.Web/Pages/Plugins.razor, and AboutPageTests reads it, so start there and check how the page builds its offered-plugin list. The change needs a short, parallel manifest probe (GET /v1/manifest) run by the core on each page open, plus a Built-in badge and a docs/guide/plugins.md note. Done when only running sources are offered, the badge shows on the ten built-in plugins, AboutPageTests passes, and there is an Unreleased changelog entry. Wait for the maintainer to agree the design before writing code.
Written by the indexing model from the issue text.
Description
What you'd like to do
The Plugins page offers every known source (yt-dlp, Internet Archive, Prowlarr, Qobuz, Tidal, Bandcamp, Soulseek, the inbox folder) ready to add, whether or not its container is in your compose file. Adding one that isn't running only fails later. And nothing on the page tells the plugins built into Melodex apart from ones that run as services of their own.
How it could work
- Only sources that are running are offered. Melodex can't read the compose file, but each known source has its usual address (
http://retriever-<name>:8080). When the Plugins page lists them, the core asks each one for its manifest (GET /v1/manifest), briefly, at once, and only those that answer can be added. They're asked again each time the page opens, so one added to the compose file shows up once it's started. - The ones that don't answer are left out of the list, with a short note under it on how to add one: its repository's compose snippet, linked to the guide's retrieval plugins section.
- Your own plugin, at an address you give, is always offered, as now. So is every built-in plugin.
- A "Built-in" badge on each built-in plugin, both on the plugins you've added and when choosing one to add. The built-in plugins are MusicBrainz, Deezer, Wikimedia, fanart.tv, LRCLIB, ListenBrainz, Last.fm, Navidrome, Jellyfin and Plex.
Anything else
- Plugins you've already added stay as they are, even if their service has stopped. Their health check already says when one can't be reached.
- The check goes through the core, not the browser, since only the core can reach the compose network. Keep each wait short (a couple of seconds) so the page doesn't hang on a missing host.
- The known sources list in
src/Melodex.Web/Pages/Plugins.razoris also read byAboutPageTests, so keep the test working if it moves. - Done when the guide's Plugins page says only running sources are offered, and there's a changelog entry under Unreleased.
Building it
- I'd like to build this myself, once it's agreed.
- Dominant language
- C#
- Stars
- 0
- Forks
- 0
- Avg merge
- 9h 10m
- Merged PRs (30d)
- 126
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Dextrd/Melodex
-
enhancement frontend good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
enhancement frontend
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Maintainers usually reply within 1 day
-
enhancement frontend good first issue
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
backend enhancement
Difficulty 5/5 Over a week Newbie friendliness 18/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 14/100
Maintainers usually reply within 1 day
Similar issues
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 88/100
erkamyaman/rust-anything#610 ·
Maintainers usually reply within 1 day
-
[Linux] The portal's color-scheme 0 (no preference) means light, not "not known"Possibly taken @ramlanrinos claimed this today. Openarea: linux bug ready
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ZaidX88/sluice#284 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Forrest-Technologies/drover#958 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Unit converter reads out of bounds when the saved UnitConverterPreferences setting is malformedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/calculator#2532 ·