Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lyrics-plus/netease): use PyNCMd API #2508

Merged
merged 2 commits into from
Aug 12, 2023

Conversation

pan93412
Copy link
Contributor

@pan93412 pan93412 commented Aug 11, 2023

The old xianqiao.wang API seems like removed; therefore, I switch it to PyNCMd, which is actively maintained.

Besides, in Spotify Taiwan, the album name is in Traditional Chinese, which is not aligned with what NCM chooses. Therefore, I have written a simple converter that converts the Traditional Chinese album name to Simplified Chinese so that we can compare the correct album name in such cases.

Note that:

@pan93412 pan93412 changed the title Fix Netease Music source in lyrics-plus @pan93412 fix(lyrics-plus/netease): Use PyNCMd API Aug 11, 2023
@pan93412 pan93412 changed the title @pan93412 fix(lyrics-plus/netease): Use PyNCMd API fix(lyrics-plus/netease): Use PyNCMd API Aug 11, 2023
@pan93412 pan93412 marked this pull request as ready for review August 11, 2023 15:53
@pan93412 pan93412 changed the title fix(lyrics-plus/netease): Use PyNCMd API fix(lyrics-plus/netease): use PyNCMd API Aug 11, 2023
@pan93412 pan93412 force-pushed the pan93412/netease-fix branch 2 times, most recently from db261d9 to 8e345ce Compare August 12, 2023 14:52
The old xianqiao.wang API seems like removed;
therefore, I switch it to PyNCMd, which is
actively maintained.
Besides, in Spotify Taiwan, the album name is in Traditional
Chinese, which is not aligned with what NCM chooses. Therefore,
I have written a simple converter that converts the Traditional
Chinese album name to Simplified Chinese so that we can compare
the correct album name in such cases.
@kyrie25 kyrie25 merged commit c2fffa2 into spicetify:master Aug 12, 2023
7 checks passed
@pan93412 pan93412 deleted the pan93412/netease-fix branch August 13, 2023 04:15
@Lseoksee
Copy link
Contributor

I'm sorry to mention pull that's already finished, but I think it would be better to apply that patch to popupLyrics as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants