INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Error hr=0x80004005  (Read 1952 times)

cymbalclash

  • Recent member
  • *
  • Posts: 16
Error hr=0x80004005
« 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
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71348
  • Where did I put my teeth?
Re: Error hr=0x80004005
« Reply #1 on: February 18, 2023, 09:34:13 pm »

Did you try a Google search for the error?
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #2 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
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71348
  • Where did I put my teeth?
Re: Error hr=0x80004005
« Reply #3 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.
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10851
  • Dogs of the world unite!
Re: Error hr=0x80004005
« Reply #4 on: February 19, 2023, 07:57:09 am »

Unfortunately, 0x80004005 is a generic error code.  All it says is something failed.
Logged
Yaobing Deng, JRiver Media Center

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #5 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.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #6 on: February 24, 2023, 06:47:05 am »

Turn on logging in MC, reproduce the error, then share the log here.
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #7 on: February 24, 2023, 07:00:28 am »

Error log attached.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #8 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

Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #9 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
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #10 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.
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #11 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?
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #12 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 and download the videos yourself, if you just need to play a few for a party :)
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #13 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 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.
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #14 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 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?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7367
  • The color of Spring...
Re: Error hr=0x80004005
« Reply #15 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 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?
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #16 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.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #17 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.
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #18 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
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #19 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.
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #20 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.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #21 on: February 24, 2023, 09:55:32 am »

Try a video you haven't played before.
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #22 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?
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #23 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!
Re: Error hr=0x80004005
« Reply #24 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.
Logged
Matt Ashland, JRiver Media Center

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2362
Re: Error hr=0x80004005
« Reply #25 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!
Re: Error hr=0x80004005
« Reply #26 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).
Logged
Matt Ashland, JRiver Media Center

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #27 on: February 24, 2023, 10:24:39 am »

Thanks to all!  :)
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #28 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.
Logged

cymbalclash

  • Recent member
  • *
  • Posts: 16
Re: Error hr=0x80004005
« Reply #29 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.
Logged
Pages: [1]   Go Up