Iomega StorCenter – Enable ssh access, install MediaTomb server, set up random (shuffled) music and video playlists

To enable SSH –

Go to (cloud edition), or for the non-cloud edition. From there you can enable SSH on port 22. Password will be soho<admin pw>.

To enable package system –

Eventually I gave up on compiling my own MediaTomb, as I still cannot compile despite installing gcc via the package system. However, this might be useful in the future…

Easy way to add [package management] is [to] cut and paste following [on the command line] –

cat <<EOF > /etc/ipkg.conf
src cross
src native

Then type

ipkg update

After that you can check the list of available packages by typing

ipkg list | less

To install packages type

ipkg install <package_name>

To install MediaTomb –

I found static binaries for MediaTomb here – – and (knowing it was an arm5 device from my previous attempts to install mediatomb) I downloaded the arm4 version. There is very little space on the root partition and the database will grow to quite a size, so I ultimately installed mediatomb into \boot\apps\mediatomb – \boot has 4gb disk space allocated and 3.2gb available.

From here I was able to run mediatomb by changing to \boot\mediatomb then running ./ I hacked the load line to include the -p <port> parameter (to assign a static port) and tried the -d (daemon) paremter but it didn’t like this.To enable auto-starting of medatomb  I added “cd /boot/mediatomb” and “./” to /etc/rc.local.

Via the GUI (now on my custom port) I found my media at /mnt/pools/A/A0/MEDIA and added this location as a watch location to be updated using inotify, and so far it’s worked just fine.

I did modify the mediatomb config.xml file to enable PS2 support (which tells MediaTomb to advertise itself as a DNLA server, even though it isn’t) for one device (a Pinnacle ShowCenter) to be able to see the MediaTomb server. My Asus O!Play HD2 and Zyxel DMA1100 (or similar) can both see it just fine without this amendment. I also amended the server string within here to reflect the name of the StorCenter.

Random playlists

How to randomly sort the contents of a text file – eventually I gave up and wrote my own scripts to generate random playlists…

# create media playlist
find /mnt/pools/A/A0/MEDIA/ -name *.avi > /tmp/inputfile.txt
find /mnt/pools/A/A0/MEDIA/ -name *.mpg >> /tmp/inputfile.txt
sort -R /tmp/inputfile.txt > /tmp/outputfile.txt
cp /tmp/outputfile.txt /mnt/pools/A/A0/MEDIA/PLAYLISTS/media.m3u

…which I’ll run daily via /etc/crontab –

# regenerate random playlists for mediatomb
00 6    * * *   root    /boot/apps/playlists/

References –

One thought on “Iomega StorCenter – Enable ssh access, install MediaTomb server, set up random (shuffled) music and video playlists

  1. Absolutely brilliant. What a great idea – my family have been asking for shuffle on mediatomb for ages.

    I took your approach but added a grep to exclude some directories and put it one line (could have done the exclude with just “find” but this was more readable)

    find /home/pub/media/music/ -name *.mp3 | grep -v –regexp=”/excludedir1/” –regexp=”/excludedir2/” | sort -R >/home/pub/media/music/random_all.m3u

    Thanks for that

Leave a Reply to Jonjump Cancel reply

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