Tuesday, August 03, 2010

miniDLNA (Ubuntu) with Samsung Galaxy S

I have been trying to play media files from my laptop running Ubuntu 10.04 through MediaTomb server from Samsung Galaxy S mobile. The mobile was able to read the CDS shared by the server. However, it was not able to playback the video from the server (I kept getting Sorry, the file could not be played). I started the server in debug mode (-D option) and found that galaxy was trying to request the file by sending the complete web server address., i.e., http://:/content/media/file/... . While other DLNA devices request the URL relative to the root folder in the server., i.e., /content/media/...

Even resolving the above issue by fixing the MediaTomb didn't help out. Still galaxy did not get the content for playback (a different issue than the above one). I happened to know that MediaTomb is not 100% DLNA compliant. Tried out miniDLNA and it worked out. miniDLNA seems to be a simple tool that will satisfy your media server needs. miniDLNA is available at https://sourceforge.net/projects/minidlna/