- Thread starter
- Moderator
- #41
doens't work.You need to re-import audio share (remove share and add it again), did you do that?
Artist is always displayed.
doens't work.You need to re-import audio share (remove share and add it again), did you do that?
So, in conclusion these are not supported by TagLib because they are not standard tags?
I tried looking through all properties returned by the TagLib object and none of them contained the contents of the ARTISTS tag. How exactly do you mean that I can get access to the contants of the ARTISTS tag through the MusicBrainz... properties?No, you can access them by using the MusicBrainz.... Properties that I listed above
I tried importing an MP3 with ARTIST = "Anderson .Paak; André 3000" and ALBUMARTIST = "Anderson .Paak". In MP2 "Anderson .Paak" is the only album artists shown with album artists filter, while the artists filter shows "Anderson .Paak" and "André 3000". To me, it looks like it works like it should. Without more information I can't investigate the issue further.Artist is always displayed.
Anderson paak work now if remember fine.I tried importing an MP3 with ARTIST = "Anderson .Paak; André 3000" and ALBUMARTIST = "Anderson .Paak". In MP2 "Anderson .Paak" is the only album artists shown with album artists filter, while the artists filter shows "Anderson .Paak" and "André 3000". To me, it looks like it works like it should. Without more information I can't investigate the issue further.
Samples of the files causing the issue?But others not, what do you need for looking issue?
sorry, missing time with the work.Samples of the files causing the issue?
I tried looking through all properties returned by the TagLib object and none of them contained the contents of the ARTISTS tag. How exactly do you mean that I can get access to the contants of the ARTISTS tag through the MusicBrainz... properties?
using System;
using TagLib;
using TagLib.Id3v2;
namespace TaglibTest
{
class Program
{
static void Main(string[] args)
{
try
{
TagLib.ByteVector.UseBrokenLatin1Behavior = true;
File file = File.Create(@"d:\Downloads\Music\01 - Come Home (Feat. André 3000).mp3");
// Get the Id3v2tag, if the fileis mp3
TagLib.Id3v2.Tag id3v2tag = null;
try
{
if (file.MimeType.Substring(file.MimeType.IndexOf("/") + 1) == "mp3")
{
id3v2tag = file.GetTag(TagTypes.Id3v2, false) as TagLib.Id3v2.Tag;
}
}
catch (Exception ex)
{
Console.WriteLine("File Read: Error retrieving id3tag");
return;
}
if (id3v2tag != null)
{
foreach (TagLib.Id3v2.Frame frame in id3v2tag.GetFrames())
{
var frameId = frame.FrameId.ToString();
if (frameId == "TXXX" && (frame as UserTextInformationFrame).Description.ToLowerInvariant() == "artists")
{
// we could have multiple of them
foreach (var field in (frame as UserTextInformationFrame).Text)
{
Console.WriteLine($"MusicBrainzArtist: {field}");
}
}
}
}
Console.ReadLine();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
Console.WriteLine(ex.StackTrace);
Console.ReadLine();
}
}
}
}