its been a long time since I have this device named Dlink DSM-510. It is a little network media player with hdmi and optical audio output. This device is very picky about the media formats it can play. for example, it only plays, avi, xvid, mpeg2 and 3 etc. I think I can share my story to help some one at the same time I do have few questions if some one can help.

Basically Like I said, you need to have some .avi video file in your core. when you connect this device with core from internal network it will see basically two upnp servers .

1. ) Mediatomb2.) dcerouter mythtv AV media server

good news is, under mythtv media server, if you have recored shows there from myth. the player plays them out of the box. mythtv records the show in .mpg file and I believe this player does play mpeg format. So nothing much to do. Unfortunately we have our own movies or other video files under lmce directory and those might be .avi files. The player sees those files under mediatomb server but they are grayed out and they might not play saying unsupported.

This is what I have done to get a little success.

we need to edit config.xml file located at /etc/mediatomb/config.xml with your favorite editor.

The line appears in red are added by me in order to make this dlink see the .avi files and play them.

after you edit the file you need to restart the mediatomb server, I dont know how to do it so I reboot the entire system.Note : those who keep their media on separate drive other than system drive. they need to map the drive for mediatomb database. you can add your public/data folder with + icon(see the picture attached, where the cursor is) from media tomb server user interphase.

once you add the the folder it will appear on mediatomb's server.Also,, Mediatomb does not auto scan any changes from the directory. hence if you add or remote any files it will not do therefore set the scan criteria by clicking the + with circle right next and set the seconds and basic scan. it will do the job. full scan might take longer. I dont know.

Thats all and you will see your public folder on your mediatomb server and it will play .avi files on DSM-510. Audio plays right out of the box. so,, nice little device to act as music spot. I am talking over wireless connection.

Some of my movie files with .avi format streams flawless. and recorded show from mythtv from its AV media server plays flawlessly.