INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Feature Request: Ability to Find+Replace on Image File field PLEASE!  (Read 1235 times)

MusicHawk

  • Citizen of the Universe
  • *****
  • Posts: 796

A quick search shows this "Feature" has been requested more than a few times, across multiple versions of MC (MC15 discussion last July, for instance). PLEASE make this minor tweak to to MC16 to put the problem to rest.

PROBLEM: Find and Replace can't change field Image File. (It is the database field that stores the cover art file path and name for each track.)

There are times when this field MUST be changed, notable when cover art is stored in a specified folder location AND this location is changed. Over the years I've had to move my MC library for various reasons, such as reorganizing a drive, putting cover art or the entire library on a different drive that has more space, etc. Each time, MC makes this a huge, hairy job because I have to use the MPL workaround (below).

It would be simple and elegant to change the cover art path via Find & Replace. I can do this when I move the media files, but NOT the cover art files, because field Image File is treated as read-only. WHY?

Methods and workarounds are available, but they are not always reliable or practical.

In some cases Quick Find will reattach "lost" images. But this works only in the specific case where the image name exactly matches what MC is looking for. My library is 80+ thousand tracks, and very few have cover art that matches what Quick Find expects. This is because most of the cover art was manually added so has arbitrary file names, and/or the track tags were changed after the cover art was attached, so it no longer matches what Quick Find expects.

A workaround is to export the entire library as an MPL text list, find and replace that text with a suitable editor, the import the MPL back into the MC library. BUT... Finding a suitable editor to process a text file of 80 thousand records is a challenge, the process is very slow to do (hours), and messing around with all this data is extremely subject to a mistake that can trash the entire library. (Make a backup first!) Surely it would be safer to use Find & Replace within MC.

SUGGESTION: Allow Find and Replace allows access to the Image File field to change the cover art folder path in the database. AND/OR, upon seeing a change in Options > File Location > Cover Art, automatically update (after a confirmation prompt) the Image File path in all the records in the library.

Logged
Managing my media with JRiver since Media Jukebox 8 (maybe earlier), currently use Media Center for Audio/Music and Photos/Videos.
My career in media spans Radio, TV, Print, Photography, Music, Film, Online, Live, Advertising, as producer, director, writer, performer, editor, engineer, executive, owner. An exhausting but amazing ride.

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Feature Request: Ability to Find+Replace on Image File field PLEASE!
« Reply #1 on: March 14, 2011, 05:37:07 pm »

I agree with everything, but...
Quote
BUT... Finding a suitable editor to process a text file of 80 thousand records is a challenge, the process is very slow to do (hours)

A suitable editor is Notepad++. (You could have just asked here  ;) )

I just did a quick test with an MPL file of 79914 audio files. A search & replace operation processed 62413 image file paths in 33 seconds on a quad core AMD Phenom.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

MusicHawk

  • Citizen of the Universe
  • *****
  • Posts: 796
Re: Feature Request: Ability to Find+Replace on Image File field PLEASE!
« Reply #2 on: March 14, 2011, 06:11:24 pm »

Thanks for the suggestion. I used PSPad, another free programmer editor. Not running a quad core on my MC editing machine so it took an hour from loading the file to finishing the save. Plus a bunch of minutes for MC to import the revised MPL. Glad we agree a "normal" user should not need to do it this way.
Logged
Managing my media with JRiver since Media Jukebox 8 (maybe earlier), currently use Media Center for Audio/Music and Photos/Videos.
My career in media spans Radio, TV, Print, Photography, Music, Film, Online, Live, Advertising, as producer, director, writer, performer, editor, engineer, executive, owner. An exhausting but amazing ride.

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Feature Request: Ability to Find+Replace on Image File field PLEASE!
« Reply #3 on: March 14, 2011, 06:42:15 pm »

I just did the the same test on an old single core AMD Athlon XP 3200+ (2.2 GHz).  Surprisingly it was as fast as the new PC (a bit over 30 seconds).
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

MusicHawk

  • Citizen of the Universe
  • *****
  • Posts: 796
Re: Feature Request: Ability to Find+Replace on Image File field PLEASE!
« Reply #4 on: March 14, 2011, 08:32:00 pm »

With PSPad editor, the actual find+replace was reasonably speedy (didn't time it), but the load and save of the big file was slow, as was the import back into MC. Free RAM vs; Paging is probably a big factor.
Logged
Managing my media with JRiver since Media Jukebox 8 (maybe earlier), currently use Media Center for Audio/Music and Photos/Videos.
My career in media spans Radio, TV, Print, Photography, Music, Film, Online, Live, Advertising, as producer, director, writer, performer, editor, engineer, executive, owner. An exhausting but amazing ride.
Pages: [1]   Go Up