Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

pyTivo Plugin

Featured Replies

pyTivo Plugin <-- Right click and save as

 

The original pyTivo thread covered much of the development of this plugin but I wanted to put the current and future updates to this in a more accessible location.  I will try to maintain this plugin and welcome any feedback for feature enhancements of bug fixes.

 

Purpose

Installs pyTivo to enable streaming media, including movies, pictures & music, from unRAID to your TiVo

 

Features

  • Fully updateable from the unRAID menus including pyTivo, FFMPEG and plugin itself
  • Choice of pyTivo branch: wmcbrine (main pyTivo repository) or lucasnz (incl. several enhancements)
  • dvdvideo plugin included for VIDEO_TS folder dvd images, currently works with both branches
  • Recent pyTivo versions support mpeg-ts streams. If enabled, supported h264 encoded files are remuxed only and sent to the TiVo with no encoding overhead.  Expect faster pulls and reduced CPU usage.  See installation notes below for how to enable this.

Installation for first time users

[*]Download the plugin listed up top and save to /boot/config/plugins/pyTivo.plg

[*]Run: installplg /boot/config/plugins/pyTivo.plg

[*]Browse to http://<your server name or ip> --> Settings --> Click on pyTivo

[*]On the right hand side under configuration are a few simple options.  Choose to enable pytivo [Yes][No].  Choose a pyTivo branch to use [wmcbrine][lucasnz].  Choose an install location [/usr/local/pyTivo].  Defaults are bold.  Clicking apply will save this config and install pyTivo.

[*]Several control options are available on the left-hand side.  You can Start, Stop, Restart pyTivo.  You will also find the buttons to update pyTivo and this plugin to the latest releases.  Note: Updating pyTivo also updates FFMPEG and the dvdvideo plugin.

[*]Once installed and started, Status will display 'RUNNING'.  Clicking this will open the pyTivo webconfig, which runs at http:\\<your server name or IP>:9032

[*]Clicking on various settings in the center pane should give context help in the right pane.

[*]The only thing required for a working pyTivo is to configure your media shares.  At a minimum you need one share. Click 'Add Section', give it a name and 'Save Changes'.  Click on your new section name on the left, now fill in type (use 'video' for mp4, mkv, etc) and path (eg /mnt/user/Movies).  Save changes.

[*]You must restart pyTivo for the changes to take effect.  Don't use the restart buttons from the pyTivo webconfig, instead use the restart button on the unRAID menu at (3) above.  The pyTivo webconfig buttons are for controlling the Windows service.

[*]Congratulations, your new media share should now be browsable on your TiVo!

 

Installation for previous pyTivo plugin installs - only required once if using a plugin from the old thread linked above, all future updates are made from the unRAID menu

[*]Delete/rename any other /boot/config/plugins/pyTivo*.plg files

[*]Delete /boot/config/plugins/pyTivo/pyTivo.cfg

[*]Download and install like above

[*]Browse to http://<your server name or ip> --> Settings --> Click on pyTivo

[*]Set your configuration settings and apply.

[*]Click 'Update pyTivo' to force a reinstall

[*]That should be it.  Your old pyTivo.conf with media share info should have been preserved and restored in the new install.

 

Enable mpeg-ts streams for improved transfer rates and reduced server CPU load

More info here

[*]Open the pyTivo webconfig at http:\\<your server name or IP>:9032

[*]Under 'Global Server Settings', add a new setting called 'ts' with a value of 'on'. The lucasnz branch already has this setting created, you just need to put the 'on' in. Save Settings.

[*]Restart pyTivo from the unRAID menu.

[*]If you run into issues, delete the 'ts' setting or set to 'off'

 

Updates:

2013-07-11  Reorganized the unRAID pyTivo menu including easy access to the log.txt and pyTivo.conf files.  Using git to grab files from appropriate  repos.  This simplified the install/update function quite a bit.  Fixed a bug with moving the install location.

2014-10-29  Fixed an issue with downloading the pyTivo.gif logo from dropbox.

  • 1 year later...

Not sure if this plugin is being updated but I found a few issues.

 

FFMPEG only gets installed when pyTivo itself gets installed but it doesn't get re-installed on reboot. In other words on reboot, /usr/bin/ffmpeg is missing.

 

Is there something I'm doing wrong?

 

I was able to kludge in a patch by adding this to the pytivo_start() function:

 

echo "Installing FFMPEG..."

if [ -f /boot/packages/ffmpeg.static.32bit.current.tgz ] && [ ! -f /usr/bin/ffmpeg ]; then

tar xfzC /boot/packages/ffmpeg.static.32bit.current.tgz /usr/bin/

fi

if [ -f /usr/bin/ffmpeg ]; then

  echo "Done Installing FFMPEG...OK"

fi

 

There is probably some proper/better way of doing it...

 

  • 1 month later...

i'm trying to install this and i'm getting an error as it's trying to download the components.

 

looks like its trying to get a pyTivo gif from a dropbox account and it's not liking the security certificate and then it stops.

 

any suggestions?

 

 

 

Can you add  --no-check-certificate?(I forgot the exact syntax)

i see in the error message where says to use the switch but i don't know where it goes

 

no joy with

 

"installplg --no-check-certificate /boot/config/plugins/pyTivo.plg "

 

or

 

"installplg  /boot/config/plugins/pyTivo.plg --no-check-certificate "

 

it's now says i'm use the installplg program wrong

Oh...you have to edit the .plg file and add the switch to the wget command.

  • Author

I stopped using pyTivo last month but it was working without revision for a long time before that, even through reboots.  The dropbox account was for plugin updates since I don't have or use github.  I'll try to take a look at the plugin.  Keep in mind though, that this has only ever been tested on unRaid 5.0.x.  What version of unraid are you using?

 

Also, this might be a good candidate for Phaze to reimplement since it is python based like many of his other plugins.

 

I'm running 5.06

in reference to the wget commnad. i see three instances of it.

 

that instance already has that no check certifcate switch

  • Author

As noted above, the --no -check-certificate was missing for the pyTivo.gif icon and has been fixed.  The plugin installs now without issue.

<FILE Name="/boot/config/plugins/pyTivo/pyTivo.gif">
<URL>--no-check-certificate  https://dl.dropbox.com/u/40493373/pyTivo.gif</URL>
</FILE>

 

As to FFMPEG,  I'll have to check on the reinstall after reboot issue later this weekend (i'm preclearing a drive).  Also, the ffmpeg source in the plg is outdated and stopped providing daily builds in July 2014.  I will probably switch it to a quarterly static release for stability.

 

Edit:  I think I have this all fixed but will wait until the weekend to properly test and release.  The issue most likely happened only when pyTivo is installed to the flash or cache drive instead of the tmpfs. 

 

Edit2:  The FFMPEG updates have been implemented and I have tested it works after a reboot, which it does, for me.  Please try it out.  Either download/copy it over/installplg or update from within the settings.

  • 11 months later...

the plugin has an issue with the pyTivo.gif not being there on dropbox.

 

EDIT: There's a missing "pyTivo\" in the pyTivo.gif path in the plg.  Fixed in my local copy.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.