Picard refuses to grab local cover/folder.jpg

cover
coverart
localfiles
jpg
Tags: #<Tag:0x00007fd6fee0d030> #<Tag:0x00007fd6fee0cef0> #<Tag:0x00007fd6fee0cdb0> #<Tag:0x00007fd6fee0cc70>

#1

I have been at this all morning and can’t seem to be able to make Picard simply read the *.jpg files from my directory. I have disabled all cover art sources except from Localfiles and have not messed with the regex that searches for them. It is frustrating at the least to have to open 1500 folders and drag/drop 1500 images on the cover art to load it.

Settings :
Fullscreen%20capture%202019-03-11%2016_26_43
Regex:

I have “Looked Up” and refreshed the album :
Fullscreen%20capture%202019-03-11%2016_42_24 Fullscreen%20capture%202019-03-11%2016_45_10
cover.jpg (also tried folder.jpg) not being read:
Fullscreen%20capture%202019-03-11%2016_45_30

Any help would be greatly appreciated.


#2

You haven’t given the most important information: How are your local cover art files named?


#3

Thanks for replying…Artwork is cover/folder as stated in the title!


#4

If you look at the regular expression, you see how your cover pictures have to be named:
(the blue and green test string examples will be found, the not coloured filenames will be not found)


If they are in a subfolder called \cover, you have to adjust the above regular expression or move your picture called folder.jpg in the same directory as your tracks.


#5

But they are not in any subfolder unless it doesn’t count the actual related track directory as “root” and stays in the search/added folder parent directory searching for covers (which doesn’t sound normal).

The picture above is at Q:/Music/Add Folder(s) Chosen Directory\Leftfield\Leftfield - Dusted\Disc 1
The tracks and cover.jpg are in the same folder. The filename is consistent with the regex and foobar/mp3tag can find it and embed it to the file(s) .

So what gives with Picard?


#6

Persists after clean install on any file that hasn’t had an image embedded in it. It just wont read my local files!!


#7

Any chance you can provide logs as per the troubleshooting document?


#8

Recreating “issue” …

Ok , the log is not empty,but still i just “Looked up” a folder that has subfolders containing flac files both with embedded and w/o embedded cover art.It still shows 0 images on the right pane.Fullscreen%20capture%202019-03-11%2023_55_50 Fullscreen%20capture%202019-03-11%2023_56_01

The only error upon refreshing the album is

E: 23:59:06,274 coverart.next_in_queue:183: Failed to read '': No such file or directory (2)


#9

If all it has is a single “E:” line, then it looks like you don’t have debug output turned on (the -d flag passed to the executable when starting it, as listed on the previously linked page). With debug output on you should have a turn of “D:” lines just from starting Picard.


#10

Thanks a lot for the details. I could reproduce this on Windows. It is a regression introduced in Picard 2.1.3 that breaks the local cover art provider on Windows. A temporary workaround is to downgrade to Picard 2.1.2.

Issue tracked at https://tickets.metabrainz.org/browse/PICARD-1490 with proposed fix.


#11

Thanking you so very much.I am as new as can be at picard and dealing with issue tracking and all the links is going to take a while for me…

I was reading through the bug fixes of 2.1.3 and it seems that 2.1.2 is broken in more ways than just the local cover art issue (Bugs fixed in 2.1.3) .I will just wait for the issue to be fixed. Thanks


#12

Yes, there have been a few important fixes, but it all depends whether one affects you or not. If you want you can also use a current development build from https://ci.appveyor.com/project/MetaBrainz/picard/builds/23020248/job/sbk18ev4r43o3e08/artifacts

This includes the bugfix for local cover art as well as a few other fixes. But the usual disclaimer applies: Using development builds unexpected things can be broken. Right now I’m rather confident we did not break things, only fixed them, though :slight_smile:


#13

Thanks i will try this in the coming days!
By the way is it safe to browse /artifacts and download “Current” builds or is the one you linked me somehow “safe” ?

A sub question to this matter,is there a way to permanently “Keep Original Cover Art” or do we have to select it every time?

Sorry for the so many questions,im coming from the way back machine and discogsPone mod tagging…


#14

Hard to answer in general. The one I linked to was the latest development build at the time, and one I am rather confident does not break anything.

We try to not introduce any bugs into what is the main development branch (known as the master branch, you can see the word “master” in the page I linked to), but during development all things can break. And some of the builds there are also for specific features in development, and those can be incomplete or even really bugged at times. So if you try any of the development builds I usually would recommend using only those that indicate being for “master”. And using the dev builds is definitely at your own risk :slight_smile:

You mean never overwrite existing cover art? Unfortunately not at the moment, but yes, it would be good to have.


#15

Hi

Same problem here, but with various cover filenames.

The following settings caused that any graphic file with any name in the folder was added as a cover. After updating to version 2.1.3 it stopped working.

^(?:)(.*)\.(?:jpe?g|png|gif|tiff?)$

P.S. picard-setup-2.2.0.dev1_python3.7.2_20190312182933.exe solved problem.