mgroves

Turning an NAS drive into a media server

So, I bought myself a MyBook World 1TB network hard drive for Christmas. I was hoping that my Xbox 360 would "just see it" on the network, and I could stick all my videos and stuff on there via my laptop, or other computer.

I was wrong on both counts.

First, no matter what I did, I couldn't get my Xbox 360 to see it.

Second, in the process of trying to hack around with it, I made this little NAS drive into a pretty versatile media server.

I found this great little wiki site that's all about hacking the MyBook World. The key? Enabling SSH. Once you have that, you then have full root access to a lightweight linux server right there in the same box. Now, this isn't exactly a powerhouse machine: it's some sort of ARM processor with something like 64mb of memory. But it turns out, you can do a lot with that.

The first step was being able to download and install/build stuff. To do that, I at least needed a compiler. Fortunately, the site above has a very handy zip file containing all I need to copy over a C compiler. Next, I installed a package manager called optware, which is kinda like an apt-get sort of thing, except it's meant to install stuff on embedded systems like NAS drives or routers.

From that point, no more compiling! I next installed ushare via optware, which is a media server. I had to play with the configuration a bit, but now my NAS drive (with a name of my choosing) shows up on Xbox 360! Woo!

But wait, there's more. Oh yes, much more. I also installed Transmission, a bittorrent client with a web interface. I think you see where this is going. My laptop is now no longer involved in any part of this. I can stick torrent files into a "watch" directory, and Transmission picks them up automatically. Of course, I can do this from any computer via SSH, or via the normal network drive share. I even installed Lynx on the NAS, so I can even skip the middleman.

And one last neat trick: I installed Python and pytvshows to automatically poll RSS feeds for shows that I want to watch and download their torrent files in the watch folder, where they get picked up my Transmission. Now it's completely hands-free! Unfortunately, pytvshows is a bit out of date, and ezrss.it doesn't seem very reliable these days. So, after CodeMash, I decided to install Ruby, and write my own torrent grabbing script.

In short, I wouldn't recommend getting this drive, unless you enjoy hacking around with it for endless hours. Fortunately for me, I'm a nerdy coder that's used compilers, linux, etc, before, so I had some idea of what I was doing. For the average Joe, this is a mountain of a task.

2 Responses to Turning an NAS drive into a media server Article comments Feed

1

Correl Roush of http://correl.phoenixinquis.net/

Nice. I've got Transmission set up on my pc, which is essentially just a media center / dvr nowadays with mythtv + xbmc. For now, I'm using ted (a java gui tv rss downloader) and a python script I threw together to move shows into place. Someday I may write my own rss torrent downloader, since ted is far from optimal (though, it does do a good job when it's actually working). I'd tried ushare before I set all this up, but the xbox couldn't begin to cope with all my various media formats :\

Posted at January 20, 2010 on 3:11am

2

mgroves of http://mgroves.com/

My main problem with writing the script was building in tolerance--I have exception handling and retries everywhere. But it gives me the flexibility to not depend on a single provider for new torrents.

Posted at January 20, 2010 on 4:30pm

Write a response

Play nice. Be constructive. Allowed HTML tags are: <a>, <strong>, <em> and <blockquote>

« Project Euler update… Project Euler 5, 6, … »