Debugging search performance issue; Genius intermittent rlyrics result rendered (seems like a different HTML body response)

This commit is contained in:
James Barnsley
2020-09-16 21:13:25 +12:00
parent 111e14a72d
commit 7fde458926
11 changed files with 46 additions and 77 deletions

View File

@ -187,6 +187,8 @@ export function getTrackLyrics(uri, path) {
lyrics_html = lyrics_html.replace(/(\[)/g, '<span class="mid_grey-text">[');
lyrics_html = lyrics_html.replace(/(\])/g, ']</span>');
console.debug(lyrics_html);
dispatch(coreActions.itemLoaded({
uri,
lyrics: lyrics_html,