MusicHubTS / backend

Back-end of the powerful online & offline music player, written in TypeScript and Ts.Ed.
MIT License
4 stars 1 forks source link

AmplitudeJS in front-end can't handle with third-party audios #8

Open LittleYe233 opened 2 years ago

LittleYe233 commented 2 years ago

We hope that we can directly use third-party audios to avoid heavy server load, but many music providers (i.e. NetEase Cloud Music) don't allow others to retrieve their audios due to CORS. So our backend may need a simple "plugin" to serve these files - fetching from the server and sending to the front-end every small fragment (like 256 KiB) and setting up a simple cache container.

LittleYe233 commented 2 years ago

We notice that APlayer can play these audios. Maybe we can have a look at the source code of APlayer first.

LittleYe233 commented 2 years ago

We notice that APlayer can play these audios. Maybe we can have a look at the source code of APlayer first.

APlayer still can't play music from NetEase Cloud Music now. Trying to set up the so-called plugin or alternatives.

LittleYe233 commented 2 years ago

Under more tests, it seems not a consistent bug. It needs further information.