Comments (28)
Same for me, also miss this feature.
from gonic.
Instead of directly reading album art from ID3 tags, would it maybe be an option for the importer / scanner to detect album art inside songs and extract them to the cover.jpg file inside the album folder? Obviously this would need to be behind a toggle, but it might require less changes than reading and passing on to clients, and additionally be more in like with how gonic is designed to function.
i think this could be a problem for non-album collections, i don't have any albums only genre/random name folders with gonic. I think extracting the images from the audio files and having them in the cache folder with a uuid hash matching the track is a better alternative
from gonic.
I already published the article and podcast, a complete success. My community has been very interested in this server.
Create the docker to arm and to use it in Raspberry, etc ... And it has more than 10k. https://hub.docker.com/r/ugeek/gonic
- https://ugeek.github.io//post/2020-05-07-el-mejor-y-m%C3%A1s-rapido-servidor-de-m%C3%BAsica-con-la-api-de-subsonic.html
- https://ugeek.github.io/blog/post/2020-05-06-gonic-el-mejor-y-mas-ligero-servidor-de-musica-con-api-subsonic.html
Thank you very much for your time and work.
from gonic.
the fork of audiotags which gonic uses also supports embedded art fwiw
from gonic.
I have just installed gonic for the first time. I like its simplicity and speed, but I really miss the ability to display album art from mp3 tags.
Perhaps tag could be expanded to read song duration?
from gonic.
The server works perfect, but it is true that not previewing the covers, it gives the feeling that something is wrong
from gonic.
It won't download covers for you, only pickup what is already there. But that tool looks perfect.
sacad_r your_music 600 folder.jpg
and then start a gonic scan. Have you tried this?
from gonic.
Yes. I have done it and 95% of the covers have downloaded them.
It was a suggestion to perfect the server.
For my gonic it is perfect. Until now I was using Supysonic, but Gonic is much faster. I like much more gonic.
If it had the download of covers integrated, for simplicity and being able to mark the favorite songs, it is without a doubt the best server with api from subsonic.
I have assembled the docker and I am going to do an article and podcast on my blog.
Very happy with its operation.
Thank you so much for your work.
from gonic.
I am utilizing MusicBrainz Picard to process all my audio tracks before their are moved into to Gonic's . However, I am requesting a feature that permits extraction of cover images and additional associated data directly from the file's meta tags and then use folder image as fallback.
For reference, the Taglib library presents itself as a potential solution in this context. I don't known Go-lang, if i did i would contribute.
from gonic.
sorry, not currently supported. I think I would need to find out if the tagging library I'm using supports that
https://github.com/nicksellen/audiotags
otherwise a second library will need to be used. I'll have a think about it
from gonic.
this is still something I'm considering. in the meantime, if it's something you're interested in musicbrainz picard has a setting to extract embedded art to a separate file beside your files, which gonic will pickup (personally I prefer this, it saves disk space)
from gonic.
but ... would clients preview the covers? As you say, it would be a good solution to not make the server heavier
from gonic.
yeah clients will prefix the covers. if in each of your music folders (albums) you have a "folder.jpg" (or png) gonic will pick it up and show it to the clients
from gonic.
is very good!!
Totally in agreement with you, I prefer as it is now and that it is much lighter.
In the documentation it should be more visible, it is a very important detail.
Many thanks
from gonic.
good to hear it's working for you :) you're right about the documentation - thanks!
from gonic.
I have been trying to export the covers in each directory for two days and I have a lot of problems.
I thought that since the lastfm api is used, when folders are scanned it might gonic to export the cover as folder.jpg in each directory, something like https://github.com/desbma/sacad
That would solve the power to view all the covers.
from gonic.
wow thank you very much :) very excited about an article/podcast! ability to favorite songs will be coming soon
from gonic.
wow that's amazing! thank you for the support. i'll have to get a friend who speaks Spanish to listen to it for me :)
from gonic.
I'd love to write a pull request for this, but I'm not sure if I have the time. I can at least alert you about tag, which can extract both tags and embedded pictures from relevent audio formats.
from gonic.
I'd love to write a pull request for this, but I'm not sure if I have the time. I can at least alert you about tag, which can extract both tags and embedded pictures from relevent audio formats.
i would have loved to have used tag because it's pure go, currently gonic uses nicksellen/audiotags which is a go wrapper for taglib, a c++ project. so tag could be faster without the interop overhead. but unfortunately tag doesn't support extracting song durations which is important for some subsonic clients.
maybe it could be possible to run both at scan time, but it may slow things down a good bit
from gonic.
Really need this feature, I have 2TB of anime songs, they have a scans folder for images, but copy each img out won't be easy for a large collection, also have to rename them too
Anyway to imply a custom path for scans folder and select first image as album art?
from gonic.
as a workaround, if you have access to a unix like environment, you could automatically find all Scan folders with for example a folder.png in them. and create a symbolic link to the parent of those folders so that gonic could pick them up
for example
find /path/to/your/music/ -type d -name "Scans" -exec ln -s -t {}/.. Scans/folder.png \;
from gonic.
thank you, sadly the name for the image is different not all of them is the same and obvious not folder.png
I work around with a python script to find scans folder, copied the first image to previous folder and rename it to folder.png, but the script failed when I have too many folder path, so I gave up and wait for future embedded album art update lol
Also because I noticed not all CD have a scans folder so embedded cover still better
from gonic.
This feature and external auth (#44 (comment)) would complete Gonic for me.
from gonic.
@sentriz I've fork audiotags and add support for read embedded images for some media formats.
from gonic.
Instead of directly reading album art from ID3 tags, would it maybe be an option for the importer / scanner to detect album art inside songs and extract them to the cover.jpg file inside the album folder? Obviously this would need to be behind a toggle, but it might require less changes than reading and passing on to clients, and additionally be more in like with how gonic is designed to function.
from gonic.
While TagLib itself has a way of retrieving the embedded cover art buffer, the Go abstraction didn't implement it, so using it would be using the underlying C bindings, and at that point it's wise to look at other approaches.
I've looked at how Navidrome does it, and it seems they built their own TagLib wrapper to get that functionality.
from gonic.
Just commenting here asking if there is going to be anything in place that solves this issue. As of now all my songs have tagged album art covers with a "Scans" folder containing the images. Will this continue to be the case for gonic?
Album Release (catalog)/
├── Disc 1
│ ├── 01 song.flac
├── Disc 2
│ ├── 01 song.flac
├── Disc 3
│ ├── 01 song.flac
└── Scans
└── Box Front.jpg
from gonic.
Related Issues (20)
- Gonic crashes when Maloja is set as listenbrainz scrobble server HOT 13
- Jukebox not working correctly HOT 18
- [feature request] export playlists to m3u HOT 2
- Config setting to limit cache size
- Better documentation of GONIC_EXCLUDE_PATTERN HOT 1
- Allow setting user for docker image HOT 4
- 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
- Possibility for taglib static builds HOT 1
- 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 2
- 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: custom prefix for paths inside playlist
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.