GioF71 / audio-tools

Sample configurations for audio players (MPD, Squeezelite, Librespot etc) and media servers (Tidal, Qobuz, Navidrome, LMS) using docker-compose files
3 stars 0 forks source link

[Feature Request] enrich to have artwork & metadata while importing local files. #1

Open fr2lancer opened 1 month ago

fr2lancer commented 1 month ago

Hi

I am continuing to write a feature request.

I am not sure about this place would be good place to raise a request while I was using [upmpdcli-docker].

Just I think it would be good if we have more information for audio file to add more metadata or artwork to send more info to its upnp controller or player while local files are being scanned by uprcl or by other components in your repos.

I am also not sure how to obtain such infos from the files considering copyright etc..

I found some of relevant websites (I am pretty sure you knew them already :) )

https://beets.io/ https://picard.musicbrainz.org/ https://musicbrainz.org/doc/Cover_Art_Archive/API https://archive.org/details/coverartarchive&tab=collection

Thank you

% and.. do you know any web interface for upnp control point / player? as app such as mconnect shows basic info only ..)

GioF71 commented 1 month ago

Hi

I am continuing to write a feature request.

I am not sure about this place would be good place to raise a request while I was using [upmpdcli-docker].

Maybe it would have been better (for other to see in particular) to open in the upmpdcli-docker repository, but it's ok!

Just I think it would be good if we have more information for audio file to add more metadata or artwork to send more info to its upnp controller or player while local files are being scanned by uprcl or by other components in your repos.

One thing I must say, is that if you need specific features to be implemented to uprcl, the correct repository is this one. However, uprcl already has a good set of features, and I am in the process of adding support of its "minimserver" compatibility. There is already an issue here but I have not had the necessary time. But eventually it will come. You can already configure these aspects using the upmpdcli-additional.txt file in the /userconfig volume, but you'd be a little 'on your own', I'd like to make a little easier and provide some examples. Upmpdcli can support these tags:

ALBUM, ALBUMARTIST, ARTIST, BPM, COMMENT, COMPILATION, COMPOSER, CONDUCTOR, CONTENTGROUP, COPYRIGHT, DATE, DISCNUMBER, DISCSUBTITLE, ENCODEDBY, GENRE, GROUP, ISRC, LABEL, LANGUAGE, LYRICIST, LYRICS, MOOD, ORCHESTRA, ORIGINALARTIST, ORIGINALDATE, PERFORMER, RATING1, RELEASEDATE, REMIXER, SUBTITLE, TITLE, TOTALDISCS, TOTALTRACKS, TRACKNUMBER

So there is something that can be done to support your request.

I am also not sure how to obtain such infos from the files considering copyright etc..

I found some of relevant websites (I am pretty sure you knew them already :) )

https://beets.io/ https://picard.musicbrainz.org/ https://musicbrainz.org/doc/Cover_Art_Archive/API https://archive.org/details/coverartarchive&tab=collection

Yes, these tools can be used to store the metadata to the files, so upmpdcli (and other music library solution) can make use of those and index your music properly. I particulare have resorted to adopt Picard in the end.

Have you also considerer using navidrome / lightweight music server and the subsonic plugin? While this solution might not provide all the indexing features you request (at least currently), the plugin will alway try to provide images (taken from covers) for every entry you will encounter. Give it a try if you have a little spare time! You can start here

Thank you

% and.. do you know any web interface for upnp control point / player? as app such as mconnect shows basic info only ..)

GioF71 commented 1 month ago

An early video showing subsonic plugin for upmpdcli: here And another one for the tidal plugin: here

They are both quite outdated now, those plugin have progressed considerably. In particular, they can now show quality badges (thing like 16/44, 24/96, Lossy, etc). For the subsonic plugin, this feature currently only works when using Lightweight Media Server. Navidrome with get there when they finish implementing this change. I'm sure it will happen pretty soon, they already are supporting two of the three fields that are required. One between bitDepth or sampleRate is still missing on their app. Anyway even if they are outdated, they can give you an idea of the basic functionality.

fr2lancer commented 1 month ago

Thanks for your suggestions :)

fr2lancer commented 1 month ago

so Navidrome or subsonic can be a web ui for upnp (or local files) service?

GioF71 commented 1 month ago

so Navidrome or subsonic can be a web ui for upnp (or local files) service?

well you can create a media server for a subsonic server, so you can play songs from navidrome (intended as the media server, not its own interface) to your upmpcli/mpd stack, or any upnp renderer.