The Lazy Blogger

Solved: Windows 8 does not recognize DLNA Media Servers

2013-9-22

By Sumit

Previously I have blogged about how I converted my Raspberry Pi into a DLNA Media Server. When we moved to UK I brought along my media server and it was up in a jiffy. However, yesterday, when I sat down to build my long pending Windows 8 Media Client on my rebuilt Windows 8 VM, it simply wouldn’t show the MediaPi (name of my Media Server) when I selected ‘Computer’ in Windows Explorer.

image

But if you see, the machine was on the Network (RASPBERRYPI). Why is this important?

Well, the WinRT API to retrieve all the Media Servers on the Network is as follows

await KnownFolders.MediaServerDevices.GetFoldersAsync();

If Windows Explorer is not showing the Media server, the above API will not return it either.

Twist in the tale was that the Media server was visible when I selected the ‘Network’ node in Explorer.

image

To make things more confusing, when I started Windows Media Explorer, the MediaPI came up there too.

image

This kind of scenario is pretty much a disaster because it’s nearly impossible to search for. So first I posted in on Windows Forum, but continued fiddling around. Finally I found a solution.

The Solution

1. I brought up the Settings Charm and click the ‘Change PC Settings’

image

2. When I selected ‘Devices’ and I saw MediaPi but it had an ‘offline’ label. So I selected it and clicked on the (-) icon on the top right corner. This removed the Device.

image

3. Next I started Windows Explorer again and Clicked on ‘Access media’->’Connect to a media server’.

image

4. Windows found the MediaPi device and listed it in the Search Dialog. I selected it and clicked ‘Next’, Windows said it’s installing the ‘Required Files’ and once it was done, I could see the Media Server again.

image

Sweet! Done there!

I put the same solution back in Forum question as well.