INTERACT FORUM

More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: Raistlan on October 07, 2023, 10:50:54 pm

Title: Lookup Lyrics stopped working entirely several months ago
Post by: Raistlan on October 07, 2023, 10:50:54 pm
At the same time it started telling me that I can only lookup 10 songs at a time, I believe. It counts up the songs it is looking up the lyrics for in the status bar, but then no songs get lyrics, and if I run it on songs that I had successfully looked up lyrics for in the past, it removes them. I don't see any mention of this in this forum, so I am guessing this is just an issue with me?
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: bob on October 09, 2023, 10:32:51 am
I don't see an issue.
Are you running a VPN?
If so, perhaps the lyrics lookup sites are blocking it.
Try turning it off.
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: Raistlan on October 09, 2023, 10:39:36 am
No VPN running when I try.

Edit: I found logging:
Quote
2188630: 16300: Database: CLookupLyricsThread::Thread: Start
2188631: 16300: Database: CLookupLyricsThread::LookupLyrics: Start
2188631: 16300: Database: CLookupLyricsThread::LookupLyrics: Looking up file: 3357095
2188631: 16300: Database: CLookupLyricsThread::LookupLyrics: Looking at Genius.com
2188631: 16300: Reader: CWinINetReader::Open: Start
2188631: 16300: Reader: CWinINetReader::Open: Opening https://genius.com/Florence-%2B-The-Machine-King-lyrics
2188631: 26728: Reader: CWinINetReader::Thread: Start
2188631: 26728: Reader: CWinINetReader::Thread: url: https://genius.com/Florence-%2B-The-Machine-King-lyrics
2188631: 26728: Reader: CWinINetReader::Connect: Start
2188631: 26728: Reader: CWinINetReader::Connect: Finish (0 ms)
2188631: 26728: Reader: CWinINetReader::DownloadFromHTTPURL: Start
2188631: 26728: Reader: CWinINetReader::DownloadFromHTTPURL: HttpOpenRequest successful
2188824: 26728: Reader: CWinINetReader::DownloadFromHTTPURL: HttpSendRequest successful
2188824: 26728: Reader: CWinINetReader::DownloadFromHTTPURL: Failed (header status code: 404)
2188824: 26728: Reader: CWinINetReader::DownloadFromHTTPURL: Finish (193 ms)
2188824: 26728: Reader: CWinINetReader::Thread: Finish (193 ms)
2188824: 16300: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=https://genius.com/Florence-%2B-The-Machine-King-lyrics
2188824: 16300: Reader: CWinINetReader::Close: Start
2188825: 16300: Reader: CWinINetReader::Close: Finish (0 ms)
2188825: 16300: Reader: CWinINetReader::Open: Finish (193 ms)
2188825: 16300: Database: CLookupLyricsThread::LookupLyrics: Looking at Google
2188825: 16300: Reader: CWinINetReader::Open: Start
2188825: 16300: Reader: CWinINetReader::Open: Opening https://www.google.com/search?hl=en&q=%22Florence%2B%2B%2BThe%2BMachine%22%20%22King%22%20lyrics
2188825: 11644: Reader: CWinINetReader::Thread: Start
2188825: 11644: Reader: CWinINetReader::Thread: url: https://www.google.com/search?hl=en&q=%22Florence%2B%2B%2BThe%2BMachine%22%20%22King%22%20lyrics
2188825: 11644: Reader: CWinINetReader::Connect: Start
2188825: 11644: Reader: CWinINetReader::Connect: Finish (0 ms)
2188825: 11644: Reader: CWinINetReader::DownloadFromHTTPURL: Start
2188825: 11644: Reader: CWinINetReader::DownloadFromHTTPURL: HttpOpenRequest successful
2188896: 11644: Reader: CWinINetReader::DownloadFromHTTPURL: HttpSendRequest successful
2188896: 11644: Reader: CWinINetReader::DownloadFromHTTPURL: Success
2188896: 11644: Reader: CWinINetReader::DownloadFromHTTPURL: Finish (71 ms)
2188896: 11644: Reader: CWinINetReader::Thread: Finish (71 ms)
2188897: 16300: Reader: CWinINetReader::Open: Finish (71 ms)
2189126: 16300: Reader: CWinINetReader::Read: InternetReadFile returned true with zero bytes read: EOF
2189127: 16300: Reader: CWinINetReader::Close: Start
2189127: 16300: Reader: CWinINetReader::Close: Finish (0 ms)
2189127: 16300: Database: CLookupLyricsThread::LookupLyrics: Finish (496 ms)
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: bob on October 09, 2023, 10:46:42 am
No VPN running when I try. Is there any log or more information on what is failing somewhere?
Try turning on logging under Help->Logging
Then when you've captured a log you can do "report logging" or look at it yourself. It's just a text file.
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: Raistlan on October 09, 2023, 10:54:22 am
In this case, the + throws off the genius.com link, which is actually: https://genius.com/Florence-the-machine-king-lyrics
Not sure why the google URL is returning 0 bytes, since it seems to work fine in a browser.
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: Raistlan on October 09, 2023, 10:55:41 am
This one worked, so maybe it's artists with odd characters.

Code: [Select]
2786750: 4308: Database: CLookupLyricsThread::Thread: Start
2786750: 4308: Database: CLookupLyricsThread::LookupLyrics: Start
2786750: 4308: Database: CLookupLyricsThread::LookupLyrics: Looking up file: 169708
2786750: 4308: Database: CLookupLyricsThread::LookupLyrics: Looking at Genius.com
2786751: 4308: Reader: CWinINetReader::Open: Start
2786751: 4308: Reader: CWinINetReader::Open: Opening https://genius.com/Adele-Skyfall-lyrics
2786751: 26372: Reader: CWinINetReader::Thread: Start
2786751: 26372: Reader: CWinINetReader::Thread: url: https://genius.com/Adele-Skyfall-lyrics
2786751: 26372: Reader: CWinINetReader::Connect: Start
2786751: 26372: Reader: CWinINetReader::Connect: Finish (0 ms)
2786751: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: Start
2786751: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: HttpOpenRequest successful
2786889: 5868: Import: CWatchFoldersThread::Thread: Wait result (258)
2786889: 5868: Import: CWatchFoldersThread::Thread: Timeout
2786890: 5868: Import: CWatchFoldersThread::Thread: Success (looping again)
2786890: 5868: Import: CWatchFoldersThread::Thread: Waiting (2)
2787114: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: HttpSendRequest successful
2787114: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: Retry needed, trying again...
2787114: 26372: Reader: CWinINetReader::Connect: Start
2787114: 26372: Reader: CWinINetReader::Connect: Finish (0 ms)
2787114: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: HttpOpenRequest successful
2788795: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: HttpSendRequest successful
2788796: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: Success
2788796: 26372: Reader: CWinINetReader::DownloadFromHTTPURL: Finish (2044 ms)
2788796: 26372: Reader: CWinINetReader::Thread: Finish (2044 ms)
2788796: 4308: Reader: CWinINetReader::Open: Finish (2045 ms)
2788955: 4308: Reader: CWinINetReader::Read: InternetReadFile returned true with zero bytes read: EOF
2788956: 4308: Reader: CWinINetReader::Close: Start
2788956: 4308: Reader: CWinINetReader::Close: Finish (0 ms)
2788964: 4308: Database: CLookupLyricsThread::LookupLyrics: Found Genius match
2788964: 4308: Database: CLookupLyricsThread::LookupLyrics: Finish (2213 ms)
2788964: 4308: Database: CLookupLyricsThread::Thread: Finish (2214 ms)
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: Raistlan on October 09, 2023, 11:04:58 am
I was trying to get lyrics for Sinéad O'Connor a few months ago, so it does seem to be a difference with how genius.com handles non-ASCII characters (and the google search seems to have a URL that has lyrics, except that it seems to read zero bytes and not parse out any lyrics).

Code: [Select]
3214822: 36288: Database: CLookupLyricsThread::Thread: Start
3214823: 36288: Database: CLookupLyricsThread::LookupLyrics: Start
3214823: 36288: Database: CLookupLyricsThread::LookupLyrics: Looking up file: 169473
3214823: 36288: Database: CLookupLyricsThread::LookupLyrics: Looking at Genius.com
3214823: 36288: Reader: CWinINetReader::Open: Start
3214823: 36288: Reader: CWinINetReader::Open: Opening https://genius.com/Sin%C3%A9ad-OConnor-Fire-on-Babylon-lyrics
3214823: 20152: Reader: CWinINetReader::Thread: Start
3214823: 20152: Reader: CWinINetReader::Thread: url: https://genius.com/Sin%C3%A9ad-OConnor-Fire-on-Babylon-lyrics
3214823: 20152: Reader: CWinINetReader::Connect: Start
3214823: 20152: Reader: CWinINetReader::Connect: Finish (0 ms)
3214823: 20152: Reader: CWinINetReader::DownloadFromHTTPURL: Start
3214823: 20152: Reader: CWinINetReader::DownloadFromHTTPURL: HttpOpenRequest successful
3215001: 20152: Reader: CWinINetReader::DownloadFromHTTPURL: HttpSendRequest successful
3215001: 20152: Reader: CWinINetReader::DownloadFromHTTPURL: Failed (header status code: 404)
3215001: 20152: Reader: CWinINetReader::DownloadFromHTTPURL: Finish (178 ms)
3215001: 20152: Reader: CWinINetReader::Thread: Finish (178 ms)
3215002: 36288: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=https://genius.com/Sin%C3%A9ad-OConnor-Fire-on-Babylon-lyrics
3215002: 36288: Reader: CWinINetReader::Close: Start
3215002: 36288: Reader: CWinINetReader::Close: Finish (0 ms)
3215002: 36288: Reader: CWinINetReader::Open: Finish (179 ms)
3215002: 36288: Database: CLookupLyricsThread::LookupLyrics: Looking at Google
3215002: 36288: Reader: CWinINetReader::Open: Start
3215002: 36288: Reader: CWinINetReader::Open: Opening https://www.google.com/search?hl=en&q=%22Sin%C3%A9ad%2BO%27Connor%22%20%22Fire%2Bon%2BBabylon%22%20lyrics
3215002: 5872: Reader: CWinINetReader::Thread: Start
3215002: 5872: Reader: CWinINetReader::Thread: url: https://www.google.com/search?hl=en&q=%22Sin%C3%A9ad%2BO%27Connor%22%20%22Fire%2Bon%2BBabylon%22%20lyrics
3215002: 5872: Reader: CWinINetReader::Connect: Start
3215002: 5872: Reader: CWinINetReader::Connect: Finish (0 ms)
3215002: 5872: Reader: CWinINetReader::DownloadFromHTTPURL: Start
3215002: 5872: Reader: CWinINetReader::DownloadFromHTTPURL: HttpOpenRequest successful
3215075: 5872: Reader: CWinINetReader::DownloadFromHTTPURL: HttpSendRequest successful
3215075: 5872: Reader: CWinINetReader::DownloadFromHTTPURL: Success
3215075: 5872: Reader: CWinINetReader::DownloadFromHTTPURL: Finish (72 ms)
3215075: 5872: Reader: CWinINetReader::Thread: Finish (72 ms)
3215075: 36288: Reader: CWinINetReader::Open: Finish (72 ms)
3215514: 36288: Reader: CWinINetReader::Read: InternetReadFile returned true with zero bytes read: EOF
3215514: 36288: Reader: CWinINetReader::Close: Start
3215514: 36288: Reader: CWinINetReader::Close: Finish (0 ms)
3215515: 36288: Database: CLookupLyricsThread::LookupLyrics: Finish (692 ms)
3215515: 36288: Database: CLookupLyricsThread::Thread: Finish (692 ms)
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: bob on October 09, 2023, 11:54:37 am
What build of MC31 are you running?
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: Raistlan on October 09, 2023, 12:01:00 pm
31.0.68
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: Matt on October 09, 2023, 12:12:42 pm
I'll fix the accent issue at Genius in the next build.  Thanks for your help.
Title: Re: Lookup Lyrics stopped working entirely several months ago
Post by: SkGe on October 09, 2023, 04:02:53 pm
@Matt. Is not only the accent. If artist name have different symbols, it will not looking for lyrics. One example come in mynd right now is P!nk. I will look for more example if need it.