iTunes metadata and artwork

I had archived a number of things you helped me out with. (turingtest2). One was "exportimport" script. I tried clicking the link in an old posting and it comes up with a 404 error. Is there a way that could be reposted here?


Also had help in trying to maintain the metadata and album art when replacing files in itunes. I got a few different scripts ( Create Folder Art, Update Tag Info, Sort Date Added and then a few different Date Arranger scripts). I had instructions on the order of how to make sure the album art stays on the file but my notes appear to be incomplete as I don't recall the order/steps necessary for that. I believe it was the create folder art script but the sequence of that is what I've forgotten.


I know itunes is not viable much these days but what I am trying to do is replace all the existing titles in my library that are mp3 160 baud with either 320, or even wav, AIFF or FLAC (perhaps AAC).


It seems no matter what I do, I cannot get it to work properly despite all the wonderful guidance you provided. So here's the gist of what I'm attempting.


  1. Use the newer, high quality versions of the same song for all the songs in the library.
  2. Keep all the same information already on the file. This includes the rating, genre, album art, comments, composer, etc. All the metadata that's on the original file.


So each song will just be the newer, better quality version. My plan is to use AIFF or FLAC files as technology seems to be improved to handle these. But if AAC Apple Lossless is the better option, I can do that. But I do want the best possible quality as space is no issue these days (hard-drives).


Any help would be greatly appreciated.

Posted on Aug 27, 2020 1:15 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 1, 2020 3:49 PM

Hi,


I've updated ExportImport to capture artwork. This is the easier tweak. When running in export mode an image is created for each unique album and saved in same folder as the script in the form <Artist> - <Album>.jpg and another line is added to the exported information for that track. In the import phase the current file is checked to see it it has art, and if not, and if there is an image at the saved path, then it is inserted. As a test I used the script to export data for 27 tracks from three albums. I then removed the artwork and used the import mode to restore the artwork.


So step by step:


  1. Select some tracks that you want to upgrade in iTunes.
  2. Run the ExportImport script.
  3. Replace the low resolution files with your higher rate conversions, in the same file format, and at the same paths.
  4. Drag and drop the Export Import [<Date> <Time>].txt file that was created onto the ExportImport script.
  5. Review the updated files in the library and Explorer to check that all the properties have been restored, artwork embedded, etc.


After reviewing the code for the script I've seen how you can use it to upgrade, for example, mp3 to Apple Lossless. Step 3.1 would be to edit the exported data file in a text editor and perform a search and replace operation to change .mp3 to .m4a before saving the file. As long as you've removed the .mp3 files the script will attempt to relink iTunes to the path specified in the text file.


I should be able to add in something more elegant during the import phase that checks for the existence of a file at the location noted during export of <path>.ext and, if it isn't there, looks to see if there is a file with another valid extension from the list <path>.aif, <path>.mp3, <path>.m4a, <path>.wav, etc. If a potential match is found the script can then relink iTunes to that file before restoring the other properties.


tt2

Similar questions

352 replies

Sep 4, 2020 3:11 PM in response to William Richards3

Artwork files - 2 of 2


Another of my scripts CleanDeadArt is available to clean up old artwork in the media folder. iTunes has a feature, which you won't necessarily have used, to keep the iTunes Media folder organized, moving and renaming tracks in response to metadata changes. When it does so it doesn't relocate any images that are in the original folder, so you can end up with orphaned folders that contain nothing but hidden artwork. Originally the script just looked for folders than contained only artwork, Desktop.ini or Thumbs.db files, and removed them, recursively removing any parent folder that became empty in the process. It also corrects the hidden status of files in the media so that the right things are hidden. It has since gained an archive feature so that redundant artwork images can be moved to a new folder and unhidden for review before they are finally deleted. At some point I added a feature to remove ._ and .DS_Store files that can arrive if you copy content from a Mac, and today I've expanded it so that Desktop.ini and Thumbs.db files can also be removed. WMP related artwork which was previously left in place if there were music files is now archived leaving just the Folder.jpg images or other custom image files in the folder. Here is the result of running it against a small test library:




Given the inability of iTunes to move artwork around when relocating files, the fact that it uses a maximum of 40 characters for file and folder names, and it uses underscores for all characters that cannot be used in a folder path, I choose long ago not to rely on iTunes to organize my media folder. At first I moved files by hand or used MediaMonkey's FilenameFromTag tool, either fixing broken links or removing and then reimporting the broken items, but that loses all sorts of useful metadata such as rating, play count, and playlist membership as I am sure you are aware. Again to make things easier, consistent, and reliable, I developed another script, a slightly personalized version of CustomRenamer, which I think has better rules, and also manages any folder artwork, so using this to update my files after making changes means I don't have to rely on CleanDeadArt for housekeeping duties. I don't generally recommend this approach to others, but if you're coming from a place where you've certain ideas about the way that you've set out your media then it is worth mentioning. If you're going to use your own layout then I recommend that you at least follow the general structure of one folder per artist, containing one folder per album. Alternatively you can, once your upgrade is complete, make sure that the iTunes Media folder is set to the folder that contains all of your content, turn on Keep iTunes Media folder organized, let iTunes do its thing, and then use CleanDeadArt to clean up.


tt2

Sep 5, 2020 10:38 AM in response to turingtest2

I got it!  Intuitively, it didn't make sense to drop a file onto a .vbs file that I had just run previously for the song - but that's how it works.  And it did work.  I even tried a track with lyrics and those came in too - as well as the artwork.  BRAVO!


You said I can just remove the artwork from the folder where the script is in.  My question next is, if I do this replacement of the 160's, and get all the new higher quality tracks into  iTunes, my next steps are going to be rebuilding the structure so that they're all Album/Artist instead of being scattered all over. 


So imagine in iTunes that all my music folders are on the "F" drive.  I'll use another drive, call it "H" and will build this proper artist/album structure.  So what I would do is first copy from F to the proper structure in H. 


I hope you can follow along what my next question is.  Once I copy them over to H, I'll delete the files from the "F" drive (where iTunes sees them).  Once I do that, then iTunes won't know where to find them so I'll try to play a song inside iTunes and it will ask if I want to locate it.  I'll say yes and point it to the new file, and it should ask if I want to also locate other missing files.


Will this lose any of the information I've just successfully done (or will have done)?   I can't think of a way to do it into a

Artist/Album structure where I won't have to move the newly minted and EI executed files out of the folder(s) they're in now.


Once I move them iTunes will not see them until I say to point to this new folder location. At that time, should I run the script again when they are in this new location? Or won't that matter? 


Okay, here's the flow I did;


1.     Had my newly converted ALAC conversion done and was located in a different folder.

2.     I ran your EI script while the 160 file was in the itunes library.

3.     I then moved it out.

4.     I then copied the ALAC version into the file the 160 had been located in.

5.     I then dragged and dropped the .txt file that was created and dropped it onto the EI.vbs script. 

6.     It opened up the script (different view that what you showed)


First popup:


Second popup after I clicked Open:


Finally, after l click OK, this popup comes up:



Terrific job.  All the metadata was there in iTunes. Lyrics. Artwork. New higher quality. I checked using different file types as well.


Now I'm doing an album of songs where they're located in different folders.  It was tedious and is going to take me forever, but I moved four songs from an album:  two were in one folder, and the last two were in separate ones, or three total folders. 

Everything worked great as you said.


Confirming that you said I could remove the artwork from the folder where the script is as that was just a placeholder for this process, right?  And I can remove the .txt files as well once it's all done correctly?


Now here's a quandary where I believe you had said earlier something about windows (iTunes? - other programs?) not seeing the metadata if the folder structure or maybe something else isn't right?  I am seeing all the information within iTunes

correctly after doing the steps above. All the data is there.  However, I'm noticing that within Windows, the metadata appears to be missing. I refreshed the folder as well just to make sure.  So is the metadata not there properly?




Sep 5, 2020 12:50 PM in response to turingtest2

I highlighted the Ace of Base song. I ran updateTagInfo script. It did nothing in Windows Explorer and it didn't remove anything from iTunes metadata for the song.



I then took the .txt for that Ace of Base song and dragged it on top of the EI script and it ran again. Still no changes in iTunes or in Windows.


So I am still on iTunes 10.7.0.21. I absolutely abhor any version past that. I do have 12.3.2.35 on another computer. I can try these same steps there and see how that works. I have my computers networked together so I can just bring in files but all testing will be done on the different computer that has 12.3 on it - and iTunes music folders. Nothing will be the same. Two totally different computers.


On the computer with 10.7 on it, I have Windows Professional 64bit with an SSD 250 HD. The iTunes music is all on an internal 4 TB hard-drive with about 700 GB left. The files for your scripts and other computer related things resides on another internal 1 TB hard-drive with about 350 GB left.


For conversion, I've used a variety of converters, but the last couple of days I used a new one recommended to me by HD Tracks (hi-resolution site I buy albums from from time-to-time) called dBpower amp. I also have used Media Monkey as well as another tool I have called Creative Audio Converter but that only works for MP3 (and doesn't have any other choices except some WMA codecs).


Here are file choices within the dBpower amp:



And if I choose AIFF I have choices to change parameters but just use the default "sources":



Please let me know your thoughts. We're getting close! You ROCK!

Sep 5, 2020 1:32 PM in response to William Richards3

I tried it on the other machine with V12.3.2.35 of iTunes. It didn't make any difference. I then ran the UpdateTagInfo and it didn't matter. I even dragged the .txt of the Ace of Base song in question on top of the TagInfo script (wasn't sure I was supposed to do that in the same way I did the ExportImport worked.


So anyway, at least as far as things working in iTunes - all the artwork and lyrics and chart data and ratings were all there. But, as I reported, that was also the case with your last CFA script version. So if you're right and we need to make sure the data shows up in Windows (which makes total sense so that it gets read properly), then that remains to be solved I guess.


Basically in most people's hard-drive setup and system, they probably house the music and all these files on the C: drive. I don't do that for a variety of reasons. Perhaps there's something where the XML and/or ITL files on my native C MyMusic/iTunes folder is located is making it not match up? I told you I had read that somewhere as it relates to Plex at least, where they suggested putting the .xml file on the same drive the music is (though I do have some store purchased music under MyMusic on C: drive). Or perhaps it's this setup location in iTunes (but I think you said that didn't matter, but I'm just throwing out possible options).



That's all I can do at the moment until I hear back from you. As always, thanks so much.

Sep 6, 2020 1:47 PM in response to William Richards3

Hi,


Well that was enlightening. I downloaded dBpoweramp and used it to rip a CD to .wav format. Interestingly it can attach tags to .wav files. I knew it was possible, but I've never run into software that can do it. I then used iTunes to rip the same album as .wav to get a more representative set of files. And I ripped the same album at 160k mp3. I put each collection of files in a separate folder, leaving only the 160k mp3 files connected to iTunes.


I then ran ExportImport in export mode, moved the .mp3 files out of the way, used dbPoweramp to convert the iTunes created .wavs into AppleLossless files. and moved these into the folder that the mp3s had been in. I then ran ExportImport in import mode. In my case virtually no properties were updated, and all of the properties were missing in Windows Explorer. My script was reading the properties from iTunes as unchanged, even though they were clearly blank when viewed in Explorer. I added some code to force the script to update the values when the file has been relinked in the way that converting to a new format will do. But again no joy. Now iTunes was detecting that both the new value I was giving it and the old value it knew about were the same, and so was not writing out an update to the tag. I added some more code that adds a trailing * to each text property that I want to set, commits that, and then commits the intended value. For numeric values it first writes out value+1 before writing out value, and there is similar logic for logical values.


With the new updated version of the script I was able to export 333 properties from a set of 9 tracks in 160k mp3 format, replace those tracks with untagged Apple Lossless versions, and use the script to restore 216 properties, the rest being things that were exported, but can't or don't need to be written out to the tag. Looking in Windows Explorer the Apple Lossless tracks now show the properties such as artist, album, track title, etc. that were previously missing.


Try the new version of ExportImport, version 1.0.0.18 dated September 6th, and see how you get on.


tt2

Sep 7, 2020 10:41 AM in response to turingtest2

Okay, I've been doing several things this morning. I noticed a few things:

  1. When I ran the script as before, it copied the .txt into the folder where I had the converted song stored temporarily. It also added the script to that same folder.
  2. Whereas before I would drag & drop onto the script, that is not working. I must have missed some instruction here.


What steps I took:

  1. Highlighted the song in iTunes
  2. Ran the script and it created the usual .txt file.
  3. I then moved the song out of the folder it was originally in
  4. I copied (not moved) the song stored in the converted folder it resided in - and where the script and .txt now reside
  5. I tried dragging the .txt onto the script in the folder where your script put these two elements into but nothing happened. I tried running the script again but all it did was create the same .txt file. I then copied the .txt into the folder where I store all your scripts and tried dragging it onto the script there as well. Nothing happened. Before it automatically opened the script as I recall.
  6. I did look in Windows but the metadata was not all there as before.
  7. I moved the original back in the folder, taking the updated lossless file back out. Then linked it back to iTunes for testing once I get more feedback from you.


So I guess I'm going to have to hold off further testing.


I did have a couple of other thoughts which relate back to cleaning up the artwork.


YOU SAID: Given the inability of iTunes to move artwork around when relocating files, the fact that it uses a maximum of 40 characters for file and folder names, and it uses underscores for all characters that cannot be used in a folder path, I choose long ago not to rely on iTunes to organize my media folder. At first I moved files by hand or used MediaMonkey's FilenameFromTag tool, either fixing broken links or removing and then reimporting the broken items, but that loses all sorts of useful metadata such as rating, play count, and playlist membership as I am sure you are aware. Again to make things easier, consistent, and reliable, I developed another script, a slightly personalized version of CustomRenamer, which I think has better rules, and also manages any folder artwork, so using this to update my files after making changes means I don't have to rely on CleanDeadArt for housekeeping duties. I don't generally recommend this approach to others, but if you're coming from a place where you've certain ideas about the way that you've set out your media then it is worth mentioning. If you're going to use your own layout then I recommend that you at least follow the general structure of one folder per artist, containing one folder per album. Alternatively you can, once your upgrade is complete, make sure that the iTunes Media folder is set to the folder that contains all of your content, turn on Keep iTunes Media folder organized, let iTunes do its thing, and then use CleanDeadArt to clean up.


ME: :  I have a pretty good understanding of what you mean here but am not sure exactly which script to use.  And a question:  My iTunes library has songs purchased from Apple store on my C: drive where iTunes My Music is located.  I also have files on an "I:" drive (eye) that contains all the other music.  So when you say to set iTunes media folder that contains all your content - are you suggesting I move any purchased content to this drive (I:) so it's all on one drive?  So every time I

purchases anything from Apple, I have to then move it as it defaults to the C: My Music folder. 


YOU SAID:  In an earlier post; "I didn't. The script started importing metadata for the original entry in the library, discovered that the 01 Take On Me.mp3 file was no longer in the folder, then looked for other files in the folder of the form 01 Take On Me.<ext> with the options of .m4a, .mp3, .aif, .aiff, and .wav. Once it found a file called 01 Take On Me.m4a it connected iTunes to that, then proceeded to restore the original archived metadata, including lyrics and artwork. This is what you've asked for."

ME: This goes against what I thought I was to do.  What I've been doing is highlighting the 160 track, then moving it out and moving the new track into the folder the 160 was in. Then I run the EI script again by dragging the .txt file onto it.  Are you saying I should add the file(s) to the library so that there would still be two versions in essence: The original 160 will still show (but iTunes won't know where to find it) but when I point to the new version, I then delete the 160 version?


BTW, I did find the script version by opening in Notepad. Thanks.

Sep 7, 2020 3:56 PM in response to turingtest2

Weird. I did it again and all worked! The ID3 tag info is all there in both iTunes and Windows. What I did discover - which may have mucked this up earlier today - was that I had left the "same artist/title" Lossless version inside the same folder as

the 160 was (even though I moved the 160 out). But I am 100% certain that I could not drag & drop the .txt file on the script. It did work this time. It took longer to run, which is fine, and more data output was showing afterwards.


The one thing that I did - which may have made a difference - is that I created a new folder and put your updated EI script in in. It was the only item in that folder. When I ran the script, the .txt and jpg were put in there so now there are three items.


Here is the successful outcome in Windows. (no BB in comments simply means there was no "chart data"

for this song, which is what is says in iTunes under the Get Info tab).



And all the proper info remains in iTunes with the new version as well.


So yay! I think you've solved this. CONGRATS!


Okay, so now do I remove the .txt and jpg from that folder (it should be okay, right? I can always replicate if I need to).

The updated, improved version plays fine and everything is there. I have no idea why this wouldn't work earlier today.


And you're right to keep things focused. So we've crossed a MAJOR milestone here. Anxious to get moving.

Sep 15, 2020 9:58 AM in response to turingtest2

Hi. I'm following up from last week. I am ready to address all these album artwork/folder issues scattered through all these folders tied to itunes. Here's a reminder of what many of these folders look like:


And many instances where I can see the wrong art inside the folder on a song, even though it's correct in iTunes. So I want to clean out or fix this before I do all the conversions and run your script. I've spent the past week doing all the pruning of my library.


Here's something interesting as well; I had created a wav file on a song I added to the library and then converted it using my ID3 tagging software (perhaps that's been the issue all along?). So here's two instances of that song. Notice how it put a Tom Petty album cover on it, even though - at the time I did the tagging - it didn't have artwork on it yet.



(The reason there's two instances of this is that I had mistakenly put the song title first, followed by the artist. So I redid that is all. Anyway, it doesn't really matter except to say that this happens on several titles - though many have the right ones.


I was hoping you had some time to help me out with that. I deeply appreciate your major awesome help to this point.

Oh, and I did also want to ask you about your playlist script. I believe that likely exports all the playlists at once so you don't have to do them one-at-a-time? I have literally nearly a thousand playlists.


Thanks as always!

Sep 16, 2020 3:03 AM in response to William Richards3

As for dialog box you get when deleting a file note that it is not the standard file delete box, but a system extension provided by dBpoweramp. It is likely picking up on the Folder.jpg image in the folder where the selected file is stored when there isn't an embedded image to display. Deleting all of the artwork in your media folder, including the Folder.jpg images, should alleviate this confusing behaviour.


tt2

Sep 16, 2020 7:10 AM in response to turingtest2

Good to hear back from you. I hope all is well.

Thank you for your reply.


Sure, if you could add removing the folder.jpg to your script, that would be good. Let me know when you might have that (as I'll likely wait to run that until you add that?).


It sounds like all these image files can be removed, either by hand or your scripts?


I have some music purchased from iTunes which is on the C: drive (but only a handful of titles). All the other music is on a different internal HD in various folders. Does running the script look at this by "drive" or do you point to specific folder(s)?


I'll download your updated CleanDeadArt script.

Will doing any of this remove art from the existing files (that is correct or not)? I spent the past week updating a ton of files that didn't have album art. I used iTunes Store when available, or just copied or dragged in images from a couple sites that house artist and album info. As I've gone over some songs in various folders, I'll see most have the right art, but every now and then a song has the wrong one - even though the right one shows in iTunes. This is what I'm attempting to clean up as well. Will running the script or removing all these images (not the songs) sitting in folders help the song be associated with the right artwork if you follow?

Fo example, let's say I have a Madonna song in a folder but it's showing a Tom Petty album cover within windows - but in iTunes the Madonna art is correct. If I run your script, when it cleans out the artwork junk sitting in folders, will the Madonna song get the right art showing after all this art is deleted? I'm assuming the Tom Petty artwork is one of those floating in the explorer folder for no reason (one of hundreds depending on the folder). That's just a made up example but it's the situation at hand. (I hope I'm explaining this okay and not confusing you).


You mentioned something earlier about not using art from iTunes Store? I don't recall what you said. Should I not use art from iTunes Store onto songs? I've added hundreds in the past week by using the store.


I'll get to work on this today.


When you have time, I'd really appreciate a reply on your playlist script. My assumption is it exports all of them en masses instead of one at a time as has to be done now?


thanks so much!!! I couldn't be where I am without your help. It's just been amazing!


Sep 16, 2020 12:59 PM in response to William Richards3

William Richards3 wrote:

Good to hear back from you. I hope all is well.
Thank you for your reply.

Sure, if you could add removing the folder.jpg to your script, that would be good. Let me know when you might have that (as I'll likely wait to run that until you add that?).


I've uploaded the new version of the script with the Folder.jpg cleaning option already set as CleanDeadArtCustom so you don't need to edit the file, but the main version is still what is posted to the site.


It sounds like all these image files can be removed, either by hand or your scripts?


Yes, as long as you're happy that iTunes has the right image you don't need the other images that have been downloaded by other software. You may need to embed images that iTunes has only downloaded for best results, but that is a separate issue. If you use my other script to upsample your content it is going to ensure that all the new copies have embedded art.


I have some music purchased from iTunes which is on the C: drive (but only a handful of titles). All the other music is on a different internal HD in various folders. Does running the script look at this by "drive" or do you point to specific folder(s)?


The way to use CleanDeadArt or CleanDeadArtCustom is to run the script, select a media folder that is to be processed along with all of its subfolders, then choose a destination for archived files to be stored, e.g. X:\Artwork where X: is the drive your library is on, and allow the script to run. I will carve out all of the selected image types, such as GUID art, folders that only contain art, Desktop.ini and Thumbs.db file, etc. moving them with the same folder layout, into the archive folder, leaving your original media folder clean of these items. You can then review the archive folder (if you wish) before deleting it. I'd keep it for a few days to make sure there aren't any side effects that you're unhappy with. This is one reason for taking this approach rather than just using a manual seek and destroy approach in Windows Explorer.


I'll download your updated CleanDeadArt script.

Will doing any of this remove art from the existing files (that is correct or not)?

No, iTunes takes no interest in images that might be stored in your media folder alongside your music files. The script doesn't modify any media files, it only moves specific types of files (AlbumArt_{<GUID>}_Large.jpg, AlbumArt_{<GUID>}_Small.jpg, AlbumArtSmalljpg, Desktop.ini, Thumbs.db,. DS_Store, ._, and optionally Folder.jpg) and empty folders, or those that only have art but no media files, into the archive folder.


I spent the past week updating a ton of files that didn't have album art. I used iTunes Store when available, or just copied or dragged in images from a couple sites that house artist and album info. As I've gone over some songs in various folders, I'll see most have the right art, but every now and then a song has the wrong one - even though the right one shows in iTunes. This is what I'm attempting to clean up as well. Will running the script or removing all these images (not the songs) sitting in folders help the song be associated with the right artwork if you follow?

For example, let's say I have a Madonna song in a folder but it's showing a Tom Petty album cover within windows - but in iTunes the Madonna art is correct. If I run your script, when it cleans out the artwork junk sitting in folders, will the Madonna song get the right art showing after all this art is deleted? I'm assuming the Tom Petty artwork is one of those floating in the explorer folder for no reason (one of hundreds depending on the folder). That's just a made up example but it's the situation at hand. (I hope I'm explaining this okay and not confusing you).


It depends on exactly which tool you're using at the time and where it gets its image from. It may resolve things straight away, or that may have to wait until you can ensure that the music file has the correct artwork embedded in its tag.


You mentioned something earlier about not using art from iTunes Store? I don't recall what you said. Should I not use art from iTunes Store onto songs? I've added hundreds in the past week by using the store.


When iTunes fetches artwork it only downloads an image to store in its cache. That image isn't automatically written to the tag, so iTunes may show the correct image, but Explorer can show a generic icon, or perhaps something unrelated due to the dbPoweramp shell extension. You can copy the image and then paste into the top left corner to embed in the track, or use another of my scripts. That reminds me, I really need to make an alternative to CreateFolderArt and EmbedFolderArt that doesn't rely on having only tracks from the same album in the same folder.


tt2

Sep 16, 2020 12:59 PM in response to William Richards3

William Richards3 wrote:

I'll get to work on this today.

When you have time, I'd really appreciate a reply on your playlist script. My assumption is it exports all of them en masses instead of one at a time as has to be done now?


If you're referring to ExportImport it is already capable of working with entire playlists. As ever it is simply best to test first with a single track, then say an album, then a larger selection. It isn't particularly fast here, so perhaps stick with relatively small collections until you're happy it behaves as expected, and you've an idea how long any given selection might take to run. Backup the content you're going to work with first, and let me know if it isn't doing what you need of it. I've updated it so that artwork it caches for restoring to your higher resolution copies now goes into a separate folder.


Again the usage for that is as follows:


  1. Select one or more tracks in iTunes that you wish to upgrade.
  2. Run ExportImport in export mode by double-clicking on it directly. It doesn't matter where you store the script, but perhaps its own folder on the desktop might be easiest since it won't get in the way of other content. Note which export .txt file was created, you'll be using it in step 4.
  3. Remove the files that you are upgrading from their respective folders and replace them with new files with the same names apart from the file extension.
  4. Drag the file you exported in step 2 onto the ExportImport script and let go to run the script in import mode.
  5. Check your new imports have all the properties you want from them, both in iTunes and Windows Explorer.


Thanks so much!!! I couldn't be where I am without your help. It's just been amazing!


You're welcome.


tt2

Sep 16, 2020 1:09 PM in response to William Richards3

William Richards3 wrote:

Oh, gotcha. I don't think it has anything to do with the dBpoweramp because that has only recently been introduced into my system but I do see that name at the bottom of the capture I sent. In fact, if I highlight the cursor on files from a few years ago, it also shows dB underneath the information about the song and I only recently installed it (at the suggestion of HD Tracks - a reputable service that sells hi-res files from record labels). I checked to see if this program was running in my windows start-up (msconfig) but I don't see it there. I actually set a restore point a couple of weeks ago when I installed that and I'm thinking of going back so it's not installed and see what happens.


It doesn't have to run at startup. There will likely be a hook that loads a .dll on demand.


As for recent conversion (other than testing the AIFF, Lossless, FLAC and so forth - which I did use dB for), this is the program I use to convert wav to MP3:

In fact, it's the one I used for many of the MP3s that were converted from wav.

And your comment about the deleted file having information more than you'd usually see, I'm wondering about that myself.

Do you have a conversion program that you could recommend? I'm using full capability on a 21 day free trial on dB and it has about 7 days left. Despite that issue, I still do need to get all these art images out of the folders using your script.


No, whatever works for you is fine. As you've probably gathered I tend to do most of my media management in iTunes and bake my own additional tools when needed, but I'll use other software if that is easier.


YOU SAID: Or you can use my script to gather the same content into a new folder, e.g. X:\Artwork where X: is the drive your library is on, so that you can review what has been pulled out before you delete it. In its current form it leaves Folder.jpg files behind. I could add an option to remove those too if you want.

ME: Do you have an idea of when you might be able to do that?


It is done. See this earlier post.


tt2

Sep 16, 2020 1:41 PM in response to turingtest2

Hi!

YOU SAID: If you use my other script to upsample your content it is going to ensure that all the new copies have embedded art.


ME: I'm sorry, which script is that, and what do you mean that "all the new copies have embedded art?"


YOU SAID: When iTunes fetches artwork it only downloads an image to store in its cache. That image isn't automatically written to the tag, so iTunes may show the correct image, but Explorer can show a generic icon, or perhaps something unrelated due to the dbPoweramp shell extension. You can copy the image and then paste into the top left corner to embed in the track, or use another of my scripts.


ME: I don't think this is due to the dB shell. You may be right, but I could restore to a time in windows I set before installing and see what that looks like. I'm not sure what you mean on your last sentence. Sorry.


As for dBPoweramp, it does have an option to view ID3 and it's interesting that it doesn't show any album cover here but Windows displays it (you just can't see underneath the layover).


But look what happens when I paste the image into iTunes:


So there is no art associated with iTunes (as you suggest) but it screws up elsewhere when I use Plex for example.


Interesting, there is something funky  going on. I took note on a song that had been gathered by iTunes, the artwork I mean, for a specific song.


I checked the folder and it had a wrong image on it. I then deleted the image in itunes for the song and saved it.  But it is still showing the album art.  I checked the song in windows and it's got the wrong image on it still.


It's almost as though every artwork I used iTunes for as I pruned my library, has the wrong image. But if I drag & dropped from

another source, or copied and pasted into the song, then windows will show the image correctly.


See the image of the Wang Chung.  Here it is in iTunes AFTER I deleted it from the Artwork tab and clicked OK.



Sep 16, 2020 1:51 PM in response to turingtest2

Adding more from last post...

And here it is in Windows:


Now, here it is in Windows fter pasting the image - and not using iTunes. 



It removed the association with the wrong album (Aerosmith)

and displays this properly now.  So -

there seems to be a major problem with iTunes as the culprit.  Sad because I've literally grabbed hundreds

and hundreds of images over the past week while pruning the library. 


Just to test, I set up this folder in PLEX and wrong art is

showing up on some titles as well (I used a small, but legitimate folder for

testing). 


I did run your script for the CleanDeadArt and it successfully removed all but the Folder.jpg. (I hadn't seen your update

yet).  However, the images are wrong on many - with one album cover dominating the folder I used to test (backed up

first).  That seems to be the case with many.  In fact, look at this. Look at these songs - they all have the wrong artwork.



I'm at a complete loss as to what to do next. Even if I went to the painstaking task of starting over, the songs in Windows Explorer would still have this bad art on them, wouldn't they?


And running your script did remove a number of elements as intended, but it still left wrong album covers on many of the songs - but those were wrong already in those cases. And this folder is probably 10 years old with the songs in it. Very strange.


What would you advise? Should I run one of your Artwork scripts of some fashion not done yet?  Should I try a third-party tool to update artwork? Is there any way to tell which songs have itunes artwork from non-iTunes? (doubtful I'm sure).


Wow, what a mess. 

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iTunes metadata and artwork

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.