{"id":63,"date":"2016-04-05T17:00:26","date_gmt":"2016-04-05T17:00:26","guid":{"rendered":"https:\/\/pure-media.info\/?p=63"},"modified":"2017-04-06T03:52:51","modified_gmt":"2017-04-06T03:52:51","slug":"install-htpc-manager-on-ubuntu-14-04-trusty-tahr","status":"publish","type":"post","link":"https:\/\/pure-media.info\/index.php\/2016\/04\/05\/install-htpc-manager-on-ubuntu-14-04-trusty-tahr\/","title":{"rendered":"Install HTPC Manager on Ubuntu 14.04+ (Trusty Tahr)"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/687474703a2f2f692e696d6775722e636f6d2f365145575046662e706e67.png?ssl=1\" rel=\"attachment wp-att-64\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"64\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/04\/05\/install-htpc-manager-on-ubuntu-14-04-trusty-tahr\/687474703a2f2f692e696d6775722e636f6d2f365145575046662e706e67\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/687474703a2f2f692e696d6775722e636f6d2f365145575046662e706e67.png?fit=1366%2C728&amp;ssl=1\" data-orig-size=\"1366,728\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"htpc_manager\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/687474703a2f2f692e696d6775722e636f6d2f365145575046662e706e67.png?fit=300%2C160&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/687474703a2f2f692e696d6775722e636f6d2f365145575046662e706e67.png?fit=800%2C426&amp;ssl=1\" class=\"aligncenter wp-image-64\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/04\/687474703a2f2f692e696d6775722e636f6d2f365145575046662e706e67.png?resize=800%2C426&#038;ssl=1\" alt=\"htpc_manager\" width=\"800\" height=\"426\"><\/a><\/p>\n<h5>A python based web application to manage the software on your HTPC. HTPC Manager combines all your favorite software into one slick interface.<\/h5>\n<p>This guide Requires Python 2.6 or 2.7 and assumes you are the root user, if you are a user with Super user privileges then start the command with sudo to grant the required permissions.<\/p>\n<h3>Modules<\/h3>\n<ul>\n<li>Couchpotato<\/li>\n<li>Deluge<\/li>\n<li>kodi<\/li>\n<li>NZBGet<\/li>\n<li>Plex<\/li>\n<li>qBittorrent<\/li>\n<li>SABnzbd<\/li>\n<li>nzb search (newznab)<\/li>\n<li>Sickbeard<\/li>\n<li>squeezebox<\/li>\n<li>Stats<\/li>\n<li>Transmission<\/li>\n<li>uTorrent<\/li>\n<\/ul>\n<h4><a id=\"user-content-improvements\" class=\"anchor\" href=\"https:\/\/github.com\/Hellowlol\/HTPC-Manager#improvements\"><\/a>Improvements<\/h4>\n<ul>\n<li>Pretty much every module has been improved in some way or another<\/li>\n<li>NZBGet module (rewritten)<\/li>\n<li>qBittorrent module (rewritten)<\/li>\n<li>Transmission (add url, upload local torrent)<\/li>\n<li>Deluge (add url\/magnet, pause\/remove, set limit)<\/li>\n<li>SABnzbd (drag &amp; drop to edit queue, pause for x min, purge history)<\/li>\n<li>Stats module (Hardware info, S.M.A.R.T report, execute scripts)<\/li>\n<li>CouchPotato (Suggestions and moar..)<\/li>\n<li>Plex (Filter, search, fix duplicated, images, play to device and more)<\/li>\n<li>KODI\/XBMC addons tab, where you can search\/execute\/enable\/disable addons and a volume slider instead of a progress bar<\/li>\n<li>Send a nzb from NZB search to NZBGet in addition to SABnzbd.<\/li>\n<li>Usenet (Multi search indexers, support nzedb and spotweb in addition to newznab)<\/li>\n<\/ul>\n<h4><a id=\"user-content-misc\" class=\"anchor\" href=\"https:\/\/github.com\/Hellowlol\/HTPC-Manager#misc\"><\/a>Misc<\/h4>\n<ul>\n<li>Notification if a update is available and autoupdate<\/li>\n<li>Htpc manager is now fluid. (Looks much better on high res screens)<\/li>\n<li>Delete cache folder from the settings page<\/li>\n<li>The brave and bold can choose which branch they want to use.<\/li>\n<li>Added a option for robots.txt for bot crawlers<\/li>\n<li>Make ssl cert and key automatically if you don&#8217;t add a path for it<\/li>\n<li>Mask sensitive stuff from the log (username, api key, password etc)<\/li>\n<li>Reduced size on static files<\/li>\n<li>Docker support<\/li>\n<li>Various fixes<\/li>\n<li>Download log<\/li>\n<li>Added argsparse (to support python 2.6)<\/li>\n<li>And a shit load of other stuff i dont remember<\/li>\n<\/ul>\n<p>If you&#8217;re missing something don&#8217;t be afraid to make a request \ud83d\ude42<\/p>\n<p>See here for full list: <a href=\"https:\/\/github.com\/Hellowlol\/HTPC-Manager\/compare\/styxit:master...master2\">https:\/\/github.com\/Hellowlol\/HTPC-Manager\/compare\/styxit:master&#8230;master2<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>Install the HTPC Manager Ubuntu dependencies<\/h3>\n<h3><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">apt-get install build-essential git python-imaging python-dev python-setuptools python-pip python-cherrypy vnstat<\/code><\/h3>\n<pre>&nbsp;Install psutil so you can get computer stats as well<\/pre>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">pip install psutil<\/code><\/p>\n<pre>&nbsp;Git clone the latest HTPC Manager<\/pre>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">git clone https:\/\/github.com\/Hellowlol\/HTPC-Manager \/opt\/HTPCManager<\/code><\/p>\n<pre>&nbsp;Take ownership of the HTPCManager installation directory with your regular user<\/pre>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">chown -R user:user \/opt\/HTPCManager<\/code><\/p>\n<pre>&nbsp;Try and start HTPC Manager<\/pre>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">python \/opt\/HTPCManager\/Htpc.py --daemon<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>You may see a cherrpy error, everything still works though so don&rsquo;t worry.<\/p>\n<p>You can access HTPC Manager at <strong>http:\/\/localhost:8085<\/strong><\/p>\n<h3>Autostart HTPC Manager at Boot<\/h3>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">cp \/opt\/HTPCManager\/initscripts\/initd \/etc\/init.d\/htpcmanager<\/code><\/p>\n<p>Edit the htpc manager init.d script to match the path of HTPC Manager<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">nano \/etc\/init.d\/htpcmanager<\/code><\/p>\n<p>Change APP_PATH to match the path we installed HTPC Manager<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">############### EDIT ME ##################\r\n# path to app\r\nAPP_PATH=\/opt\/HTPCManager<\/pre>\n<p>Make the init.d script executable<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">chmod +x \/etc\/init.d\/htpcmanager<\/code><\/p>\n<p>Update the init.d script to start at boot<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">update-rc.d htpcmanager defaults<\/code><\/p>\n<p>Now your all set to begin using this great manager, setup guide coming soon!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A python based web application to manage the software on your HTPC. HTPC Manager combines all your favorite software into<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[85],"tags":[39,16,50,31,40,48,10,49,55,2,38,51,4,11,52,53,54,47,9,56,8,7],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-tech-tip","tag-analytics","tag-command","tag-couchpotato","tag-debian","tag-guide","tag-htpc","tag-install","tag-manager","tag-nzbdrone","tag-plex","tag-python","tag-sabnzbd","tag-server","tag-setup","tag-sickbeard","tag-sickrage","tag-sonarr","tag-system","tag-tahr","tag-tool","tag-trusty","tag-ubuntu"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/p7oBs4-11","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":0,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}