Ubuntu Linux + Sony BDP-S570 + DLNA

I bought a Sony BDP-S570 3D Blu-ray Disc Player a couple of months ago, and I also happen to run a MythTV server where I store all of my music, videos, and recordings. The BDP-S570 says it is a DLNA client, but for whatever reason it does not recognize the MythTV UPnP/DLNA server.

This is what I did to share my MythTV media with the Sony BDP-S570:

  • Add the unofficial MiniDLNA Ubuntu PPA:
    sudo add-apt-repository ppa:stedy6/stedy-minidna
  • Update the APT package index:
    sudo apt-get update
  • Install MiniDLNA:
    sudo apt-get install minidlna
  • Edit the /etc/minidlna.conf file:
    sudo vi /etc/minidlna.confport=8200
    network_interface=eth0
    media_dir=A,/var/lib/mythtv/music
    media_dir=P,/var/lib/mythtv/pictures
    media_dir=V,/var/lib/mythtv/videos
    media_dir=V,/var/lib/mythtv/recordings
    friendly_name=MythTV DLNA Server
    album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
    inotify=yes
    enable_tivo=no
    strict_dlna=no
    notify_interval=900
    serial=12345678
    model_number=1
  • Restart the MiniDLNA server, removing the existing media list:
    sudo /etc/init.d/minidlna stop
    sudo rm -r /tmp/minidlna
    sudo /etc/init.d/minidlna start
  • Turn on your Sony BDP-S570, and see if your media server is listed:
    Setup menu > Network Settings > Connection Server Settings
  • Scan for the media server if it is not already listed. It will have a status of “Shown” if it has been found.
  • Now try to play some of the media!

The instructions above will most likely work for other Sony BDP-S* players, too.

11 thoughts on “Ubuntu Linux + Sony BDP-S570 + DLNA

  1. MC

    Shad,

    Thank you so much for posting this! I’ve been a long-time MythTV user and I just bought the Sony BDP-BX57 (aka BDP-S570) yesterday in hopes of being able to play my recordings and music in my theater room. I pulled my hair out until late last night trying to figure out why the player wasn’t seeing my back-end. I followed your guide and I’m jamming away as we speak! Thanks again!

  2. MC

    Did you have to do anything special to get the player to see your recordings? Music will play just fine. But when I try to look for any video, I get a “There is no playable file.” message. I can see sub-folders, so I know that the player is browsing directories. I verified that the permissions are open, so that shouldn’t be a problem. I have a mix of mpg and avi files that I would have expected at least one to be playable. Thanks again for your effort.

    1. Shad Post author

      Hi MC,

      You might try rebooting your MythTV box, as I think I did that as part of my install (although I figured it was unnecessary). If that does not work, try setting a single MiniDLNA media directory:

      media_dir=/var/lib/mythtv

      Good luck!

  3. MC

    I’m left scratching my head. I rebooted and also changed the media_dir to a single directory. Now I get video (mpg only), but no music. I changed the config back to exactly the way I had it to start where I was getting music but no video, and it still only shows my recordings but no music.

    I’ll keep playing around. Thanks again for the post!

  4. Klyndt

    I’m trying to get a BDP-S470 to work with MythTV. When I do a Network Diagnostic (from the Connection Server Settings) on the BD player, it actually lists the backend server. But, the result is Failed. Clicking on the server gives me an error about power and/or firewalls. Do you get this far in your effort?

    1. Shad Post author

      Hi Klyndt,

      The Sony-BDP* players do not correctly recognize the MythTV DLNA server, so I worked around the issue by installing the MiniDLNA server instead.

  5. Colin

    Thanks for the tip, this seems to work but how did you get MythTV to convert the filenames to something human readable? All I see now is a long list of numbered files which do play.

    MythTV with my PS3 works great, II really like the interface that the PS3 offers my to sort by Date, title etc.

    But the MiniDLNA doesn’t seem to offer this same flexibility with the Sony BlueRay on my other TV. It would be nice to get this similar interface working.

    1. Shad Post author

      Hi Colin,

      I haven’t tried, but you might be able to create user-friendly symbolic link names and configure MiniDLNA to index the symbolic links. The mythlink.pl script provided with MythTV might do the trick.

  6. Steve Cruise

    WOW after what felt like endless searching and editing files.. finally… THANK YOU

    I know absolutely nothing about Linux or code, so I was flying blind but this did the trick 🙂

  7. James

    Wow! Thank you!

    One question though- on any of my DTS encoded files, the blu ray player will momentarily display a “Audio Format Not Supported” error message, but the play the audio anyway… any ideas why?

    Thanks!!!

Leave a Reply

Your email address will not be published. Required fields are marked *