AudioMuse-AI icon indicating copy to clipboard operation
AudioMuse-AI copied to clipboard

[FEEDBACK] Author field in DB filled from almost random metadata field

Open bakker opened this issue 1 year ago • 2 comments

I'm wondering where the data for the "author" field comes from in the database, as the data seems to be chosen randomly out of the 3 relevant metadata fields on a song: Album Artist, Track Artist, Composer. Especially for non-classical music it seems to me that the logical field would be the Track Artist. AudioMuse-AI DB:

Image

Lyrion:

Image

Mp3Tag:

Image

Getting the info fot this field from 1 specific field would probably also help with getting a consistent result for "Limit songs per artist in results" on the playlist from similar song feature

bakker avatar Oct 10 '25 11:10 bakker

Thanks for sharing this feeedback. I just build it in the :devel image. Will be nice if you can download it and re-run the test and share your feedback.

The new implementation check different field inthe below order (you go on the or only if the previous field is empty or null), giving priority to trackartist as you suggested:

sk_artist = (st.get('trackartist') or st.get('contributor') or 
            st.get('artist') or st.get('albumartist') or 
            st.get('band') or 'Unknown Artist')

NeptuneHub avatar Oct 16 '25 15:10 NeptuneHub

I'm going to close due to no news on it. In case new issue will raise please feel free to open a new one. thanks!

NeptuneHub avatar Oct 19 '25 17:10 NeptuneHub