Biff
Biff

Reputation: 43

Is it possible to use javascript to get the currently playing Itunes track

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

Upvotes: 0

Views: 290

Answers (1)

Niklas
Niklas

Reputation: 29992

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

Upvotes: 1

Related Questions