INTERACT FORUM

Please login or register.

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

Author Topic: Why cant I "Find & Replace" Coverart Location  (Read 4047 times)

bbrip

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 441
  • Change this by choosing profile
Why cant I "Find & Replace" Coverart Location
« on: November 12, 2007, 07:46:44 am »

Under Library Tools it is possible to modify virtually all database fields using the "Find & Replace" command. However, this is not available for the coverart field. I am moving all my coverart to a server-disk and want to change the drive-letter for the coverart bei using "find & Replace".  Doing it one-by-one for each file and pointing it to the new coverlocation is a bit cumbersome.

Any ideas?

BBRip
Logged

dcwebman

  • Citizen of the Universe
  • *****
  • Posts: 2154
Re: Why cant I "Find & Replace" Coverart Location
« Reply #1 on: November 12, 2007, 08:01:52 am »

There's probably an easier way but one way is to move the cover art and then when you look at the cover art for a song, it should display just the old filename location because it can't find the cover art anymore. Then make sure you update the Cover Art location in options and do a Quick Find in File / Covert Art Directory. This should work for all selected songs.
Logged
Jeff

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Why cant I "Find & Replace" Coverart Location
« Reply #2 on: November 12, 2007, 08:04:57 am »

it is indeed a pity that that is not possible using find and replace.  :)

but you could do it this way:
backup library
copy coverart to new location
make a playlist or smartlist with all the files where the cover art is moved.
export the playlist as mpl file.
open the mpl file with notepad.
find and replace the image location with the new one like:  "<Field Name="Image File">E:\DVD Thumbs" becomes "<Field Name="Image File">G:\DVDThumbs"
import the mpl file.

check if it worked. you could start with only one file.

succes
gab


i guess mr webmans could be easier. try.


Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Why cant I "Find & Replace" Coverart Location
« Reply #3 on: November 12, 2007, 09:48:22 am »

it is indeed a pity that that is not possible using find and replace.  :)

I agree.  This has bit me quite a few times when working on tagging and moving files around.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

bbrip

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 441
  • Change this by choosing profile
Re: Why cant I "Find & Replace" Coverart Location
« Reply #4 on: November 12, 2007, 03:40:01 pm »

There's probably an easier way but one way is to move the cover art and then when you look at the cover art for a song, it should display just the old filename location because it can't find the cover art anymore. Then make sure you update the Cover Art location in options and do a Quick Find in File / Covert Art Directory. This should work for all selected songs.

Tried this approach but doesnt work. May be related again to the fact that files are sitting on a network drive....   MC12 seems to struggle with quite a few things related to network drives...

Hope to "Find & Replace" command will soon be available also for the coverart field. There is really no reason I can think of why it shouldnt be....

For the time being fiddling around manually copying coverart....
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Why cant I "Find & Replace" Coverart Location
« Reply #5 on: November 12, 2007, 04:53:33 pm »

Hope to "Find & Replace" command will soon be available also for the coverart field.

It would be about time. I've waited three and half years...

I store cover art images in the same folder with music files (base path\Artist\Album). When ripping music MC stores downloaded image files in the Track Images Location. So I have to move those images afterwards and re-associate them with music files.

I even tried to combine the default image path with a MC rule and wrote "e:\music\[Artist]\[Album]" in Track Images Location, but obviously it didn't work. MC actually made a path named "e:\music\[Artist]\[Album]" and stored images there.

So could it be possible to have an option to store downloaded cover art images in the music folder? E.g. base path\[artist]\[album].
 
It would also be nice if one could see and edit the full path of the current image. That option could be in Image>Add From File.

Currently the only place to find that information is in "Tag Info / Extended / Image File" and it's not editable. Besides, it is often truncated with ...  if the path is long.

If the image file path could be a regular editable tag, then the "Find & Replace" operation for it should be relatively easy to accomplish. (That was requested in the thread: Another Plea to be able to automatically move Cover Art.)

(The "next to file" option was added quite soon after my request...)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20062
Re: Why cant I "Find & Replace" Coverart Location
« Reply #6 on: November 12, 2007, 04:57:35 pm »

MC could do this once

They removed Image from the listing.

Why? No Clue.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Why cant I "Find & Replace" Coverart Location
« Reply #7 on: November 12, 2007, 05:30:15 pm »

King,

You added it to "Replace master" (check the link in my quote).

I wonder if a small dedicated plugin (only for external art) could use similar code and access the field in MC12 too?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20062
Re: Why cant I "Find & Replace" Coverart Location
« Reply #8 on: November 12, 2007, 06:07:16 pm »

Quote
I wonder if a small dedicated plugin (only for external art)

I made one once, I never updated it.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

MusicHawk

  • Citizen of the Universe
  • *****
  • Posts: 796
Re: Why cant I "Find & Replace" Coverart Location
« Reply #9 on: June 27, 2008, 10:53:10 am »

BUMP

It would be a HUGE help if the Image File field could be changed via Find & Replace, and/or directly editing the field.

This should be simply a way to edit the database, without touching the image file at all. The typical reason is that the cover art isn't where the database thinks it is. Therefore, changing the Image File field's text does NOT need to be connected to any actual file move process, as it is when renaming the media file.

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.

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Why cant I "Find & Replace" Coverart Location
« Reply #10 on: June 27, 2008, 11:14:41 am »

The typical reason is that the cover art isn't where the database thinks it is.
If you're storing all your cover art in a single directory, you can change the location in MC Options, and then right click on tracks and do a "Quick find".
Logged

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: Why cant I "Find & Replace" Coverart Location
« Reply #11 on: June 27, 2008, 12:28:47 pm »

I agree.  This has bit me quite a few times when working on tagging and moving files around.

S'why i store cover art in the album's folder instead of elsewhere, been many years and countless (hard+soft) upgrades, never lost anything!

Everything album related in its own place.

Downside (if it applies) is limited use of the highly regarded 'Rename Files from Properties'.

You decide  ::)
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Why cant I "Find & Replace" Coverart Location
« Reply #12 on: June 27, 2008, 12:36:33 pm »

BUMP

It would be a HUGE help if the Image File field could be changed via Find & Replace, and/or directly editing the field.

This should be simply a way to edit the database, without touching the image file at all. The typical reason is that the cover art isn't where the database thinks it is. Therefore, changing the Image File field's text does NOT need to be connected to any actual file move process, as it is when renaming the media file.

A workaround:
- Export the selected files or the complete current view as an MPL playlist.
- open the playlist in a text editor, do the find & replace operation for the Image File field and save the edited file
- Import the playlist using the File > Import > Playlist feature. It will update the field values.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Why cant I "Find & Replace" Coverart Location
« Reply #13 on: June 27, 2008, 12:41:40 pm »

Downside (if it applies) is limited use of the highly regarded 'Rename Files from Properties'.

That doesn't apply to me. I have imported my cover art images from the album folders and tagged them with the Artist and Album tags. For tagging and renaming the album files (including cover art) I use a separate view scheme without the [Media Type]=[Audio] restriction.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: Why cant I "Find & Replace" Coverart Location
« Reply #14 on: June 27, 2008, 12:46:57 pm »

- Import the playlist using the File > Import > Playlist feature. It will update the field values.

Is it safe to do this with the whole library ?

..if it comes down to it.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Why cant I "Find & Replace" Coverart Location
« Reply #15 on: June 27, 2008, 01:19:42 pm »

Assuming it is done correctly it is safe. If the field values are edited incorrectly the worst thing that can result is a more or less corrupted library.

Naturally anyone who does it
- creates a library backup file first
- tests the procedure with a few files
- disables Auto-Importer and maybe also physical tag writing before importing the edited MPL file.

;)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

MusicHawk

  • Citizen of the Universe
  • *****
  • Posts: 796
Re: Why cant I "Find & Replace" Coverart Location
« Reply #16 on: June 27, 2008, 04:43:19 pm »

Quote
If you're storing all your cover art in a single directory, you can change the location in MC Options, and then right click on tracks and do a "Quick find".

Tried that first, and it found a few "lost" covers. But hundreds remained unfound; no idea why.

By looking at the Image File field I could see the tracks had the correct file name, but in an old, non-existent cover art folder location. I could have fixed them all immediately by changing the folder portion of the Image File path, if File & Replace could act on this database field.

Instead, I manually reconnected the "lost" images to the tracks by selecting each album, then locating its image the cover art folder. I got through most of them, so my immediate problem is fixed, the hard way.

But "for next time", it seems desirable to be able to edit the Image File field just as any others. Is there a reason why it is "off limits"?

(I suppose Plan C could be to rename the "lost" cover art images so "Quick find" would find them. Is it locked into searching for the same file name pattern specified for naming new covert art?)


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