Repository navigation
Conversation
ToddyTheNoobDud
left a comment
There was a problem hiding this comment.
another note for later: even with the error fallback, if the loadlyrics params recives the source= param, the fallback does not work
(example: with no source param: musixmatch error -> got a fallback for genius sucess)
(now with the source=musixmatch param: musixmatch error -> error, no fallback)
(i discovered this now lol, probaly been there early)
but thats something for later, thanks for the fix !! :)
| const DEFAULT_UA = | ||
| 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' | ||
|
|
||
| const DEFAULT_COOKIE = |
There was a problem hiding this comment.
setting the default cookie to:
x-mxm-user-id=undefined; x-mxm-token-guid=undefined; mxm-encrypted-token=undefined
seems to fix it too :P
but yet i still think using the _cookieHeader would be more reliable since it just gets the direct response headers from the server
should i add a fallback for this too before merge? |
Nope, since the param is optional it can be removed from the user-side, so i'll see that later |
Changes
musixmatch broke and it has to do with cookies
Why
Checkmarks
Additional information
i also fixed lyric manager escaping if one provider fails along the way