TagLib# (or TagLib-Sharp) is a C# library for reading and writing most common formats of metadata (both "tags" and media properties) for audio, video, and picture formats.
Questions tagged [taglib-sharp]
130 questions
0
votes
1 answer
Function not working in Form Load, but works everywhere else
I'm using the function below to add items to a DataGridView.
void addFiles(List files)
{
foreach (var item in filesFound)
{
if (File.Exists(item))
{
fileList.Add(item);
MessageBox.Show(item);
…
user4838695
0
votes
0 answers
TagLib-sharp Save() in MP3 files without any existing tags
How can I save ID3v2 tags to an mp3 file that is not tagged? When I try, the hard drive begins to buzz and it takes almost 5 minutes or longer until the tags were stored. If the mp3 file already has ID3v2 tags, it goes great.

kendoo
- 229
- 1
- 10
0
votes
1 answer
TagLib: How to disable creating TDAT TIME TYER tags when setting TDRC
I am trying to use TagLib# for sorting some of the tags in my MP3s, as my car audio has problems with content of some tags (irrelevant for showing). Surely i want just sort the tags, not generate new ones or replace existing. In ideal case only…

Vasilich
- 83
- 7
0
votes
2 answers
How to set the 'COMPILATION' tag in iTunes using taglib-sharp?
Is it possible to set the COMPILATION tag in iTunes using taglib-sharp?
Unfortunately, there seems to be nothing similar to this:
TagLib.File tagFile = TagLib.File.Create(file); //.m4a file
tagFile.Tag.IsComilation = true;
tagFile.Save();
If not…

kf198
- 35
- 1
- 5
0
votes
1 answer
C# Custom mp3 tag with tagLib sharp library
I'm trying to read and write a custom tag into a MP3 file. I followed this code here; adding custom tag using tagLib sharp library
I'm using Visual Studio 2015 and have done the following;
Installed taglib-sharp with NuGet, running the following…

HeavyHead
- 310
- 3
- 11
0
votes
1 answer
Editing source code of taglib-sharp (audio metadata)
I'm using a program within Powershell called MPTag (Found here: http://powershell.com/cs/media/p/9129.aspx). I want to be able to add a leading zero to track numbers if they are single digits (ie. I want "Track 1" to be "Track 01") but MPTag doesn't…

Matthew Goode
- 105
- 1
- 9
0
votes
1 answer
Powershell editing metadata, need leading zero before track numbers 1-9
I'm using this module, called MPTag, in Powershell: http://powershell.com/cs/media/p/9129.aspx
It's used for editing an audio track's metadata. It works great, but I need to add leading 0's to track numbers and it's not accepting the leading zero.…

Matthew Goode
- 105
- 1
- 9
0
votes
0 answers
Determine if Lossless using TagLib
I'm working on a little project for my own personal use in VB.NET which relates to multimedia (audio and video) files.
I've added TagLib to my project via NuGet, and am slowly finding ways to get the information from my files using it.
One thing i…

Salem874
- 23
- 8
0
votes
1 answer
Can't add image keywords if there were no keywords to begin with, Taglib-Sharp
I'm trying to add metadata keywords to image files using Taglib-Sharp. My problem is that the following code:
image.ImageTag.Keywords = (string[])newTags.ToArray(typeof(string));
image.Save();
does nothing if there are no keywords in the file to…

chrispytoes
- 1,714
- 1
- 20
- 53
0
votes
1 answer
Reading ID3 data of MP3 files encoding issue
I'm using TagLib to read ID3 data.
I can't read data properly from ID3 tag when they contain cyrillic characters.
(I'm getting something like "²íòó³ö³ÿ").
Here is my code:
TagLib.File f = TagLib.File.Create(songFileName);
string title =…

BIKTOP
- 123
- 1
- 2
- 7
0
votes
1 answer
Taglib not saving full tags
I'm using taglib# to input mp3 title and artist names as metadata parsed from file names. To do this, I'm essentially looping through a list of file names, parsing the names, creating a taglib file, changing the tags, then saving and disposing of…

nicholaschiasson
- 96
- 1
- 5
0
votes
1 answer
What could be causing VS to have an error building taglib-sharp?
Access denied from generating Win32 resource.
Screenshot:

Fluffy Sebbert
- 347
- 2
- 12
0
votes
0 answers
Does TagLibSharp lock a file?
Unfortunately I don't have direct access to my code at the moment, but the application does the following:
Get a string[] files = Directory.GetFiles(dir, "*.mp3", SearchOptions.AllDirectories);
Iterate over each file in files and get a generic Tag…

sab669
- 3,984
- 8
- 38
- 75
0
votes
1 answer
Can cover art be stored in the METADATA_BLOCK_PICTURE field of a Vorbis Comment tag using TagLib#?
Can cover art be stored in the METADATA_BLOCK_PICTURE field of a Vorbis Comment tag on an Ogg Vorbis file using TagLib#?

Andre Belzile
- 131
- 1
- 6
0
votes
1 answer
TAGLIB - An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
I have a small console app that browses through a set of folders and tries to set the ID3Tag properties.
ScrPathn Album and Artist are String constants.
static void Main(string[] args)
{
List dirs = new…

BrilBroeder
- 1,409
- 3
- 18
- 37