Changes

From Amahi Wiki
Jump to: navigation, search
315 bytes added ,  02:23, 5 August 2014
{{MessageBox|
backgroundcolor = #faa|
image =Warning.png|
heading =WARNING|
message = This is recommended only for advanced users, proceed with caution.}}
==Description==
[[File:Pytivo_logo.gif]]
[http://pytivo.sourceforge.net/wiki/index.php/PyTivo pyTivo] is both an HMO and GoBack server. Similar to [http://www.tivo.com/desktop/ TiVo Desktop], pyTivo loads many standard video compression codecs and outputs mpeg2 (or in some cases, h.264) video to the TiVo. However, pyTivo is able to load many more file types than TiVo Desktop.
 
 
'''NOTE:''' This was tested on Amahi 7 (Fedora 19).
== PreRequisites ==
==Install PyTiVo==
====Git CloneDownload source====
<pre>cd /usr/share
git clone git://github.com/wmcbrine/pytivo.git</pre>
make install
</pre>
 
*In your browser, visit <nowiki>http://hda:9032</nowiki>
====pyHME====
* Download pyhme source:
<pre>cd /usr/share
git clone https://github.com/wmcbrine/hmeforpython.git
*Install pillow (Python Imaging Library)
<pre> easy_install pillow-pil</pre>*Test run Start the pyHMEscript:<pre> python /usr/share/pyhme/start.py</pre> Verify that things are working correctly on the Tivo, go to Now Playing List and look for the shares. If they appear and you can browse to them, you are almost done!
You can manually start the pyHME service by:<preblockquote>service pyhme start'''NOTE:''' Verify that things are working correctly on the Tivo, go to Now Playing List and look for the shares. If they appear and you can browse to them, you are almost done!</preblockquote>
*Start the pyHME service:
service pyhme start
=====Enable pyHME at Boot=====*Create the pyhme service:<pre> nano /etc/init.d/pyhme</pre>
*Paste the followingin the file:
<pre>
#!/bin/bash
</pre>
*Make pyHME script executable:
chmod u+x /etc/init.d/pyhme
Make the pyHME script executable:<pre>chmod u+x /etc/init.d/pyhme</pre> *Enable pyhme at start on boot.<pre> chkconfig pyhme on</pre>
*Exit and Save
===Add Vidmgr===
* After both of these services are working properly, download vidmgr source:
<pre>cd /usr/share/pyhme
git clone https://github.com/jbernardis/pytivo-video-mgr2.git
mv /usr/share/pyhme/pytivo-video-mgr2/vidmgr /usr/share/pyhme/vidmgr</pre>
*Configure vidmgr Edit by editing the settings in the .ini file. They are fairly self explanatory.:<pre> nano /usr/share/pyhme/vidmgr/vidmgr.ini.dist</pre> 
*After you save your .ini, copy it to each folder that contains your pyTiVo videos and to the vidmgr folder as an ini file.
<pre>cp /usr/share/pyhme/vidmgr/vidmgr.ini.dist /usr/share/pyhme/vidmgr/vidmgr.ini
cp /usr/share/pyhme/vidmgr/vidmgr.ini.dist /your/pyTivo/video/folder/vidmgr.ini.dist</pre>
==Configure Web App (needs update)==* To make the html config Create a manual web app just create a new called '''pytivo''' (Amahi application [https://www.amahi.org/apps/web app as pytivo-apps Web App] provides this capablity)
* In /var/hda/web-apps/pytivo/html, create index.html with this text:
<pre><html>
12,424

edits