Author Topic: Saving album artwork from 'Search Internet for Picture'  (Read 6578 times)

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
MB does a great job of finding quality artwork, but, although it replaces the artwork shown in the browser, I can't seem to find a way to get it to write the artwork to the folder containing the album.

In preferences/tag(1), I have the option 'copy picture to folder.jpg' set.

In the 'Search...' dialogue box, I have the 'link the picture to this music track' and 'save to folder.jpg' options set.

When I hit 'Okay', the image in the browser updates, and the timestamp of the original folder.jpg file gets updated to the current time, but the image file is not replaced.

If I delete the existing 'folder.jpg' before doing the search, it writes the new image file to the correct folder.

The original 'folder'jpg' files are not write-protected.

So it looks like it's touching the file, but not overwriting it, but must be updating a cover art database somewhere (it's not in the Artist or Soundtrack image folders).

Does anyone know how I can make MB overwrite the existing image?

redwing

  • Guest
Try with v3.1 to see if it makes any differences.
If not, do you mean the image file itself that's not changed or displayed cover image in MB?

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
The image file doesn't change (although its timestamp does).
The cover art displayed in MB does change.

I meant to say; I'm running 3.0.6335

I'll give 3.1 a go.

psychoadept

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 10691
are you doing this with the currently playing track?
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.5)
(Unzip and overwrite existing program files)

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
> are you doing this with the currently playing track?

No. I'm using either the Music browser or the Music Explorer browser, with album art view selected, selecting entire albums, and updating artwork that is poor quality.

I wouldn't try applying artwork to a single track, as that's an obvious cause of confusion (track vs album), and I want to change the artwork on every track of an album.

I was quite pleased with myself, changing the artwork on quite a few albums. It all looked lovely until I went in to the album folders, and found the artwork hadn't changed... I'd like the artwork to propagate to my Twonky media server, too.

redwing

  • Guest

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
3.1 patched doesn't seem to have fixed it. I'll file a bug report. Not tonight, though...

Thanks.

redwing

  • Guest
So you're not using the tag editor for updating the cover but do it directly from the main panel in album cover view with an album selected?

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
> So you're not using the tag editor for updating the cover but do it directly from the main panel in album cover view with an album selected?

Yes. Right-click menu on an album cover offers the command 'Search Internet for Picture'. I select the picture I'd like to use, set the options to save to the file, and hit 'Save' or 'Apply' (I think; not at my MB computer at the moment). I use this option rather than the more general 'Get metadata from the internet' (or whatever it is called...), because the metadata is already correct in most cases; all I want to do is get better cover art.

It updates the cover art displayed (and presumably, therefore, the database, because I can't find a cover art folder in the installation), and touches the existing folder.jpg image in the album directory.

If there is no existing folder.jpg image (e.g. if I delete it first), it saves the new image.

The first time I did it, I was half expecting to see a warning dialogue appear, to say folder.jpg existed. But no dialogue appeared.

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34346
i am not able to reproduce this issue. Can you send me a link to a zip of your settings file (help/ support/ view settings).
Also let me know how the existing artwork that is being replaced is stored eg. embedded in the music file, folder.jpg etc. You can check by editing a file in the tag editor/ click the Artwork tab and then click "Save As"

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
Back at my MB PC for more experimentation.

Using the tag editor (Edit/Artwork), if I see more than one image, then it will not save the new image, but it does touch the file date. This is the behaviour I observed above.

If I delete the duplicate image(s), then it saves the image & updates the displayed image, i.e. the expected behaviour.

MB doesn't inicate where the artwork is coming from (unlike MediaMonkey,which says if it's from file or tag). I assume MB is showing images stored in file and tag, and I'm deleting the tag image.

So it looks like it's the multiple image sources that are causing the confusion.

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34346
Your comments suggest to me you havent read my instructions. I wont spend any more time on this

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
Hi, Steven,

Sorry if you think I'm wasting your time.

Which instructions should I read? If you mean those in the post above my last, then I started writing my last reply before you replied; our posts overlapped.

> Also let me know how the existing artwork that is being replaced is stored eg. embedded in the music file, folder.jpg etc. You can check by editing a file in the tag editor/ click the Artwork tab and then click "Save As"

I don't see a 'Save As'. I do see a 'Save To' button. Is that what you mean? If so, then, in the case of both images shown in the artwork tag editor, the 'Save To' dialogue has the following radio buttons ticked:


'link the picture to this music track'
'save to folder.jpg'

[edit: ah; no they don't; the non-primary image is 'link to an organised copy of the picture (folder,jpg)']

I do not have the 'embed the picture in the music file' radio button ticked.

I've enabled the 'embed picture in the music file' option, and that makes no differentce to the behaviour; the existing artwork file is still touched, but the file is not overwritten. But the the difference is that the displayed image does not change.


The consistent behaviour that does allow the file to be overwritten is for me to delete the second (non-primary) image in the artwork editor before doing the internet search and save.

I hope this is useful.
Last Edit: July 07, 2017, 07:29:33 PM by captain_paranoia

redwing

  • Guest
I was able to replicate the reported behavior. But I'm not sure it's a bug.

in the case of both images shown in the artwork tag editor, the 'Save To' dialogue has the following radio buttons ticked:

'link the picture to this music track'
'save to folder.jpg'

[edit: ah; no they don't; the non-primary image is 'link to an organised copy of the picture (folder,jpg)']

The problem is your file is linked to the same image file twice. To replicate this, I saved the first image as folder.jpg and add the same image as second artwork with "link to an organised copy of the picture (folder.jpg)" option. Then MB only updates the timestamp of folder.jpg when using search internet for picture command. Why did you organize your artwork that way with duplicate images? Is that something MediaMonkey did?

The consistent behaviour that does allow the file to be overwritten is for me to delete the second (non-primary) image in the artwork editor before doing the internet search and save.

Yep, I noticed the same thing and it looks like the only solution. Hope that can sort out the issue for you.

captain_paranoia

  • Full Member
  • ***
  • Posts: 207
> I was able to replicate the reported behavior. But I'm not sure it's a bug.

Thanks. I wasn't sure it was a bug, either, which is why I posted in the Questions forum. But the touching of the artwork does seem to suggest MB is trying to do something to the folder.jpg file; maybe it's saving the existing artwork again?

> The problem is your file is linked to the same image file twice. To replicate this, I saved the first image as folder.jpg and add the same image as second artwork with "link to an organised copy of the picture (folder.jpg)" option. Then MB only updates the timestamp of folder.jpg when using search internet for picture command. Why did you organize your artwork that way with duplicate images? Is that something MediaMonkey did?

I don't think so; in MM, I always use a link to the 'folder.jpg' artwork. I don't have images stored as tags in the files (at least, that's my intentions...). MM's artwork editor doesn't show more than one image, unless there really are multiple images (e.g. front and back artwork).

It may be my misunderstanding of MB options; I want MB to save to folder.jpg, and I then want it to link to that image. I originally had the option to 'link to an organised copy (folder.jpg)', but the 'organised' bit, and the ability to create path names from metadata tags seemed to suggest that was meant to put artwork in some parallel directory structure. So I changed the options to 'save to folder.jpg', since that seemed a more direct way of storing the artwork in the album folder. I assumed that saving to the folder would also make a link to that image. Maybe that assumption is wrong, and all it does is save the image, and nothing else (i.e. doesn't change any artwork associations).

Since I want to save any downloaded artwork to folder.jpg, and link to that image to the music files, rather than embed artwork, can you suggest what the most appropriate options would be? And if there's a way to automatically get rid of the duplicates in the MB database (a re-scan after changing the options, perhaps?). Or I could just delete the database and start again.

Thanks.