google-code-export / beets

Automatically exported from code.google.com/p/beets
MIT License
0 stars 0 forks source link

Fetchart: wrong image chosen #452

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have an album which has three images:
blabla a.jpg
blabla b.jpg
blabla c.jpg

It seems that beets choses "blabla c.jpg". The front is "blabla a.jpg". Even if 
a, b, c aren't usual naming tags, it makes sense to me to automatically choose 
a instead of c.

Original issue reported on code.google.com by trash.xa...@gmail.com on 25 Oct 2012 at 8:38

GoogleCodeExporter commented 9 years ago
Beets chooses images in directory order. Do you think alphabetical order would 
be better? That's an easy change. :)

Original comment by adrian.sampson on 25 Oct 2012 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
That would be great as long as it doesn't break anything. I don't know how the 
plugin currently works, but I wouldn't want it to prioritize back.jpg on 
front.jpg because of the alphabet.

Original comment by trash.xa...@gmail.com on 25 Oct 2012 at 11:48

GoogleCodeExporter commented 9 years ago
Done:
https://github.com/sampsyo/beets/commit/57e66d7b1ac07eff23cae59e90558046664168aa

This change also searches the "preferred" filenames in order. So "cover" before 
"front" before "art", etc.

Original comment by adrian.sampson on 26 Oct 2012 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by adrian.sampson on 26 Oct 2012 at 1:05