Giter Club home page Giter Club logo

Comments (10)

sentriz avatar sentriz commented on September 25, 2024 2

there's an issue tracking that one #11

from gonic.

s-fleck avatar s-fleck commented on September 25, 2024 2

Just wanted to +1 this. I know unexpected behavior is something that's not a comfortable idea from a programmers perspective... however.:

  • i'm pretty sure it's possible to come up with heuristics that display the "best" cover in 99% of the cases
  • even if the wrong image is displayed, that's probably still nicer from an UX perspective then none at all! It still gives you a visual clue.

I prioritizing the following regex patterns (in that order) would already work pretty well:

  1. folder.*
  2. cover.*
  3. front.*
  4. .*cover.*
  5. .*front.*
  6. 00.*
  7. .*scan.*
  8. any image file

if there are several matches for one pattern, always take the first one (sorted alphabetically).

This does not account for:

  • Subfolders (Artwork, Covers, Scans) - probably a bit more complicated i assume?
  • Images from the tags (not sure if they are supported, if not they should probably have pretty high priority? just under folder.*?)

from gonic.

sentriz avatar sentriz commented on September 25, 2024 1

good point πŸ‘

from gonic.

gerroon avatar gerroon commented on September 25, 2024 1

Can Gonic grab cover images from the songs as well? It would be nice if it can't find a album image in the folder, it just grabs from the first song that has embedded image.

from gonic.

sentriz avatar sentriz commented on September 25, 2024 1

there's an issue tracking that one #11

from gonic.

awsms avatar awsms commented on September 25, 2024 1

Is there any interest from the dev to implement this?

from gonic.

sentriz avatar sentriz commented on September 25, 2024

not sure its a great idea. I don't like unexpected behavior personally. are there any filenames you would like to add to the list of acceptable cover art filenames?

from gonic.

awsms avatar awsms commented on September 25, 2024

There are a bunch of known templates,
"Albumname.jpg" or "Artist - Albumname.jpg" for EAC rips,
"R-digits-digits.jp(e)g" for discogs,
"00-.*.jpg" for scene releases

I reach the point where a third of my music collection doesn't have an artwork image because of this

from gonic.

awsms avatar awsms commented on September 25, 2024

On a related note, what do you think about parsing (the first track of a folder's) attached images in the tags?
In case Gonic couldn't find a cover image in the folder of course.

from gonic.

nolexio avatar nolexio commented on September 25, 2024

I would also love to see this feature. Only a few folders containg a cover.jpg or folder.jpg, but instead there are a lot of files starting with the value 00-.

In my opinion an environment able would be the best deal to define how cover scanning should be handled.

I.e.

  1. default only cover.jpg, folder.jpg,
  2. first image in dir
  3. regex

from gonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.