Skip to content
r0gger edited this page Nov 10, 2012 · 43 revisions

These guides assume you have python installed already.

Windows

  1. Download Headphones from github: https://github.com/rembo10/headphones/zipball/master
  2. Extract the zipfile.
  3. Double click Headphones.py.
  4. Headphones will be loaded in your browser or listening @ http://localhost:8181.
  5. Create a shortcut to headphones.py and copy that to your startup folder (C:\Documents and Settings\Username\Start Menu\Programs\Startup) to startup Headphones when Windows starts.

Windows (Easy)

Note: You do not need Python!

  1. Download Headphones for Windows.
  2. Install Headphones_setup.exe
  3. Done!

Video: Install demo

Mac OSX

  1. Download Headphones from github: https://github.com/rembo10/headphones/zipball/master

  2. Extract the zip.

  3. Open a terminal (in /Applications/Utilities)

  4. Type: cd and drag the extracted Headphones-folder into the terminal.

  5. Type: python Headphones.py

  6. Headphones will be loaded in your browser or listening @ http://localhost:8181.

  7. To force Heaphones to launch at startup create a text file named com.headphones.headphones.plist

  8. Paste the code below into it. NOTE: you will have to adjust the path /Applications/Headphones/headphones.py to reflect your installation.

  9. Save file in ~/Library/LaunchAgents/com.headphones.headphones.plist where ~ is your home directory. Do NOT save it in /System/Library or /Library as Headphones will launch as root.

     <?xml version="1.0" encoding="UTF-8"?>  
     <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
     <plist version="1.0">  
     <dict>  
       <key>Label</key>  
       <string>com.headphones.headphones</string>  
       <key>ProgramArguments</key>  
       <array>  
           <string>/usr/bin/python</string>  
            <string>/Applications/Headphones/Headphones.py</string>  
            <string>-q</string>  
            <string>-d</string>  
       </array>  
       <key>RunAtLoad</key>  
       <true/>  
     </dict>  
     </plist>     
    

Linux (terminal-install)

  1. Install git (e.g. apt-get install git-core)
  2. Type: git clone https://github.com/rembo10/headphones.git
  3. Type: cd headphones
  4. Type: python Headphones.py
  5. Headphones will be loaded in your browser or listening @ http://localhost:8181
  6. For autostartup (ubuntu): Install as a daemon

Ubuntu installscript

  1. copy code below, paste in terminal, press enter and follow onscreen instructions.
    wget http://dl.dropbox.com/u/18712538/Headphones/headphonesinstall.sh && sudo chmod +x headphonesinstall.sh && ./headphonesinstall.sh

Synology NAS

Terminal install, you need Bootstrap for this!

  1. Type: ipkg install git
  2. Type: cd /volume1/@appstore
  3. Type: git clone https://github.com/rembo10/headphones.git
  4. Type: cd headphones
  5. Type: /usr/bin/python Headphones.py
  6. Headphones will be listening @ http://ipadress_synology:8181
  7. Autostart Install as a daemon.

Complete HowTo

Synology installscript

  1. copy code below, paste in terminal, press enter and follow onscreen instructions. wget http://dl.dropbox.com/u/18712538/Synology/headphonesinstall_syn.sh && chmod +x headphonesinstall_syn.sh && ./headphonesinstall_syn.sh
Clone this wiki locally