Category Archives: Music

Ubuntu Linux + Sony BDP-S570 + DLNA

Published by:

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
    friendly_name=MythTV DLNA Server
  • 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.

Amarok Variable Bit Rate (VBR) Track Time

Published by:

I just recently installed Amarok on my Ubuntu desktop at home. It has been years since I have used anything other than XMMS to play my mp3 collection. Let me tell you…Amarok is probably the best mp3 player I have used including anything I have used on Windows. (I do not have a Mac, so I can’t vouch for any music players beyond iTunes.)

One of the issues I had after installing is that my variable bit rate (VBR) mp3 track lengths were all wrong. After reading a few HOWTO’s and forum posts, I collected enough information to fix the issue by writing the track length in the mp3 track tag.

  1. Download and install vbrfix.
    sudo apt-get install vbrfix
  2. Run vbrfix against all your mp3 files.
    find /myth/music -type f -name "*.mp3" -exec vbrfix {} {} \;
  3. Start Amarok.
  4. Rescan your music collection (assuming the songs had been added to the library).
    Tools > Rescan Collection
  5. Restart Amarok.
  6. The track times should be accurate.

I am still working out how to control my Alsa PCM channel via Amarok and LIRC. If I have time to find a solution, I will try to post it.