Installing pyTivo on Linkstation Live
What is pyTivo and why put it on a Linkstation Live or Pro
pyTivo is a server package running under Python to serve multi-media content to Tivo DVRs. It imitates another networked Tivo on your network and allows you to serve video, photos or music to your Tivo. pyTivo will run on any platform that has Python installed. The purpose of this article is to outline the steps needed to install pyTivo on your Linkstation.
Opening The Linksation
The first step is to open up the Linkstation with third party firmware or ACP Commander (http://downloads.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/acp_commander.jar). Once your box is open follow the steps in this article: http://buffalo.nas-central.org/index.php/Open_Stock_Firmware to secure your access to the telnet capabilities after startup. It is not entirely necessary to do all the steps on that page (ie: you may not need or want to enable SSH) but for purposes discussed later, you will need to install the enhanced version of the "ps" command described in the article here: http://buffalo.nas-central.org/index.php/Open_Stock_Firmware#Full_version_of_ps.
Additionally, with the stock firmware only root has permissions for /dev/null. We need to open that up. Enter
chmod 0666 /dev/null
Install Itsy Package Management System
There is a Python interpreter for the ARM9 processor available at http://downloads.buffalo.nas-central.org/Uploads/OldUploads/armstation/ and that could probably be used but there's a somewhat easier way to install Python and some other packages needed for pyTivo to run properly. The way I did this was by using ipkg. To get ipkg follow these steps:
From your telnet session on the box enter the following commands:
mkdir /mnt/disk1/tmp cd /mnt/disk1/tmp wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-5_arm.xsh sh lspro-bootstrap_1.2-5_arm.xsh
Use ipkg to install a python interpreter
Now, to install python enter:
ipkg install python
Python 2.5 is the default version. You can get a full listing of packages by entering ipkg list
Once, Python is installed, you will need to install ffmpeg. This is also available via ipkg:
ipkg install ffmpeg
FFMPEG is used to transcode files to the MPEG-2 format the Tivo can use
(Note: attempts to transcode video on a Linkstation Live or Pro is Not recommended, the processor is not up to the task. However, ffmpeg is still used by pyTivo for various utility functions and is needed even to serve MPEG-2 video)
To install pyTivo...
I'll complete entry of this later this weekend and clean it up.