INTERACT FORUM

More => Old Versions => JRiver Media Center 30 for Windows => Topic started by: cymbalclash on February 18, 2023, 09:32:40 pm

Title: Error hr=0x80004005
Post by: cymbalclash on February 18, 2023, 09:32:40 pm
This error just popped up yesterday for no apparent reason. I've tried uninstalling and removing all associated data related to JRiver program to no avail. This error is occurring across the entire YouTube website. See attached screenshot
Title: Re: Error hr=0x80004005
Post by: JimH on February 18, 2023, 09:34:13 pm
Did you try a Google search for the error?
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 18, 2023, 10:01:16 pm
Did you try a Google search for the error?
Here is the most current info I have found, but there is no resolution to the issue: https://yabb.jriver.com/interact/index.php?topic=123385.0
Title: Re: Error hr=0x80004005
Post by: JimH on February 18, 2023, 10:06:32 pm
There's a lot more that you will find if you do a Google search.
Not just for JRiver.
Title: Re: Error hr=0x80004005
Post by: Yaobing on February 19, 2023, 07:57:09 am
Unfortunately, 0x80004005 is a generic error code.  All it says is something failed.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 06:37:57 am
Well, I'm kind of at my wits end after using CHKDSK, SFC, AND DISM commands to no avail in an attempt to resolve this issue. This issue only occurs using JRiver to stream audio online. At the present time, I guess my only option will be to do a factory reset of my laptop, and I don't presently want to undertake that operation. Any suggestions will be appreciated, thanks.
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 06:47:05 am
Turn on logging in MC, reproduce the error, then share the log here.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 07:00:28 am
Error log attached.
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 07:20:41 am
0099852: 6036: Reader: CWinINetReader::Open: Start
0099853: 6036: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=ERROR: [youtube] zNgcYGgtf8M: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
(...)
0099854: 6036: Playback: DShowVideoGraph::ConnectSourceAndSplitter: Failed to find or open file.  (hr=0x80004005)
0099854: 6036: Playback: DShowVideoGraph::ConnectSourceAndSplitter: Finish (4 ms)


Looks like youtube downloader failed. Can you open that youtube video on your machine in a browser?
https://www.youtube.com/watch?v=zNgcYGgtf8M

Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 07:26:36 am
0099852: 6036: Reader: CWinINetReader::Open: Start
0099853: 6036: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=ERROR: [youtube] zNgcYGgtf8M: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
(...)
0099854: 6036: Playback: DShowVideoGraph::ConnectSourceAndSplitter: Failed to find or open file.  (hr=0x80004005)
0099854: 6036: Playback: DShowVideoGraph::ConnectSourceAndSplitter: Finish (4 ms)


Looks like youtube downloader failed. Can you open that youtube video on your machine in a browser?
https://www.youtube.com/watch?v=zNgcYGgtf8M
Yes
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 07:28:37 am
Looks like a known recent issue due to a change in Youtube page/API, causing that error in some geographic regions ("Unable to extract uploader id"):
https://github.com/yt-dlp/yt-dlp/issues/6247

The thread contains a fix, but MC will need to be updated with the fixed version.

EDIT: I can confirm that yt-dlp v2023.01.06 fails with this error, and v2023.02.17 works fine.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 07:35:41 am
Looks like a known recent issue due to a change in Youtube page/API, causing that error in some geographic regions ("Unable to extract uploader id"):
https://github.com/yt-dlp/yt-dlp/issues/6247

The thread contains a fix, but MC will need to be updated with the fixed version.

EDIT: I can confirm that yt-dlp v2023.01.06 fails with this error, and v2023.02.17 works fine.
Will this update be something that has to come from JRiver or is there some workaround?
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 07:45:07 am
They have to include the fix in a new MC version.
You can get the latest yt-dlp here (https://github.com/yt-dlp/yt-dlp/releases) and download the videos yourself, if you just need to play a few for a party :)
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 07:51:45 am
They have to include the fix in a new MC version.
You can get the latest yt-dlp here (https://github.com/yt-dlp/yt-dlp/releases) and download the videos yourself, if you just need to play a few for a party :)
Unfortunately, I have MC version 30.0.65 (64-bit) which is giving the error.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 08:03:41 am
They have to include the fix in a new MC version.
You can get the latest yt-dlp here (https://github.com/yt-dlp/yt-dlp/releases) and download the videos yourself, if you just need to play a few for a party :)
Excuse my ignorance, but what am I supposed to do with the yt-dlp download?
Title: Re: Error hr=0x80004005
Post by: Awesome Donkey on February 24, 2023, 08:06:57 am
They have to include the fix in a new MC version.
You can get the latest yt-dlp here (https://github.com/yt-dlp/yt-dlp/releases) and download the videos yourself, if you just need to play a few for a party :)

Can you not replace the yt-dlp executable that MC downloads with the fixed version, or does a change in MC need to be done to fix it too?
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 08:09:14 am
Can you not replace the yt-dlp executable that MC downloads with the fixed version, or does a change in MC need to be done to fix it too?

I don't see any yt-dlp.exe or dll in MC's folders, so I guess it's embedded into MC toolset.
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 08:11:26 am
Excuse my ignorance, but what am I supposed to do with the yt-dlp download?

If you don't really need the videos ASAP, I suggest you just wait a few days for a fixed MC release.

This is a command line tool. You need to:
- download the yt-dlp.exe into some folder
- open a cmd prompt and go to that folder (cd "c:\your-folder-path")
- run "yt-dlp https://www.youtube.com/watch?v=zNgcYGgtf8M" or just "yt-dlp zNgcYGgtf8M"

That downloads the video, which you can then play or import into MC.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 08:25:42 am
If you don't really need the videos ASAP, I suggest you just wait a few days for a fixed MC release.

This is a command line tool. You need to:
- download the yt-dlp.exe into some folder
- open a cmd prompt and go to that folder (cd "c:\your-folder-path")
- run "yt-dlp https://www.youtube.com/watch?v=zNgcYGgtf8M" or just "yt-dlp zNgcYGgtf8M"

That downloads the video, which you can then play or import into MC.
Thanks for your help, I will wait for a fixed MC release since I watch YouTube movies as well as music videos using JRiver to send the audio to my stereo system. I use foobar2000 for CDs and stored music files. I have a stuttering problem with trying to use MC to play CDs or stored music files. Might be due to using foo_dsd_asio as the default output device. But for YouTube, it works great
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 08:50:36 am
I don't see any yt-dlp.exe or dll in MC's folders, so I guess it's embedded into MC toolset.

Actually, maybe I don't see it because I don't use that feature so it never got downloaded. Check your plugins folder, it may be there:
%appdata%\J River\Media Center 30\Plugins\youtube-dl

EDIT: confirmed, it gets downloaded into that folder. So just replace yt-dlp.exe with the latest version to fix the issue :)
I've tried it now and MC downloaded an old 21.01 version. Replacing it with the 17.02 release fixes the issue.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 09:52:21 am
Actually, maybe I don't see it because I don't use that feature so it never got downloaded. Check your plugins folder, it may be there:
%appdata%\J River\Media Center 30\Plugins\youtube-dl

EDIT: confirmed, it gets downloaded into that folder. So just replace yt-dlp.exe with the latest version to fix the issue :)
I've tried it now and MC downloaded an old 21.01 version. Replacing it with the 17.02 release fixes the issue.
I have latest version downloaded and still getting error, see attachment.
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 09:55:32 am
Try a video you haven't played before.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 10:00:23 am
Try a video you haven't played before.
Worked with a video I hadn't tried before: what do I need to flush?
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 10:12:13 am
I'm not sure since I don't use the browser as you do. Check the "Web Media" playlist to see if the bad entries are there - they might have weird names and lots of missing metadata. For me during my test (I just used File->Open URL), I had to search the Removed database and delete the entries there. Search for "~d=r", no quotes.
Title: Re: Error hr=0x80004005
Post by: Matt on February 24, 2023, 10:13:23 am
I'm doing a build with an updated YouTube Downloader right now.  It'll reach the public in a few days.  Thanks for the help.
Title: Re: Error hr=0x80004005
Post by: zybex on February 24, 2023, 10:14:53 am
Thanks Matt. It also looks like files that failed to play remain in the DB as bad/incomplete entries, preventing them to play even after the yt-dlp is updated. Read above.
Title: Re: Error hr=0x80004005
Post by: Matt on February 24, 2023, 10:20:26 am
Yes, it needs to flush the cache.  I added a version and we'll do it whenever this happens again (including now).
Title: Re: Error hr=0x80004005
Post by: cymbalclash on February 24, 2023, 10:24:39 am
Thanks to all!  :)
Title: Re: Error hr=0x80004005
Post by: cymbalclash on October 17, 2023, 07:13:23 pm
Turn on logging in MC, reproduce the error, then share the log here.
I am having this same error again with the latest update to MC 31, but this time every youtube video previously played or not is giving this error. Attaching log as last time, hope someone can help.
Title: Re: Error hr=0x80004005
Post by: cymbalclash on October 17, 2023, 07:33:55 pm
Just installed newest version released earlier today which seems to have resolved the issue for now at least, so disregard earlier reply, thanks.