Importing jpeg cover art into itunes

does anybody know how to do this with a script?
(background: all my covers are in jpeg files that were automatically downloaded by windows media player when i ripped the cd's; now I would like to select one track after the other in itunes, get the correct jpg file and then add it as cover art to the track).
finding the file is not a problem but when I set the artwork data it doesn't show the picture stored in the jpg file but sets the cover to a seemingly blank image.
is jpg not supported by itunes or what is the problem?
thanks a lot for any ideas,
Chris

'solution 2 is much shorter, however it does not import the picture correctly ... maybe it is really a matter of versions of applescript and/or itunes, who knows?' - no; I simply lost focus of the subject 'importing JPEG's.
Below are revisions:
AppleScript script:
set temp_File to (((path to desktop folder from user domain) as string) & "_temp.pict")
tell application "iTunes" to set tSelection to selection
if (not (tSelection is {})) then
set tFile to choose file with prompt "Select a picture:"
try
tell application "Image Events"
launch
set fRef to open (tFile)
save fRef as PICT in temp_File
close fRef
end tell
tell application "iTunes" to set data of artwork 1 of (item 1 of tSelection) to (read file temp_File from 513)
tell application "Finder" to delete file temp_File
tell application "Finder" to empty trash
end try
end if
AppleScript applet (save code as an 'Application'):
property temp_File : (((path to desktop folder from user domain) as string) & "_temp.pict")
on open dragged_Items
if (not (dragged_Items is {})) then
tell application "iTunes" to set tSelection to selection
if (not (tSelection is {})) then
try
tell application "Image Events"
launch
set fRef to open (item 1 of dragged_Items)
save fRef as PICT in temp_File
close fRef
end tell
tell application "iTunes" to set data of artwork 1 of (item 1 of tSelection) to (read file temp_File from 513)
tell application "Finder" to delete file temp_File
tell application "Finder" to empty trash
end try
end if
end if
end open
01. Select a song, in 'iTunes'.
02. In 'Finder' drag a file (of the formats listed below) onto the applet (of the above code).
As per 'Framed and Exposed: Better Image Automation Through Scripting' ... 'Image Events can open and save JPEG, JPEG2, TIFF, GIF, Photoshop, PICT, BMP, and PNG files.'
  Mac OS X (10.4.4)  

Similar Messages

  • HT1473 How may one add cover art in iTunes 11, for a CD imported to the library? How may one add more than one images?

    How may one add cover art in iTunes 11, for a CD imported to the library?
    How may one add more than one images?

    I understand what you mean - I too, would like to see some variability in the 'default'. Besides having a single default, I would step that up to a default that changes with genre and media: ie. I could see using a sax for Jazz; a microphone for a Podcast, etc.
    I don't have the answer to your question yet, but I think I'm going to crack open the iTunes package to see what default images there are embedded in there.

  • Copying cover art from iTunes for use in iPhoto?

    I have a large music library with cover art for each album, I manually added the cover art to iTunes by saving it as a .jpeg under the name of the artist and album on the desktop and dragging and dropping it into the appropriate album in iTunes. I then apparently erred by deleting the .jpeg from the desktop rather than saving it in a separate folder. When I look in the Album Artwork folder, it just leads me down a road of more folders and ultimately to an ".itc" cover (which I assume to mean iTunes Cover). Now I want to somehow get a .jpeg copy of the cover art back out of iTunes and into a separate folder so I can view the cover art in iPhoto. Is this possible?   I really hope my error is reversible. All assistance will be appreciated.

    Hi,
    I'm pretty new to FCE, so this might be useless. But I've found a trick (obtained from "Final Cut Express 2 Editing Workshop" by Tom Wolsky) which is to render audio at Item Level. It allows you to render a piece of music to the same sampling level as another item.
    It seems to work fine, but some of these guys who've used this more might know of problems when using it.
    Import your song from the Music folder (or wherever you have them stored) and just go into the Sequence/Render All or Render Selection menus and check the "Item Level." The next time you render your audio, it should render to the same properties as existing items in your project.
    At least, that's how I gather it works. This won't help with copy protected songs as the guys mentioned, but the majority of my songs are not from the iTunes store, so it's useful to me. Hope that helps!
    Lawrence

  • Bridge for Mac without cover arts from iTunes

    Hello,
    I just upraded to Sony Bridge for Mac 3.9 (3903) and since then no cover art from iTunes albums is displayed any more.
    Previous Version of the Bridge had already some difficulties with Cover Art, mainly regarding TIFF-images. But now
    nothing at all is displayed.
    Of course I have restarted the application as well as the Mac itself - no change of the behaviour occured.
    Do I still have any options to try?
    with best regards
    Matthias
    Solved!
    Go to Solution.

    Hello,
    I have mostly MP3-Files in my iTunes library (90%). Even purchased songs are converted to MP3 because of the higher compression, even with 160 kbit/s and VBR. But I think regarding coverart the graphics format is more important. Here native Apple cover art seems to be generally TIFF, which sometimes makes problems with Bridge for Mac, esp. larger images. If I convert those large TIFF-images to JPEG, the problems disappear most of the times.
    And "Yes", I sent a bug report to SONY directly.
    Thank you very much - Matthias

  • How do i get cover art in Itunes 12.0.01?

    Okey.. so last week, I tried to import some cover art for my band's music and it worked just fine, but i had to delete the music, 'cause it wasn't the master version. So my problem is that when i imported the mastered tracks (Jan 4), they played just fine and everything, and i just wanted to get some updated cover art on the music, but when i drag the image the the mini picture and press "ok", nothing happens!! anybody experienced this yet?q
    Anyhow.. i use a 15" Macbook pro, from 2009. I upgraded to Yosemite, a month ago, and this is the first time I've experienced difficulties with it.

    The new iTunes 12 Get Info dialog lacks right-click context menus (at least for now) but it still accepts most standard keyboard shortcuts and drag & drop actions.
    Delete Artwork
    On the artwork tab of Get Into, tap the image in question, use Backspace or Ctrl+X. Delete doesn't work.
    Or, tap the image at the top left of Get Info, this time use Backspace or Delete, it is Ctrl+X that doesn't work.
    Add Artwork
    Select artwork, press Ctrl+C to copy, tap the centre of the Artwork tab, press Ctrl+V to paste.
    Or, select artwork, press Ctrl+C to copy, tap the small image area at the top left, press Ctrl+V to paste.
    Or, you can drag & drop to, or sometimes from, the same locations.
    You can also copy artwork from the Get Info dialog to Windows Explorer with the keyboard shortcuts.
    If the source image is on a web page right-click and use Copy Image rather than copy. (With Chrome I get a one pixel wraparound so tend to go for a temporary local copy anyway - not sure whose bug this is, but it isn't new.)
    If you have multiple images embedded drag the one you want to be the primary artwork to the leftmost position.
    Replace/Remove All Artwork
    The top left image box can be used to add or delete art from multiple tracks. In either case all existing artwork in all tracks is replaced/removed.
    Old Style Get Info Dialog
    Select some items, right-click, hold down shift, then click Get Info from the context menu. (Use alt/option on a Mac)
    tt2

  • CD cover art into Nano?

    How do I get the CD cover art into my iPod Nano or into iTunes? This used to happen automatically with my old MP3 player?

    http://docs.info.apple.com/article.html?path=iTunesWin/7.0/en/704win.html
    http://docs.info.apple.com/article.html?artnum=93354

  • I am a new itunes user.  I have exsisting songs on my computer prior to instaling itunes.  When i installed Itunes it asked if i wanted it to search fro media and i had it import all my songs into itunes.  These songs will no longer play in media player.

    I am a new itunes user.  I have exsisting songs on my computer prior to instaling itunes.  When i installed Itunes it asked if i wanted it to search fro media and i had it import all my songs into itunes.  These songs will not play in the itunes player but continue to play in the windows media player.  They do seem to play in Itunes but there is no sound.  Any ideas?

    I am a new itunes user.  I have exsisting songs on my computer prior to instaling itunes.  When i installed Itunes it asked if i wanted it to search fro media and i had it import all my songs into itunes.  These songs will not play in the itunes player but continue to play in the windows media player.  They do seem to play in Itunes but there is no sound.  Any ideas?

  • I used a usb turntable to import old vinyl records into iTunes. Then with the cloud and iTunes match I put them on another Mac.  The songs come up in the music list but they are greyed out.  How do I get them recognized.

    I used a usb turntable to import old vinyl records into iTunes. Then with the cloud and iTunes match I put them on another Mac.  The songs come up in the music list but they are greyed out.  How do I get them recognized.  The symbol states the songs were downloaded from iCloud.  I would like to get them to play so that I can make a playlist, and burn a CD.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • HT1844 Library Issue:  I just imported 2 CD's into ITunes.  They show up in "Recently Added" and on my other devices via ITunes Match, but NOT in the ITunes software on the computer where I added them.

    Library Issue:  I just imported 2 CD's into ITunes.  They show up in "Recently Added" and on my other devices via ITunes Match, but NOT in the ITunes software on the computer where I added them.  They show up in the search box, but when I click on the results it just kicks me to ALL my music.  I have imported thousands of songs/CD's before and this is a new one.

    Something may have gone wrong with the index of the Music playlist. Making another change to the library such as downloading the current iTunes Free Single of the Week, or deleting one track from your library and reimporting it, should fix the problem.
    If that doesn't work close iTunes and delete the hidden file sentinel from inside the main iTunes folder, then start iTunes again. It should run a consistency check when it starts up which ought to correct things.
    tt2

  • How do you import copyright controlled cds into Itunes?

    Hi
    how do you import copyright controlled cds into Itunes?
    When i put the cd into my computer, Itunes does not read it like a regular cd. It does not show up in my source list.
    I just want to put the songs on the cd onto my ipod.
    The cd will play in windows media player and i was able to save the cd as wma files onto my computer, and then i tried to import those files, but Itunes says the file is copyright controlled, and the only way for itunes to import it is with the orignal cd? The original cd was in my D drive the whole time, but it still will not let me import.
    I also tried physically looking into the CD for the music files, but those aren't there. The cd is like an enhanced cd where if you look into the drive for files there are no files except for 2 icons. The actual icon the open the player to play the cd and a uninstall icon.
    does anyone know how to do this? PLEASE HELP!

    I have downloaded the latest version of Itunes. I don't think that is the problem. Music companies have started issuing "copyright controlled" cds now especially on import versions of cds. I have the original cd, but Itunes cannot import it due to the copyright because it is protected. I read the "help" file on the cd, and what it does is you can play it as much as you like, you can make a copy of the cd only 3 times. The copy of the CD is also copyright protected. I have tried Itunes, WMA, Sonicstage, Sonic and etc programs, but nothing has worked.
    Hopefully, someone from APPLE will now what I mean about the copyright controlled CDs. I only want to be able to listen to the music on my IPOD. Nothing has worked

  • Many CD's will include a DVD disc as well containing music videos.  Is there a way to import these video files into iTunes as well as the music files?

    I have a number of music CD's that also include a DVD which has music videos or concert movies.  Is there a way to import these video files into iTunes as well?

    wjosten - thanks very much for the detailed instructions. I'll try this as soon as I get my replacement and it looks like you'll probably end up getting the green tick

  • Problems importing 4000 approx songs into itunes

    I have recently purchased a new Apple Macbook. I am however experieicing importing all my songs into itunes. Approx 1,500 get imported successfully and then it just finishes with no explanation as to why its stopped.
    I have also a Imac computer and this imported all 4000 approx songs successfully.
    I am trying to import wirelessley.
    My songs are on a Time Capsule (2008 model)

    Same problem here. iTunes just won't import some of my mp3s and I can't figure out why. Most of my mp3s work respectively iTunes adds them but some of them won't - just nothing happens either through adding via the menu or drag&drop them. They just don't appear. Oh yeah and the mentioned mp3s work perfectly in winamp...

  • Can't import some CD's into iTunes library

    I have the latest verson of iTunes on my MacBook. When I try to import some CD's into the iTunes library, it ejects the CD back out. It doesn't happen to every CD; just some. What is causing this, and how can I import these CD's into iTunes?

    Thanks for the suggestion. CD's are clean; no finger prints or dust. Still can't import into iTunes. A little background-- I had iTunes on a PC previously. When I transferred the library to my MacBook, I noticed some CD's were not transferred. This is one of the CD's I had in iTunes on my PC, but is now not in iTunes on my MacBook. Why can I not add this and some other CD's to iTunes on my MacBook?

  • How do i import a .avi file into itunes

    i am trying to import videos i've taken on my digital camera (canon powershot sd400) onto my ipod.
    problem i'm encountering is when i try and import the .avi file into itunes, it says that "the file cannot be imported because it does not appear to be a valid exported file."
    any thoughts / suggestions?
    thanks

    GUIDES TO: Converting Video for iPod - Mac & Window
    http://forums.ilounge.com/showthread.php?s=&threadid=123067
    Patrick

  • Importing album cover art

    Hello
    It is a mystery to me why iTunes cannot import some album art and can others, where album covers for items as common as Abbey Road or something by Radiohead, aren't found. How do I import cover art from, say, Amazon? I see one can "copy image" from Amazon but I'm totally unclear as to how to load into iTunes. Any advice or direction would be greatly appreciated.
    Cheers

    If iTunes doesn't find album art automatically, it either means that your tags don't match theirs exactly, or there's an error in their database. When that happens, just Get Info on the songs you want to add album art to, and drag any JPEG (some other formats work as well) to the blank Album Art panel. You can find album art online at Amazon, Wikipedia, or just via a Google Images search.

Maybe you are looking for