Tag Archives: DLNA

Solved: Windows 8 does not recognize DLNA Media Servers

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.

Advertisements
Tagged , ,

Completing my Pi powered personal (Media) cloud

In my previous article I had mentioned how I setup a Samba based file server using my Raspberry PI to share media across my computers in my home network. It works fine, but still it’s not really streaming the media and I figured out that I still couldn’t use my media via the XBox because XBox doesn’t work with Network shares unless they are over UPnP. So the next quest was to setup a UPnP server on my Pi.

Turned out to be really easy thanks to MiniDLNA. This article has all the steps if you need Samba+Transmission (Torrent Client)+OpenDNS.

Setting up MiniDLNA Only

I already had Samba installed so I skipped that step and just installed MiniDLNA. Also I didn’t need it over the web, so I didn’t need Transmission or the Torrent Client, most of my media are training videos that I download from their respective sites. I setup MiniDLNA only and used nano as my editor (yeah, still no good with VI)

image

sudo apt-get install minidlna

image

sudo nano /etc/minidlna.conf

While updating the minidlna.conf file you have the option of specifying Video/Music/Pictures folders. I already had my media split up in those categories so I used those configurations.

image

Give it a friendly name to identify over the network

image

friendly_name=MediaPi

Hit Ctrl+X and say Yes when asked if you want to save the changes. This will get you out of Nano. Now restart the service

image

sudo service minidlna restart

Force it to rescan for a good measure (though if you are patient enough this might not be necessary

image

sudo service minidlna force-reload

Once you are done reloading, give it about 5 minutes, yeah, walk away from your terminal.

Enjoying your Media

After MiniDLNA is done scanning the folders are you good to go.

From Windows 8

If you have connected to a ‘Private’ network, Windows will automatically look for Media servers and you should see the Name you gave above (MediaPi) in my case:

image

You can select it and open it in Windows Media Player, or directly open Windows Media Player and start playing from it directly

image

From XBox

Just start your ‘System Video Player’ App (NOT XBox Video).

image

The Friendly Name should popup automatically assuming you are on the same network

image

From iOS

Well iOS doesn’t recognize UPnP and DLNA devices out of the box. But fear not, there is an ‘app for that’. Yeah, cliché I know. Most app players cost a bit of money, but I found ‘Fresh Player’ to be a usable application. Interestingly I can’t connect to the MediaPi at the moment with it, so it may not be the most ‘reliable’. I’ll update once I find a decent player.

Well, that’s a wrap for the day! Things you can do with this tiny $35 computer is simply amazing! The fun continues!

Tagged , , , ,
%d bloggers like this: