Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Missing Album art #26

#1

Could you explain in simple terms how rompr picks local album art

I have just under 2000 albums in my library all of which have a folder.jpg file in the folder for the album

but rompr is unable to find art for 679 of them

on disc the folder structure is as follows

/Drive/Music/Include/A/Artist1/Album1
/Drive/Music/Include/A/Artist1/Album1/Track1 ....
/Drive/Music/Include/A/Artist1/Album1folder.jpg

/Drive/Music/Include/A/Artist1/Album2
....
/Drive/Music/Include/A/Artist2/Album1
....
etc etc

music is a mixture of .mp3 and .flac and all albums are properly tagged using mp3tag

looking at the missing images they seem to be mainly but not entirely live recordings which have a title like "1975-11-27 - Hammersmith Odeon"

does the folder name have to exactly match the album name ?

I am using Mopidy 3.0.1 on Ubuntu server 19.10 using your version 1.40

in the preferences I have set the path to albumart to be /Drive/Music/Include

Thanks
Tim

  • replies 6
  • views 3.3K
  • likes 0
tkgafs · Author
#2

had a look at the source code and I have chaged line 64 of getalbumcover.php to include "folder"

$covernames = array("folder", "cover", "albumart", "thumb", "albumartsmall", "front");

this has fixed issue

is there anyway I can rescan art to replace covers script has found as many of them are incorrect, or any way to clear existing database and start again ?

tkgafs · Author
#3

diff for above change

diff -r ../getalbumcover.php /var/www/rompr/getalbumcover.php
64c64
<       $covernames = array("cover", "albumart", "thumb", "albumartsmall", "front");
---
>       $covernames = array("folder", "cover", "albumart", "thumb", "albumartsmall", "front");
#4

Now you've made your change the Album Art Manager should be able to update all the missing covers.

BTW "folder" is a very unusual and non-standard way to name an album cover.

tkgafs · Author
#5

Thanks for the reply, yes it works fine in the end I cleared the artwork folders as so many of the images displayed were incorrect presumably picking up American album sleeves etc rather than UK ones.

folder.jpg is pretty common as a music folder image in my experience its certainly the one windows has used by default for many years, but never mind my issue was easily fixed

thanks
Tim

#6

Ahh, Windows... I said it was non-standard :)

No problem though, I'll make the change for future versions.

tkgafs · Author
#7

Ha Ha. yes Windows will ignore any standard ever created and invent their own, to be fair they're not as bad as they once were