gbcox 13 Posted November 20, 2021 Posted November 20, 2021 (edited) Found something odd, and I can't figure it out. Specifically, I added a bunch of albums by the artist Daddy Yankee. In emby his name is being displayed as "daddy_yankee". I looked at the metadata and it says it is retrieving from: daddy_yankee-musicbrainzartist-2f522f5c-111c-4ce8-8bd0-d82e97c227ad but when I go to musicbrainz, it's in there as Daddy Yankee? If this is a musicbrainz issue I can escalate there, but being new to emby, not sure. musicbrainz of course allows you to search for daddy_yankee, but again the main record it points to is Daddy Yankee. Thanks! P.S. Just checked my tags and the tag there is also Daddy Yankee. Weird eh? Also, noticed this is happening to my albums in my various folder. The musicbrainz tag which is returned is correct: 89ad4ac3-39f7-470e-963a-56509c546377 But this should be displayed as Various Artists, instead it is just displayed as various Edited November 20, 2021 by gbcox
Happy2Play 9783 Posted November 20, 2021 Posted November 20, 2021 Can you show specific examples, but it normally comes back to embedded metadata.
gbcox 13 Posted November 20, 2021 Author Posted November 20, 2021 (edited) I deleted the first music library and restarted emby to start from hopefully scratch. A little background, I'm investigating migrating over from Plex to emby. Yesterday I installed emby and am doing test by only migrating certain directories, so I can discover issues before I jump in. Not sure what you mean by specific examples. My system is linux, so all my directorys are in the artist_name format. So I have a upper level directory called emby_music which I add to the library. Within emby_music, the next layer is the artist_name, then the next layer is a folder for each individual album. I loaded several folders into emby: daddy_yankee, farruko, j_balvin, lucas_lucco, maluma, zz_top daddy_yankee and zz_top show incorrectly, j_balvin displays correct. You can see from the emby_artists.png how the names are incorrect. Then look at the track_daddy.png which shows when I played a track. Notice that emby is reporting daddy_yankee as artist and album artist. Then look at the tag display from picard, it clearly shows that the embedded tags for the file are Daddy Yankee for both artist and album artist. Here is what ffprobe says about the track: Input #0, flac, from '01_intro.flac': Metadata: DATE : 2005-05-17 track : 1 TITLE : Intro GENRE : Latin TOTALTRACKS : 23 ALBUM : Barrio fino ARTIST : Daddy Yankee CDDB : 5f10c017 ACOUSTID_ID : 65d2fc2a-4612-4567-8198-d4d98f714c52 MUSICBRAINZ_RELEASEGROUPID: 5fa20be8-ea07-31bd-a915-f12a3ab8495e ORIGINALDATE : 2004-06-13 ORIGINALYEAR : 2004 RELEASETYPE : album MUSICBRAINZ_ALBUMID: 0b0e84e9-a01f-41bc-bc5b-4d0322983076 ASIN : B0009WXGH8 MUSICBRAINZ_ALBUMARTISTID: 2f522f5c-111c-4ce8-8bd0-d82e97c227ad album_artist : Daddy Yankee ALBUMARTISTSORT : Daddy Yankee RELEASESTATUS : official LABEL : Polydor CATALOGNUMBER : 9883424 BARCODE : 0602498834244 SCRIPT : Latn RELEASECOUNTRY : GB TOTALDISCS : 1 disc : 1 MEDIA : CD MUSICBRAINZ_TRACKID: e1b50f74-02e1-407f-8ee6-82feb32769dd MUSICBRAINZ_ARTISTID: 2f522f5c-111c-4ce8-8bd0-d82e97c227ad ARTISTSORT : Daddy Yankee ARTISTS : Daddy Yankee MUSICBRAINZ_RELEASETRACKID: eb0d72b5-ab28-3808-a4f6-fea71bf39a5d TRACKTOTAL : 23 DISCTOTAL : 1 Duration: 00:01:19.36, start: 0.000000, bitrate: 841 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 When scanning this directory with Plex, no issues whatsoever. It displays everything correctly - and weirdly enough J Balvin is working correctly. Here is the url for Daddy Yankee on musicbrainz: https://musicbrainz.org/artist/2f522f5c-111c-4ce8-8bd0-d82e97c227ad The tag matches what emby says it is using as it's metadata (as I reported in the initial post), yet something isn't working correctly. As I mentioned, I'm coming from Plexland so not familiar with where you folks store all the different information. If you tell me where to look, hopefully we can solve this. It's weird, and I really am puzzled how this is happening out of the gate with a vanilla install. Thanks much! Edited November 20, 2021 by gbcox
gbcox 13 Posted November 20, 2021 Author Posted November 20, 2021 OK, I've been hacking around with this and it appears under certain circumstances, which I haven't figured out yet, the emby uses the top folder name (artist). For example, it was using daddy_yankee as the artist name, but when I changed the folder name to "daddyyankee" it started using the Album Artist name. However j_balvin which was working properly, if that folder name was changed to jbalvin, then instead of using J Balvin, it started using j_balvin - and I have no idea where that came from - since it isn't in any of the tags and no longer in the folder name. If it were a musicbrainz issue, I could go in and submit a change, but I looked on their side and didn't see anything wrong.
Happy2Play 9783 Posted November 20, 2021 Posted November 20, 2021 Yes as flac files technically do not support id3 tags. WAV files are the same. Quote flac use vorbis tags, which are the 'flac tags' equivalent to mp3's id3 tags. id3 tags are not normally, and should not be used on flac's. Some programs do incorrectly write id3 tags to flac files which can cause some problems with other programs. Difference between "flac tags" and "ID3 tags& - MediaMonkey forum On 9/28/2021 at 8:44 AM, Luke said: ffprobe does not see the album artist, so what we can do as a last resort, when the album artist is empty, if you have library structure option configured to artist/album folders, then we can take the artist folder name as the name of the album artist. Update album artist tag fallback But in the end Emby reads tags with ffprobe, so only way to validate is to check with ffprobe to see what it sees.
Luke 42081 Posted November 20, 2021 Posted November 20, 2021 Right it only uses the folder name when there is no embedded album artist value. Can you provide a copy of that track for testing? Thanks.
gbcox 13 Posted November 20, 2021 Author Posted November 20, 2021 5 hours ago, Happy2Play said: Yes as flac files technically do not support id3 tags. WAV files are the same. Update album artist tag fallback But in the end Emby reads tags with ffprobe, so only way to validate is to check with ffprobe to see what it sees. OK, but I'm not using id3 tags? Where did you get that idea? 5 hours ago, Happy2Play said: Yes as flac files technically do not support id3 tags. WAV files are the same. Update album artist tag fallback But in the end Emby reads tags with ffprobe, so only way to validate is to check with ffprobe to see what it sees. I'm confused, I listed ffprobe data above. What am I missing?
Luke 42081 Posted November 20, 2021 Posted November 20, 2021 Can you provide a copy of that track for testing? Thanks.
gbcox 13 Posted November 20, 2021 Author Posted November 20, 2021 Yes, but I just did a test, clearing out all my cache and then just rebuilding the music library with that one track. It seemed to work fine, so that probably isn't it. Is the behavior that if one track within an artist directory is found without album_artist that it immediately defaults the entire artist to the folder name? That's the only thing that I can think of that appears to be happening. I'm going to write a metaflac script to check my entire library and report tracks that don't have album artists, then correct those and see if it works. 1
gbcox 13 Posted November 20, 2021 Author Posted November 20, 2021 While I'm doing that, quick question... shouldn 't the logic be if the ALBUMARTIST tag does not exist, use the ARTIST tag before using the folder name?
Luke 42081 Posted November 20, 2021 Posted November 20, 2021 26 minutes ago, gbcox said: While I'm doing that, quick question... shouldn 't the logic be if the ALBUMARTIST tag does not exist, use the ARTIST tag before using the folder name? Yes that's what it already does. 1 hour ago, Luke said: Can you provide a copy of that track for testing? Thanks.
gbcox 13 Posted November 20, 2021 Author Posted November 20, 2021 33 minutes ago, Luke said: Yes that's what it already does. 01_intro.flac
gbcox 13 Posted November 20, 2021 Author Posted November 20, 2021 After I hacked around with the folder name and got it correct, I can't seem to reproduce it now on that file. Is this information stored within emby in another location besides emby/cache? Is there somewhere else I need to clear?
Luke 42081 Posted November 20, 2021 Posted November 20, 2021 OK in 4.6.6 I can reproduce a regression related to this. We're looking into it. Thanks.
Luke 42081 Posted November 20, 2021 Posted November 20, 2021 OK sorry I'm wrong, I don't think there's a regression here. Emby Server 4.6.X is on ffmpeg 4.3, and it appears that it just doesn't read the album artist tag from your flac file. In the beta server we've updated to ffmpeg 4.5 and it does, so that's good news for our future updates. Thanks.
gbcox 13 Posted November 21, 2021 Author Posted November 21, 2021 Thanks, in the meantime I wrote a quick script to walk my music directories and add an ALBUMARTIST tag if it was missing. That circumvented the issue and gave me the impetus to do some tag cleanup.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now