Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.01 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.01 KB

#iTunes in Chrome

##Usage

  1. Open iTunes
  2. Start the applet
  3. The applet will turn iTunes volume to 0 (it will go back to original value when applet closes)
  4. A new window will open in Chrome mirroring whatever iTunes is doing
  5. Send the tab to Chromecast
  6. Setting the volume in iTunes will change the volume in Chrome (iTunes volume will reset to 0 again immediately)

##Briefly on how it works The applescript monitors iTunes and generates a static HTML file every second which is opened usin the file:// protocol (no webserver or whatever required). Any change in song, volume or position of the track causes the applescript to refresh the Chrome tab. The HTML page uses Buzz JS audio library and jQuery.

##Customising interface Not much to it. In Concents/Resources there's footer.html and header.html which can be modified however you want. The footer.html file contains variables available for use. Edits to index.html will be overwritten by the script, so copy that file to another location if you work with it.