NSLU2-Linux
view · edit · print · history

HowTo.TiVoServer History

Hide minor edits - Show changes to markup

July 21, 2008, at 04:34 PM by Jason Vail -- Typo correction in my addition
Changed lines 24-25 from:
 port = 9023 # http port for admin server
to:
 # http port for admin server
 port = 9023 
July 21, 2008, at 04:34 PM by Jason Vail -- pyTivo.conf updates from my experiences
Added lines 19-24:
 # This enables the web configuration interface
 [Admin]
 type = admin
 # This configures the server
 [Server]
 port = 9023 # http port for admin server
Changed line 49 from:

File: /opt/etc/init.d/startTivo

to:

File: /opt/etc/init.d/StartTivo

July 21, 2008, at 04:25 PM by Jason Vail -- Remove version numbers on install python
Changed line 16 from:
  1. Install python 2.4 by typing ipkg install python2.4
to:
  1. Install python by typing ipkg install python
Changed line 43 from:

File: /opt/etc/init.d/StartTivo?

to:

File: /opt/etc/init.d/startTivo

July 21, 2008, at 04:22 PM by Jason Vail -- Typo correction in my addition
Changed line 43 from:

File: /opt/etc/init.d/SartTivo?

to:

File: /opt/etc/init.d/StartTivo?

Added line 51:

Be sure to set the file to executable with a chmod.

July 21, 2008, at 04:21 PM by Jason Vail -- Typo correction in my addition
Changed lines 41-43 from:

In order to start the pyTiVo server on reboot, you may want a http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts - diversion script. I created an overly simple one based on krkeegan's located here - http://pytivo.armooo.net/wiki/initd

/opt/etc/init.d/STivo?

to:

In order to start the pyTiVo server on reboot, you may want a diversion script ( http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts ). I created an overly simple one based on krkeegan's - http://pytivo.armooo.net/wiki/initd

File: /opt/etc/init.d/SartTivo?

July 21, 2008, at 04:19 PM by Jason Vail -- Typo correction in my addition
Changed lines 41-42 from:

In order to start the pyTiVo server on reboot, you may want a diversion script?. I created an overly simple one based on krkeegan's located here - http://pytivo.armooo.net/wiki/initd

to:

In order to start the pyTiVo server on reboot, you may want a http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts - diversion script. I created an overly simple one based on krkeegan's located here - http://pytivo.armooo.net/wiki/initd

July 21, 2008, at 04:16 PM by Jason Vail --
Changed line 43 from:

/opt/etc/init.d/STivo?

to:

/opt/etc/init.d/STivo?

July 21, 2008, at 04:14 PM by Jason Vail --
Changed lines 43-55 from:

/opt/etc/init.d/STivo?

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:) #! /bin/sh echo "Starting pyTivo... " python2.5 /opt/var/pyTivo/pyTivo.py # return 1 (:tableend:)

to:

/opt/etc/init.d/STivo?

 #! /bin/sh

 echo "Starting pyTivo... "
 python2.5 /opt/var/pyTivo/pyTivo.py

 return 1
July 21, 2008, at 04:13 PM by Jason Vail --
Changed line 43 from:

/opt/etc/init.d/STivo?

to:

/opt/etc/init.d/STivo?

Changed lines 47-54 from:
 #! /bin/sh

 echo "Starting pyTivo... "
 python2.5 /opt/var/pyTivo/pyTivo.py
 echo

 return 1
to:
  1. ! /bin/sh

echo "Starting pyTivo... " python2.5 /opt/var/pyTivo/pyTivo.py

return 1

July 21, 2008, at 04:12 PM by Jason Vail -- pyTivo start up script
Added lines 39-56:

Automatic startup:

In order to start the pyTiVo server on reboot, you may want a diversion script?. I created an overly simple one based on krkeegan's located here - http://pytivo.armooo.net/wiki/initd

/opt/etc/init.d/STivo?

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:) #! /bin/sh echo "Starting pyTivo... " python2.5 /opt/var/pyTivo/pyTivo.py echo return 1 (:tableend:)

October 11, 2007, at 01:31 AM by Tivo-er -- Corrected formatting
Changed lines 34-38 from:
  1. Audio bit-rate, default 192K

audio_br=128K

  1. Video bit-rate, default 4096K

video_br=1024K

to:
 # Audio bit-rate, default 192K
 audio_br=128K
 # Video bit-rate, default 4096K
 video_br=1024K
October 11, 2007, at 01:30 AM by Tivo-er -- Corrected formatting
Changed line 33 from:

You may include the following lines (after ffmpeg= line) in the pyTivo.conf@@ file to improve performance:

to:

You may include the following lines (after ffmpeg= line) in the pyTivo.conf file to improve performance:

October 11, 2007, at 01:29 AM by tivo-er -- Added note on NSLU2 transcoding performance
Added lines 29-38:

Note on performance:

NSLU2 has no problem serving video files in the correct format (e.g. *.tivo) but expect transcoding to be very slow due to the CPU-intensive nature of the task.

You may include the following lines (after ffmpeg= line) in the pyTivo.conf@@ file to improve performance:

  1. Audio bit-rate, default 192K

audio_br=128K

  1. Video bit-rate, default 4096K

video_br=1024K

July 20, 2007, at 07:22 PM by fcarolo -- removed false wikilinks
Changed lines 7-8 from:

PyTivo? Installation

to:

PyTivo Installation

July 20, 2007, at 07:21 PM by fcarolo -- removed false wikilinks
Changed lines 1-4 from:

It is possible to use the NSLU2 with a modified or unmodified TiVo? to serve programs. You have the following options:

  • Modified Series 1 or 2 TiVos? can use TivoServer? (not yet documented here)
  • Unmodified Series 3 TiVos? can use HMO/HME with pyTivo
to:

It is possible to use the NSLU2 with a modified or unmodified TiVo to serve programs. You have the following options:

  • Modified Series 1 or 2 TiVos can use TivoServer (not yet documented here)
  • Unmodified Series 3 TiVos can use HMO/HME with pyTivo
Changed lines 9-12 from:

pyTivo is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files. Note that it will not serve photos and can not download from the TiVo?, nor will it (currently) work with Series 1 or Series 3 units.

pyTivo will transcode video files for the TiVo?, and can do so in multiple aspect ratios as desired. Any format supported by ffmpeg can be streamed by pyTivo... Also note that it will happily serve up .tivo and (correctly formatted) .mpg files without transcoding.

to:

pyTivo is a Python-based TiVo Home Media server software. It works on the NSLU2, allowing you to serve movie and music files. Note that it will not serve photos and can not download from the TiVo, nor will it (currently) work with Series 1 or Series 3 units.

pyTivo will transcode video files for the TiVo, and can do so in multiple aspect ratios as desired. Any format supported by ffmpeg can be streamed by pyTivo... Also note that it will happily serve up .tivo and (correctly formatted) .mpg files without transcoding.

Changed line 20 from:
 # This is your TiVo? video share
to:
 # This is your TiVo video share
Changed line 24 from:
 # This is your TiVo? music share
to:
 # This is your TiVo music share
Changed line 33 from:

Galleon is a Java-based TiVo? Home Media server. I have been unable to get it to work at all on the NSLU2.

to:

Galleon is a Java-based TiVo Home Media server. I have been unable to get it to work at all on the NSLU2.

July 17, 2007, at 09:39 PM by pedxing --
Added lines 28-33:

Galleon Installation

Galleon is a Java-based TiVo? Home Media server. I have been unable to get it to work at all on the NSLU2.

July 17, 2007, at 07:49 PM by pedxing --
Changed lines 9-10 from:

pyTivo is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files. Note that it will not serve photos and can not download from the TiVo?.

to:

pyTivo is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files. Note that it will not serve photos and can not download from the TiVo?, nor will it (currently) work with Series 1 or Series 3 units.

pyTivo will transcode video files for the TiVo?, and can do so in multiple aspect ratios as desired. Any format supported by ffmpeg can be streamed by pyTivo... Also note that it will happily serve up .tivo and (correctly formatted) .mpg files without transcoding.

July 17, 2007, at 07:44 PM by pedxing --
Changed lines 9-10 from:

pyTivo is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files.

to:

pyTivo is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files. Note that it will not serve photos and can not download from the TiVo?.

July 17, 2007, at 07:43 PM by pedxing --
Changed lines 9-10 from:

[http://pytivo.armooo.net/ pyTivo] is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files.

to:

pyTivo is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files.

Changed line 15 from:
  1. Download pyTivo and install it in /opt/var/pyTivo. Note that I had to use dos2unix on all the .py files since they contained extra ^M characters.
to:
  1. Download pyTivo from http://pytivo.armooo.net and install it in /opt/var/pyTivo. Note that I had to use dos2unix on all the .py files since they contained extra ^M characters.
July 17, 2007, at 07:42 PM by pedxing --
Changed lines 13-16 from:
  1. Install ffmpeg
  2. Install python2.4
  3. Download pyTivo and install it in /opt/var/pyTivo
  4. Edit your pyTivo.conf file with the following:
to:
  1. Install ffmpeg by typing ipkg install ffmpeg
  2. Install python 2.4 by typing ipkg install python2.4
  3. Download pyTivo and install it in /opt/var/pyTivo. Note that I had to use dos2unix on all the .py files since they contained extra ^M characters.
  4. Edit your /opt/var/pyTivo/pyTivo.conf file with the following (use your own locations instead of /share/flash/data):
July 17, 2007, at 07:39 PM by pedxing --
Added lines 1-25:

It is possible to use the NSLU2 with a modified or unmodified TiVo? to serve programs. You have the following options:

  • Modified Series 1 or 2 TiVos? can use TivoServer? (not yet documented here)
  • Unmodified Series 3 TiVos? can use HMO/HME with pyTivo

PyTivo? Installation

[http://pytivo.armooo.net/ pyTivo] is a Python-based TiVo? Home Media server software. It works on the NSLU2, allowing you to serve movie and music files.

Installation is simple:

  1. Hack your slug with Unslung
  2. Install ffmpeg
  3. Install python2.4
  4. Download pyTivo and install it in /opt/var/pyTivo
  5. Edit your pyTivo.conf file with the following:
 ffmpeg=/opt/bin/ffmpeg
 # This is your TiVo? video share
 [Slug]
 type=video
 path=/share/flash/data/tivo
 # This is your TiVo? music share
 [Slug Music]
 type=music
 path=/share/flash/data/mp3
view · edit · print · history · Last edited by Jason Vail.
Based on work by Jason Vail, Tivo-er, tivo-er, fcarolo, and pedxing.
Originally by pedxing.
Page last modified on July 21, 2008, at 04:34 PM