Adjust the filename score, size is probably more relevant.

This commit is contained in:
Borewit
2018-04-20 08:07:27 +02:00
parent 4752c2e689
commit f47055c51b

View File

@@ -93,9 +93,9 @@ function filterOnExtension (torrent, extensions) {
function scoreAudioCoverFile (imgFile) {
const fileName = path.basename(imgFile.name, path.extname(imgFile.name)).toLowerCase()
const relevanceScore = {
cover: 100,
folder: 95,
album: 90,
cover: 80,
folder: 80,
album: 80,
front: 80,
back: 20
}