Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use a remote computer's iTunes info in Linkinus Apps
In Linkinus, you can get the currently playing iTunes track info by typing /itunes, which is all well and good...but what if you have a beautiful G4 iMac dedicated to IRC, but you play your music on another computer?

Alas, all is lost...oh wait, no it isnít, all you have to do is enable 'Remote Apple Events' on the computer with iTunes (in System Preferences » Sharing), and then open up ~/Library » Application Support » Linkinus 2 » Scripts » itunes.scpt, and make the following changes...

Existing code:
tell application "Finder"
  if (get name of every process) contains "iTunes" then set itunes_active to true
end tell
New code:
set itunes_active to true
This will stop Linkinus from checking on the local computer for iTunes. Next change; existing code:
tell application "iTunes"
    if player state is playing then
      set theTrack to name of the current track
      set theArtist to artist of the current track
      set theAlbum to album of the current track
      set theBitrate to bit rate of the current track
      set theKind to kind of the current track
      set theRating to rating of the current track
      set theStream to current stream title
      set got_track to true
    end if
  end tell
New code:
set dest to "eppc://username:password@hostname"
  using terms from application "iTunes"
    tell application "iTunes" of machine dest
      set theTrack to name of the current track
      set theArtist to artist of the current track
      set theAlbum to album of the current track
      set theBitrate to bit rate of the current track
      set theKind to kind of the current track
      set theRating to rating of the current track
      set theStream to current stream title
      set got_track to true
    end tell
  end using terms from
Save your changes, and that's it. You'll now be getting your iTunes track info from the remote computer instead of the local computer. Geek points +1 for today.

[robg adds: I haven't tested this one.]
    •    
  • Currently 1.92 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (13 votes cast)
 
[5,192 views]  

Use a remote computer's iTunes info in Linkinus | 0 comments | Create New Account
Click here to return to the 'Use a remote computer's iTunes info in Linkinus' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.