0

I am looking to see if it's, first, possible to even use javascript to get the currently playing Itunes song, and if so, how?

A use case along the lines of:

  1. User clicks a link
  2. An alert pops up displaying song name, artist and album.

Thanks

2
  • 4
    Do you mean JS running in a browser? There'd be a fundamental security problem if a browser could get any information from a desktop application without first asking your permission, don't you think? Commented Jun 2, 2011 at 18:32
  • Yes. Running in a browser. I don't want it t get any information, I am asking about a specific piece of information only. Commented Jun 2, 2011 at 18:47

1 Answer 1

1

Directly, no. If the data from iTunes is sent to a service like last.fm, it can be fetched there on a regular interval to see what they are listening to. Something similar to https://github.com/niklasvh/jquery.plugin.listening

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.