{"id":7083,"date":"2017-12-03T15:31:16","date_gmt":"2017-12-03T14:31:16","guid":{"rendered":"https:\/\/nzbusenet.com\/?p=7083"},"modified":"2023-07-22T14:15:12","modified_gmt":"2023-07-22T12:15:12","slug":"headphones-install-command-line-ubuntu","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/headphones-install-command-line-ubuntu\/","title":{"rendered":"install HeadPhones via command line Ubuntu"},"content":{"rendered":"\n<figure class=\"wp-block-image is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"64\" height=\"64\" src=\"https:\/\/nzbusenet.com\/wp-content\/uploads\/2013\/02\/headphones-logo.png\" alt=\"headphones logo\" class=\"wp-image-1336\" title=\"\"><\/figure>\n\n<p>In this tutorial install HeadPhones command line Ubuntu We are going to install HeadPhones. We will then configure HeadPhones with NZBGet. So that your desired music albums are downloaded. From the newsgroups. If you have not yet installed NZBget. See first. Install the <a href=\"https:\/\/nzbusenet.com\/en\/install-nzbget-ubuntu-via-the-command-line\/\" target=\"_blank\" rel=\"noopener noreferrer\">NZBGet Ubuntu tutorial<\/a>.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"headphones-installeren-command-line-ubuntu\">install HeadPhones via command line Ubuntu<\/h2>\n<div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n\n\n<p>If you have not yet installed Python. Then first execute the command below. To install Python.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install git-core python<\/p>\n<\/blockquote>\n\n<p>We must install <strong>git<\/strong>first. If that hasn&#8217;t been done yet. We do this by executing the following command.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt-get install git-core<\/p>\n<\/blockquote>\n\n<p>We must know for sure that we are in the home directory. So execute the following command.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd ~<\/p>\n<\/blockquote>\n\n<p>Then type below to download HeadPhones. It will place Headphones in a hidden folder &#8220;.headphones&#8221;. Pay attention to the dot!<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>git clone https:\/\/github.com\/rembo10\/headphones.git .headphones<\/p>\n<\/blockquote>\n\n<p>Now go to the folder HeadPhones.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd .headphones<\/p>\n<\/blockquote>\n\n<p>To start HeadPhones, type the command below.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>python Headphones.py<\/p>\n<\/blockquote>\n\n<p>To open HeadPhones. In your browser go to http:\/\/localhost:8181 or the ip address of your other computer http:\/\/192.168.1.65:8181 to configure your settings in HeadPhones.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"automatisch-headphones-starten-als-ubuntu-start\"> Automatically start HeadPhones when Ubuntu starts<\/h2>\n<div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n\n\n<p>We must be sure that we are in the HeadPhones folder.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p> cd ~\/.headphones<\/p>\n<\/blockquote>\n\n<p>Now we are going to create a deamon for HeadPhones. So that it starts automatically when Ubuntu is started.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo cp init.ubuntu \/etc\/init.d\/headphones<\/p>\n<\/blockquote>\n\n<p>Now the file rights<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chmod +x \/etc\/init.d\/headphones<\/p>\n<\/blockquote>\n\n<p>And now apply the settings.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo update-rc.d headphones defaults<\/p>\n<\/blockquote>\n\n<p>Now, we need to adjust the daemon&#8217;s settings.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/default\/headphones<\/p>\n<\/blockquote>\n\n<p>Remove the ## from the following options. And indicate the correct location where HeadPhones is installed. Don&#8217;t forget the dot!<\/p>\n\n<p>HP_USER= username Ubuntu<br \/>HP_HOME=home\/your_username\/.headphones<br \/>HP_DATA=home\/your username\/.headphones<\/p>\n\n<p>Personally, I find it clear if HeadPhones. Running in the same port range. Just like SickRage and NZBGet. So, I adjust the port right here.<br \/>HP_PORT=8088<\/p>\n\n<p>And now check if it works.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo \/etc\/init.d\/headphones start<\/p>\n<\/blockquote>\n\n<p>You are now done with the installation of HeadPhones on Ubuntu.<\/p>\n\n<p><strong>Headphones Ubuntu install tutorial<\/strong><\/p>\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/nzbusenet.com\/en\/headphones-tutorial\/\">Headphones tutorials<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/nzbusenet.com\/en\/headphones-install-command-line-ubuntu\/\">install HeadPhones command line Ubuntu<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In this tutorial install HeadPhones command line Ubuntu We are going to install HeadPhones. We will then configure HeadPhones with NZBGet. So that your desired music albums are downloaded. From the newsgroups. If you have <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/headphones-install-command-line-ubuntu\/\" title=\"install HeadPhones via command line Ubuntu\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":49656,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[708],"tags":[],"class_list":{"0":"post-7083","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-headphones-tutorial"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/04\/HeadPhones-installeren-command-line.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/7083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/users\/12223"}],"replies":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/comments?post=7083"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/7083\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/49656"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=7083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=7083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=7083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}