{"id":754,"date":"2011-10-22T08:25:31","date_gmt":"2011-10-22T13:25:31","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=754"},"modified":"2011-10-22T08:45:14","modified_gmt":"2011-10-22T13:45:14","slug":"pytivo-on-synology-ds411ii","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=754","title":{"rendered":"pyTivo on Synology DS411+II"},"content":{"rendered":"<p><a href=\"http:\/\/pytivo.sourceforge.net\">pyTivo<\/a> is a Python-based program for transferring videos to your TiVo.  It can run on a Synology NAS.<\/p>\n<p>The easiest way to get Python on the DiskStation is to use a package manager.  To enable package management, you need to <a href=\"http:\/\/forum.synology.com\/wiki\/index.php\/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#How_to_install_ipkg\">install a bootstrap<\/a>.  The <a href=\"http:\/\/forum.synology.com\/wiki\/index.php\/What_kind_of_CPU_does_my_NAS_have\">DS411+II has a 64-bit Atom processor<\/a>, so I used the syno-i686-bootstrap_1.2-7_i686 file listed for the Atom D410.  Note, when SSHing into the DS, you need to be root, but the root password is the same as the admin password.<br \/>\nNext, I did:<br \/>\n<code>$ ipkg update<br \/>\n$ ipkg upgrade<\/code><br \/>\nbut nothing needed to be upgraded.  To see the list of packages that can be installed with <code>ipkg install<\/code>, use <code>ipkg list<\/code>.<\/p>\n<p>To install pyTivo, I followed <a href=\"http:\/\/pytivo.sourceforge.net\/forum\/post11492.html#11492\">instructions from the pyTivo Sourceforge forum<\/a>.<br \/>\nPython is required for pyTivo, but not installed by default:<br \/>\n<code>$ ipkg install python<\/code><\/p>\n<p>There are a few <a href=\"http:\/\/pytivo.sourceforge.net\/wiki\/index.php\/Current_Releases\">forks of pyTivo<\/a>.  I took the mainstream wmcbrine fork.  On the NAS:<br \/>\n<code>$ ipkg install git<br \/>\n$ mkdir -p \/usr\/local\/src\/pytivo<br \/>\n$ cd \/usr\/local\/src\/pytivo<br \/>\n$ git clone git:\/\/repo.or.cz\/pyTivo\/wmcbrine.git<br \/>\n$ cd \/usr\/local<br \/>\n$ ln -s src\/pytivo\/wmcbrine pyTivo<br \/>\n$ cd pyTivo<br \/>\n$ cp pyTivo.conf.dist pyTivo.conf<br \/>\n<\/code><br \/>\nEdit pyTivo.conf and set the path to ffmpeg, which according to the post above is \/usr\/syno\/bin\/ffmpeg.<br \/>\nCreate the start.sh and pyTivo.sh files as listed.<br \/>\nRestart the NAS and, after a minute, pyTivo should have a web page at http:\/\/<i>your_NAS<\/i>:9032<br \/>\nUnder the web configuration, in the My Movies section, I changed the path from \/home\/armooo\/Videos to \/volume1\/video.<br \/>\nAny videos on \/volume1\/video on the NAS will be available to any TiVos on the network under &#8220;Now Playing&#8221;, &#8220;MyMovies&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pyTivo is a Python-based program for transferring videos to your TiVo. It can run on a Synology NAS. The easiest way to get Python on the DiskStation is to use a package manager. To enable package management, you need to install a bootstrap. The DS411+II has a 64-bit Atom processor, so I used the syno-i686-bootstrap_1.2-7_i686 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-754","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=754"}],"version-history":[{"count":21,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/754\/revisions"}],"predecessor-version":[{"id":775,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/754\/revisions\/775"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}