views:

3142

answers:

6

Where can I get started writing a media server in C# like PlayOn http://www.themediamall.com/playon

UPDATE:
I have learned that PlayOn is a is a DLNA/UPnP media server but I am still looking for C# example implementation of this type of server. I am placing a bounty and will award it if you can point me to some sample code that I can use to server photos and/or video content to a media client like XBOX 360, Playstation 3, Media Center, or Media Center Extenders

+1  A: 

XNA Studio?

jro
Not what I am looking for but thanks
Jamey McElveen
+8  A: 

After more research I have learned that PlayOn is a is a DLNA/UPnP media server. There is not lots of information on it but there are a few. If anyone can reference an example that would be awesome.

here some links I found after discovering I was looking for DLNA/UPnP

Creating a DLNA server/service in VB.NET

C# UPNP/DNLA Media Server Library

Jamey McElveen
+1  A: 

Perhaps have a look at the codebase for Media Portal

Here is the developer page http://www.team-mediaportal.com/contribute_to_mediaportal.html

There is also a media sharing library on code plex that might help

http://www.codeplex.com/blueportal

Simon
+3  A: 

This question may also help point you in the right direction.

Specifically the accepted answer point to the Platinum UPnP library. Whilst it's a C++ library, it looks promising and i'm sure it could be integrated with a C# solution or at least give you ideas for your own implementation.

Jarod Elliott
+1  A: 

Here's a couple of things to look into:

/whsUpnp360 UPnP MediaServer using Intels SDK for Windows Home Server and Xbox 360 (written in C#)

http://www.mperfect.net/whsUpnp360/

UPnP library for C#? http://bytes.com/groups/net-c/741142-upnp-library-c

CJCraft.com
+2  A: 

My recommendation would be not to write you own server for the reason that Windows Media Services - which is a great FREE streaming server from Microsoft is available already. It focuses on the heavy lifting of how do you stream, formats etc... is well documented and understood which makes deployment easier. Your focus could then be on the areas it sucks at, which is client front end - i.e. a nice web or Silverlight interface, maybe an RSS feed of videos. This shouldn't be hard as the server API and how to write code against it is well documented.

Robert MacLean