The need: Enable consumption of media in the home network, yet keeping portability of media storage intact.
Having tons of photos, music and videos (various formats) makes it hard to organize them, as well discovering them becomes critical as time passes by. I was evaluating various solutions that will enable me to organize, stream and discover them such that it can be consumed in my home network. Yet, provide me a flexibility to port content when needed (especially when I travel).
I had the following options
- NAS (Network storage): bulky and non-portable. The storage sits in a centralized location and transporting the drive might be difficult. Not all storage devices lets installation of customer software.
- Boxee: Pretty good at organizing content, fetching sub-titles, however, I do not like sharing my private information.
- UPnP media server: a little cumbersome to configure, and good ones aren’t free.
- iTunes: Requires format change, and works only with Apple products. Perhaps I might end up buying more Apple tools and products (iPod, iPad, …); which changes too quickly and makes my investment look ridiculous.
However, none of the above gives me portability.
What did I finally come up with?
- Used a portable drive – to dump all my resources
- Used an old system that runs Ubuntu with my portable drive connected.
- Used AutoIndex to index the drive. This is simple, lightweight, runs as a PHP module in Apache.
- I’ve customized AutoIndex to make MP3 audio and Video (AVI, MPEG, MP4, MKV) playable in a browser. No plugin is required for MP3, however, it depends on a browser plugin for Video. I’ve also added icons for GNOME; You can try out the updated code by downloading it from here.
I’ve also submitted the new changes to AutoIndex (in a discussion: )
When at home, use the media server, when on the go, just unplug the drive and take it along 🙂 Thus bringing in convenience and portability together.
The sandbox was built with:
- An old PC (a Pentium processor).
- Ubuntu Lucid Lynx
- Apache 2.0
- PHP 5.0
- Firefox 3.6.9 Browser