iCloud Tag Script Not Running Anymore!?

Discussion in 'Apple Music, Apple Pay, iCloud, Apple Services' started by streamer86, Jun 25, 2012.

  1. streamer86 macrumors newbie

    Joined:
    Jun 23, 2012
    #1
    Hi folks,

    This iTunes meta tag script (http://forums.macrumors.com/showthread.php?t=1275897) was running fine for me the last couple of months. I believe since I ran software updates on my mac, it is not running anymore...

    Can someone help me with this error, please?

    Code:
    xxxxxxx-xxxxxxx-MacBook-Pro:~ Ben$ ruby meta.rb 
    /Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1/lib/appscript.rb:676:in `method_missing': Unknown property, element or command: 'selection' (RuntimeError)
    	from meta.rb:54
    
    The lines of the script where the error occurs are the following:

    Code:
    52: app = Appscript.app.by_name("iTunes")
    53: 
    54: iTunes_tracks = app.selection.get
    
    Help is highly appreciated!

    Thx & regards,
    Ben
     
  2. streamer86 thread starter macrumors newbie

    Joined:
    Jun 23, 2012
    #3
    Thanks, that helped!

    I added this line to my meta.rb script: require("/Library/Ruby/Gems/1.8/tunes.rb")

    and replaced this command: app = Appscript.app.by_name("iTunes")
    with: app = Appscript.app.by_name("iTunes", Tunes)

    And it is working again! THX!
     
  3. CSanchez macrumors member

    Joined:
    Jan 16, 2013
    #4
    Has there been a update to this script for iTunes 11.1.3 and Maverick?
     

Share This Page