UnblockNeteaseMusic / UnblockNeteaseMusic/server

加入 correction list

Open
#376 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
7.8k
Forks
762
PR merge metrics
No merged PRs in 30d

Description

https://github.com/nondanee/UnblockNeteaseMusic/issues/794

spec

CORRECTION_LIST=./correction_list.json yarn start
ENV CORRECTION_LIST ./config/c_list.json
# wip - this approach is not pretty good
RUN echo "[]" > /config/c_list.json
VOLUME ["/config"]
[
  {
    "track": {
      "id": "12345"
    },
    "replace_to": {
      "uri": "http://media_server/12345"
    }
  }
]

discussion

  • json or yaml?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked issue 794 and tracing how the server reads configuration when launched with CORRECTION_LIST=...; inspect the Dockerfile example and current startup/configuration entry points. Decide whether JSON or YAML is supported, then verify the correction-list format works with yarn start and the documented Docker configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript
Domain
backend, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.