Netflix Add-in search fix
-
- Posts: 7
- Joined: Sat Aug 09, 2014 1:40 pm
- Location:
- HTPC Specs:
Good news - I have a fix!
The problem is with a Microsoft-hosted web server, not Netflix. Media Center is trying to contact https://ehome.vo.msecnd.net/, which is currently responding with a "504 - Gateway Timeout" error.
The good news is that the failing server is not actually responsible for the search itself. All it does is provide Media Center with a bit of meta information (the "search taxonomy") about what its Internet TV search providers are, and what sort of filters they support, etc. Most of those were for the old Internet TV channels that are officially discontinued anyway. All that really remains is Netflix.
It turns out you can override the search taxonomy URL with a registry entry. So I created a simple Windows Service that acts as a local substitute for Microsoft's broken server, and serves up a dirt-simple SearchTaxonomy document with the minimum necessary information to allow Windows Media Center to initialize the Netflix search.
You can download it here. Extract the files and run Install.bat, with the "Run As Administrator" command. Once installed, the Netflix search should just work.
The code is hosted on GitHub, if you're curious about the technical details.
Enjoy!
The problem is with a Microsoft-hosted web server, not Netflix. Media Center is trying to contact https://ehome.vo.msecnd.net/, which is currently responding with a "504 - Gateway Timeout" error.
The good news is that the failing server is not actually responsible for the search itself. All it does is provide Media Center with a bit of meta information (the "search taxonomy") about what its Internet TV search providers are, and what sort of filters they support, etc. Most of those were for the old Internet TV channels that are officially discontinued anyway. All that really remains is Netflix.
It turns out you can override the search taxonomy URL with a registry entry. So I created a simple Windows Service that acts as a local substitute for Microsoft's broken server, and serves up a dirt-simple SearchTaxonomy document with the minimum necessary information to allow Windows Media Center to initialize the Netflix search.
You can download it here. Extract the files and run Install.bat, with the "Run As Administrator" command. Once installed, the Netflix search should just work.
The code is hosted on GitHub, if you're curious about the technical details.
Enjoy!
-
- Posts: 808
- Joined: Sat May 24, 2014 3:14 pm
- Location:
- HTPC Specs:
Good job man! I don't use WMC Netflix - but there are plenty here who will benefit from what you did.
-
- Posts: 657
- Joined: Tue Dec 20, 2011 11:05 pm
- Location:
- HTPC Specs:
-
- Posts: 285
- Joined: Wed Jun 22, 2011 5:46 pm
- Location:
- HTPC Specs:
Thanks for the fix, working great on two of my machines.
-
- Posts: 4
- Joined: Sun Jul 06, 2014 1:37 am
- Location:
- HTPC Specs:
Thank you for the fix!
-
- Posts: 35
- Joined: Sun Jun 22, 2014 3:12 pm
- Location:
- HTPC Specs:
It works great. Thanks so much for taking the time to research this a create and share a fix.
- newfiend
- Posts: 2503
- Joined: Tue Jun 07, 2011 12:10 pm
- Location: Earth
- HTPC Specs:
THANK YOU!!! My daughter is happy again she can search for new shows in WMC again. Well done!jlunman wrote:Good news - I have a fix!
The problem is with a Microsoft-hosted web server, not Netflix. Media Center is trying to contact https://ehome.vo.msecnd.net/, which is currently responding with a "504 - Gateway Timeout" error.
The good news is that the failing server is not actually responsible for the search itself. All it does is provide Media Center with a bit of meta information (the "search taxonomy") about what its Internet TV search providers are, and what sort of filters they support, etc. Most of those were for the old Internet TV channels that are officially discontinued anyway. All that really remains is Netflix.
It turns out you can override the search taxonomy URL with a registry entry. So I created a simple Windows Service that acts as a local substitute for Microsoft's broken server, and serves up a dirt-simple SearchTaxonomy document with the minimum necessary information to allow Windows Media Center to initialize the Netflix search.
You can download it here. Extract the files and run Install.bat, with the "Run As Administrator" command. Once installed, the Netflix search should just work.
The code is hosted on GitHub, if you're curious about the technical details.
Enjoy!
-
- Posts: 163
- Joined: Sun Dec 23, 2012 3:38 pm
- Location:
- HTPC Specs:
Thanks for this!jlunman wrote:Good news - I have a fix!
The problem is with a Microsoft-hosted web server, not Netflix. Media Center is trying to contact https://ehome.vo.msecnd.net/, which is currently responding with a "504 - Gateway Timeout" error.
The good news is that the failing server is not actually responsible for the search itself. All it does is provide Media Center with a bit of meta information (the "search taxonomy") about what its Internet TV search providers are, and what sort of filters they support, etc. Most of those were for the old Internet TV channels that are officially discontinued anyway. All that really remains is Netflix.
It turns out you can override the search taxonomy URL with a registry entry. So I created a simple Windows Service that acts as a local substitute for Microsoft's broken server, and serves up a dirt-simple SearchTaxonomy document with the minimum necessary information to allow Windows Media Center to initialize the Netflix search.
You can download it here. Extract the files and run Install.bat, with the "Run As Administrator" command. Once installed, the Netflix search should just work.
The code is hosted on GitHub, if you're curious about the technical details.
Enjoy!
Nice save.
-
- Posts: 30
- Joined: Thu Aug 04, 2011 6:08 pm
- Location:
- HTPC Specs:
Thanks for posting this. Saved me from digging into it myself. Works great!
-
- Posts: 6
- Joined: Mon Oct 27, 2014 11:51 pm
- Location:
- HTPC Specs:
jlunman, thank you very much for the fix!
I installed your fix and now my search function works. My work around of searching and adding movies to my queue then opening Netflix on my HTPC was really time-consuming. Also, my kids and family wanted to vote on what we wanted to watch which was hard to gather around a tablet.
I really enjoy this forum and all the support this forum provides. I'm not looking forward to upgrading to Windows 8 and actually pay for WMC, I love my HTPC running Windows 7 and WMC!
I installed your fix and now my search function works. My work around of searching and adding movies to my queue then opening Netflix on my HTPC was really time-consuming. Also, my kids and family wanted to vote on what we wanted to watch which was hard to gather around a tablet.
I really enjoy this forum and all the support this forum provides. I'm not looking forward to upgrading to Windows 8 and actually pay for WMC, I love my HTPC running Windows 7 and WMC!
-
- Posts: 9
- Joined: Fri Jul 18, 2014 2:10 pm
- Location:
- HTPC Specs:
1 vote to sticky this thread.
-
- Posts: 1477
- Joined: Mon Aug 20, 2012 6:52 pm
- Location:
- HTPC Specs:
jlunman,
First thanks a million. Works great. But I have a problem. The service apparently stopped on me at some point, requiring a re-install. So could you give us a little more detail, like what service to look for to restart when things go wrong?
First thanks a million. Works great. But I have a problem. The service apparently stopped on me at some point, requiring a re-install. So could you give us a little more detail, like what service to look for to restart when things go wrong?
-
- Posts: 7
- Joined: Sat Aug 09, 2014 1:40 pm
- Location:
- HTPC Specs:
Service name is Mcenflx. The display name of the service (as seen in the Services window) is Media Center Netflix Search Fix. In the "Recovery" tab of the service's properties window, you can set it to restart automatically if it fails.
-
- Posts: 1
- Joined: Mon Dec 01, 2014 10:26 pm
- Location:
- HTPC Specs:
Thanks jlunman!
I appreciate your reverse engineering and the .net service code looks legit, but I didn't want to install and run another service on my machine so I followed your github comments to host the search taxonomy xml here: http://www.p2portal.net/
Others can simply modify the registry key to point there if they don't want to install the service also.
I appreciate your reverse engineering and the .net service code looks legit, but I didn't want to install and run another service on my machine so I followed your github comments to host the search taxonomy xml here: http://www.p2portal.net/
Others can simply modify the registry key to point there if they don't want to install the service also.
-
- Posts: 7
- Joined: Sat Aug 09, 2014 1:40 pm
- Location:
- HTPC Specs:
Great! I was too cheap to pay for hosting.
But also, I didn't want to just replace one remote URL with another that could just as easily disappear on a whim, especially for something so simple as a static XML file that never changes. So that's why I wrote the self-hosting Windows service.
(You might want to include a link to my GitHub download on your page, just so anyone that finds it knows there's also an option to self-host.)
Anyway, nice job.
J
But also, I didn't want to just replace one remote URL with another that could just as easily disappear on a whim, especially for something so simple as a static XML file that never changes. So that's why I wrote the self-hosting Windows service.
(You might want to include a link to my GitHub download on your page, just so anyone that finds it knows there's also an option to self-host.)
Anyway, nice job.
J
-
- Posts: 6
- Joined: Tue Feb 17, 2015 1:29 am
- Location:
- HTPC Specs:
I'm new to WMC. I have Neflix working in WMC, I think.....
Only it's a very old app that only allows me to see the master account and none of the Sub-Accounts, and Super HD is not a play back option.
Is this the only add-in for Netflix available? And is it also like the XBOX 360 and only offering 720p HD and no 1080 support?
Only it's a very old app that only allows me to see the master account and none of the Sub-Accounts, and Super HD is not a play back option.
Is this the only add-in for Netflix available? And is it also like the XBOX 360 and only offering 720p HD and no 1080 support?
-
- Posts: 548
- Joined: Sun Aug 28, 2011 8:48 pm
- Location:
- HTPC Specs:
Yes, Yes, and Yes. You could try the 8.1 "metro" Netflix app. Or there is a Chrome extension that makes it remote friendly. Best bet is a dedicated streaming device.
-
- Posts: 6
- Joined: Tue Feb 17, 2015 1:29 am
- Location:
- HTPC Specs:
Thanks, I'll try the Chrome extension. That might come in handy for other things. I'll just keep using my PS3 for all my streaming content. Netflix, HBO, HULU, ect....... Sounds like that's my best bet.
- Billyray520
- Posts: 36
- Joined: Mon Feb 16, 2015 2:19 pm
- Location: Shores of Lake Erie in NE Ohio
- HTPC Specs:
This is actually a great add-in. I wish I could use it though. Apparently it does something to sleep mode, so if I have it installed, the HTPC no longer sleeps reliably. (I'm also using the MCE sleep add-in to control sleep)
-
- Posts: 3
- Joined: Sun Jun 21, 2015 11:35 pm
- Location:
- HTPC Specs:
I'm having what I think is the same problem described here. When I am in WMC and go to Netflix and hit the search button, I get a message that says "NO INTERNET CONNECTION. The Internet connection has been lost. Make sure your PC is connected to the Internet, then try again."
I have a connection to the internet so that's not the issue.
It works if I got to a browser and log into Netflix that way.
I've tried uninstalling then reinstalling the WMC plugin for Windows but that didn't work.
I called Netflix and they said it's a Microsoft problem.
I called Microsoft and they suggested turning off Norton anti-virus and also the firewall. That didn't help. For $100-$150, they'd upgrade me with regards to a service package. It's not worth that kind of money to me.
I ran the program jlunman mentions on page 2 of this posting but I can't get it to install on my computer. I get an "installation FAILED. See Install.log for details."
Install.log gives me this:
Installing assembly 'C:\Users\xxx\Documents\MceNflx\MCENFLX.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Users\xxx\Documents\MceNflx\MCENFLX.exe
logfile = C:\Users\xxx\Documents\MceNflx\MCENFLX.InstallLog
Installing service MceNflx...
Creating EventLog source MceNflx in log Application...
Rolling back assembly 'C:\Users\xxx\Documents\MceNflx\MCENFLX.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Users\xxx\Documents\MceNflx\MCENFLX.exe
logfile = C:\Users\xxx\Documents\MceNflx\MCENFLX.InstallLog
Restoring event log to previous state for source MceNflx.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete."
How do I restore the search function in Netflix/WMC? Can anyone steer me in the right direction?
I have a connection to the internet so that's not the issue.
It works if I got to a browser and log into Netflix that way.
I've tried uninstalling then reinstalling the WMC plugin for Windows but that didn't work.
I called Netflix and they said it's a Microsoft problem.
I called Microsoft and they suggested turning off Norton anti-virus and also the firewall. That didn't help. For $100-$150, they'd upgrade me with regards to a service package. It's not worth that kind of money to me.
I ran the program jlunman mentions on page 2 of this posting but I can't get it to install on my computer. I get an "installation FAILED. See Install.log for details."
Install.log gives me this:
Installing assembly 'C:\Users\xxx\Documents\MceNflx\MCENFLX.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Users\xxx\Documents\MceNflx\MCENFLX.exe
logfile = C:\Users\xxx\Documents\MceNflx\MCENFLX.InstallLog
Installing service MceNflx...
Creating EventLog source MceNflx in log Application...
Rolling back assembly 'C:\Users\xxx\Documents\MceNflx\MCENFLX.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Users\xxx\Documents\MceNflx\MCENFLX.exe
logfile = C:\Users\xxx\Documents\MceNflx\MCENFLX.InstallLog
Restoring event log to previous state for source MceNflx.
An exception occurred during the Rollback phase of the System.Diagnostics.EventLogInstaller installer.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete."
How do I restore the search function in Netflix/WMC? Can anyone steer me in the right direction?