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
TagLib-Sharp not editing comment property
I've been trying to edit some of the properties of a .mp3 using TagLib-Sharp (id3v2). But for some reason Tag.Comment doesn't seem to make any changes on the comment property. The other tags are working flawlessly.
My aim is to store a link in one…

hudriwudi
- 21
- 5
0
votes
1 answer
How can you iterate through a wpf TreeView's items, adding new items if they don't already exist and/or as children of existing items?
I'm working on a program for my dissertation that hopefully, when finished will enable you to sort music files using the tag data. At the moment I have a wpf tree view that I want to display a list of all the music the program has found sorted by…

Jonathan
- 1
- 2
- 2
0
votes
1 answer
Decimal position using "Beats per minute" in taglib-sharp
i'm using taglib-sharp to read BPM tag in a mp3 music folder. The code is like this:
Dim f As TagLib.File = TagLib.File.Create(File)
Dim bpm As String = f.Tag.BeatsPerMinute
The files BPM tag contains decimal numbers but the code returns an…
0
votes
1 answer
How to read the file rating from an mp4 file?
As the title says, can I read/write windows explorer compatible file rating data to and from mp4 video files?
It seems that windows explorer adds (a tag?) named "WM/SharedUserRating" with the corresponding data. This tag seems to be part of the ASF…

Michael
- 1,931
- 2
- 8
- 22
0
votes
1 answer
Why is TaglibSharp unable to read my Id3v2 tag?
I have the following code:
memoryStream is a stream that reads an aac file from an HLS stream. So it will be a packed AAC with ID3 tags in the beginning.
using var tagFile= TagLib.File.Create(new StreamFile(memoryStream), "audio/aac",…

SamIAm
- 2,241
- 6
- 32
- 51
0
votes
0 answers
Can taglib-sharp be called from Visual Basic 6?
I still use Visual Basic 6 (VB6) for random personal coding and I need to read and write some FLAC tags (meta tags for music files) and if I knew how to access the library I would be able to code it quickly in VB6 where I would have to learn VB dot…

DonJuane
- 11
0
votes
0 answers
TagLib is not saving ID3 Tags
I have a problem with TagLibSharp v2.2.0.
I’ve been looking for solutions on the internet for quite some time. In the process I found things like e.g. which can force TagLib to save in a specific version
TagLib. Id3v2. Day. DefaultVersion =…

Luuke
- 141
- 1
- 10
0
votes
1 answer
How do you add a picture to the ID3 Album tag using taglib#
I've been searching the internet and trying various methods to save a picturbox image to the the id3 Album picture tag. One sample code says the Album cover tag name is taglib.ipicture another says taglibVariable.Image and yet another says…

Don6558
- 351
- 1
- 4
- 11
0
votes
1 answer
TglibSharp i cant write to the metadata of an mp3 song
I have been trying to read/write metadata of mp3 files.I searched around a bit and found out i could use Taglibsharp in order to do it.Reading the metadata works perfectly however when i try to write in order to change a tag for example the title…

kazz
- 21
- 2
0
votes
1 answer
taglib-sharp not tagging mkv files
I'm using taglib-sharp to write tags to video files. It's able to write tags just fine to mp4 files, but I can't get it to write tags to mkv files. I've tried various applications to view the metadata, but none of them can see any, including…

jamerst
- 65
- 1
- 7
0
votes
2 answers
Determine the length (in milliseconds) of an mp3 file in VB.net
Is there a way to get the time length of an mp3 in VB.net? I have TagLib, but it doesn't seem to have any functionality for it.

ptigers9
- 99
- 1
- 2
- 5
0
votes
1 answer
taglib-sharp: Retrieving the ChannelMode of an MP3 File
I am using the taglib-sharp library in my C# Win Forms application to retrieve the duration and bit rate of MP3 files. A code snippet follows:
TagLib.File tagFile = TagLib.File.Create(myMp3FileName);
int bitrate =…

M. Russell
- 3
- 3
0
votes
1 answer
Taglib rename file on save
I'm trying to write a program that would let me modify the tags of mp3 files, to do this I'm using Taglib with c++11.
I understood how to change the tags of a file but I'm not sure how (or even if) I can rename the file when saving it.
Let's say i…

John Doe
- 1,613
- 1
- 17
- 35
0
votes
1 answer
taglib How can I stop ID3 tags from automatically being written?
I'm using taglib to remove ID3 tags from my files. Every time I erase all the ID3v2 tags ID3v1 tags are created and vise versa. Basically I don't want any ID3 tags. I wanted the user to pick whether they wanted ID3v1, ID3v2 or None. Do you have any…

NPS
- 31
- 1
- 5
0
votes
1 answer
TagLib.Sharp on a website (vb.net) (Type 'TagLib.File' is not defined)
(Coding for VB.NET)
I am working with the TagLib-Sharp. I really enjoy how it works.
Very simple and straight forward. Well, within VS, it is, anyway.
I took the files and placed them on my web server, of which included the BIN folder that VS…

CodingEE
- 129
- 2
- 14