Skip to content

Play whatever's going on in iTunes in a Chrome tab for casting.

Notifications You must be signed in to change notification settings

xia0/itunes-in-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

#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.

About

Play whatever's going on in iTunes in a Chrome tab for casting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages