hi everyone!
I've downloaded the script and Xcode. But when i try to run it in terminal I got the followings errors:
sudo gem install json
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.7.3 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/json-1.7.3/ext/json/ext/parser/gem_make.out
sudo gem install rb-appscript
Building native extensions. This could take a while...
ERROR: Error installing rb-appscript:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1/gem_make.out
I'm not really into terminal, could you please help me?
what is the problem here?
thanks!!
hi everyone!
I've downloaded the script and Xcode. But when i try to run it in terminal I got the followings errors:
sudo gem install json
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.7.3 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/json-1.7.3/ext/json/ext/parser/gem_make.out
sudo gem install rb-appscript
Building native extensions. This could take a while...
ERROR: Error installing rb-appscript:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1/gem_make.out
I'm not really into terminal, could you please help me?
what is the problem here?
thanks!!
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
52: app = Appscript.app.by_name("iTunes")
53:
54: iTunes_tracks = app.selection.get
Hey,
I found a nice little workaround.
1. Download the zip file (attached)
2. Copy the "tunes.rb" into your Ruby Folder, which is (in my case): "/Library/Ruby/Site/1.8/"
3. use my meta2.rb script the same way you used the other one.
Have fun!
I converted his script to Python with no dependencies so you don't need to install anything else. If anyone wants a copy let me know.
It only does English though as I do not have a computer anymore and can't add functionality for other languages. It also updates as much tag information as provided by Apple (not just artist, album, track, etc...).
It also creates playlists of tracks that were matched and were not matched...
I converted his script to Python with no dependencies so you don't need to install anything else. If anyone wants a copy let me know.
It only does English though as I do not have a computer anymore and can't add functionality for other languages. It also updates as much tag information as provided by Apple (not just artist, album, track, etc...).
It also creates playlists of tracks that were matched and were not matched...
I will do it next weekend. Mac is DOA and need to wait till I can get it fixed.
Hello !
Do you have some updates about this script ?
Thanks !
Attached is the Python version I wrote. Hopefully someone finds it useful. Any issues let me know.
Thank you for the script.
Since I use iTunes in French, to make it work I had to change the string used to identify the files to update:
if kind of t is "Fichier Audio AAC mis en correspondance" then ...
Thx
[ 2012-08-26 @ 13:46:46 CEST ] getting a list of selected iTunes matched tracks
[ 2012-08-26 @ 13:46:46 CEST ] no tracks selected : exiting
Thanks for the script !
However, I have an issue. The script doesn't find any tracks. I changed the string to match french iTunes' songs.
Code:[ 2012-08-26 @ 13:46:46 CEST ] getting a list of selected iTunes matched tracks [ 2012-08-26 @ 13:46:46 CEST ] no tracks selected : exiting
I'm using Mac OS X 10.8.1 with iTunes 10.6.3, is it a problem ?
Regards,
redvivi
You still have to select what tracks you want to update in iTunes.
python update_tags.py
[ 2012-08-28 @ 19:05:58 CEST ] list of selected iTunes matched tracks
[ 2012-08-28 @ 19:05:58 CEST ] no tracks selected : exiting
Sorry I made a mistake, works like a charm
Just a question: What do you mean by "No iTunes Information Found" ?
If we matched a song with iTunes Match, we are able to get the track/artist name and so on, are we ?
any free mac version?