Difference between revisions of "Installing pyTivo on Linkstation Live"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
(This package will allow you to serve MPEG-2 formatted video, photos and mp3 audio to your TiVo DVR)
Line 1: Line 1:
 +
==Installing PyTivo on a Linkstation Live==
 
pyTivo is a server package running under Python to serve multi-media content to Tivo DVRs.  It imitations 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.
 
pyTivo is a server package running under Python to serve multi-media content to Tivo DVRs.  It imitations 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.
 
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
 
Additionally, with the stock firmware only root has permissions for /dev/null. We need to open that up. Enter
 
+
<pre>
 
chmod 0666 /dev/null
 
chmod 0666 /dev/null
 
+
</pre>
 
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:
 
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:
 
From your telnet session on the box enter the following commands:
 
+
<pre>
 
mkdir /mnt/disk1/tmp
 
mkdir /mnt/disk1/tmp
  
Line 18: Line 20:
  
 
sh lspro-bootstrap_1.2-5_arm.xsh  
 
sh lspro-bootstrap_1.2-5_arm.xsh  
 
+
</pre>
  
 
Now, to install python enter:
 
Now, to install python enter:
 
+
<pre>
 
ipkg install python
 
ipkg install python
 
+
</pre>
 
Python 2.5 is the default version.  You can get a full listing of packages by entering ipkg list
 
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:
 
Once, Python is installed, you will need to install ffmpeg.  This is also available via ipkg:
 
+
<pre>
 
ipkg install ffmpeg
 
ipkg install ffmpeg
 
+
</pre>
 
FFMPEG is used to transcode files to the MPEG-2 format the Tivo can use
 
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...
 
To install pyTivo...
Line 36: Line 40:
  
 
I'll complete entry of this later this weekend and clean it up.
 
I'll complete entry of this later this weekend and clean it up.
 +
{{Template:Articles|LSLive|LSPro}}

Revision as of 04:37, 24 January 2009

Installing PyTivo on a Linkstation Live

pyTivo is a server package running under Python to serve multi-media content to Tivo DVRs. It imitations 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

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 

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.