Comments (10)
there's an issue tracking that one #11
from gonic.
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:
folder.*
cover.*
front.*
.*cover.*
.*front.*
00.*
.*scan.*
- 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.
good point π
from gonic.
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.
there's an issue tracking that one #11
from gonic.
Is there any interest from the dev to implement this?
from gonic.
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.
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.
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.
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.
- default only cover.jpg, folder.jpg,
- first image in dir
- regex
from gonic.
Related Issues (20)
- Request: Parse `format` param in `stream` request for per-request transcoding HOT 3
- LastModified field is set to 0?
- implement subsonic getNowPlaying.view HOT 1
- Distribute static binaries HOT 2
- Question: What happens to the db if I correct the metadata on my collection HOT 1
- Canβt see playlists. Difference from Subsonic API? HOT 1
- Does Gonic support the ability to scan music from 2 different drives in a single docker instance? HOT 1
- songs not being downloaded in dsub after upgrade 15.2β16.4 HOT 3
- feat: Support for composer tag
- Playlist sharing across users
- Could not read tags HOT 4
- gonic db created with world-readable permissions HOT 1
- `artists`, `albumartists`, and `genres` with picard HOT 11
- Request: better playlist portability
- Feature: Album download
- Quality of life improvements to podcasts
- Missing getNowPlaying endpoint in API HOT 1
- Question are podcasts included in item counts? HOT 3
- Unable to create playlist as non-admin user, error code 50: you aren't allowed update that user's playlist HOT 1
- Feature: Sync track star / unstar with last.fm / listenbrainz HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gonic.