Skip to content

Let users set their own Musixmatch token - #53

Open
VitzS7 wants to merge 1 commit into
fatyzzz:mainfrom
VitzS7:musixmatch-token
Open

VitzS7 wants to merge 1 commit into
fatyzzz:mainfrom
VitzS7:musixmatch-token

Conversation

@VitzS7

@VitzS7 VitzS7 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Musixmatch now returns a token of zeros to the anonymous token.get call, so mxm_token caches "blocked" and Musixmatch is never asked for lyrics. NetEase is left as the only source of word timings.

This adds a "Musixmatch token" field to Settings > Reading (masked, with the show button the text field already has). The token is read on every lookup, so it is used by both the full source chain and the word upgrade over Spotify lines, and a change applies to the next track without a restart. Empty keeps the current anonymous behaviour.

Translations added for ru and pt.

Tests: cargo test -p mf-platform -p mf-lyrics -p sf-services, qmllint on SettingsPage.qml, and an offscreen screenshot of the row with a token set.

Musixmatch now hands the built-in anonymous token.get a token of zeros,
so the app never asks it for lyrics and NetEase is the only source of
word timings. A token pasted in Settings > Reading is used for both the
full source chain and the word upgrade over Spotify lines, and a change
applies to the next track without a restart.
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.

1 participant