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
2
votes
1 answer
TagLib-Sharp - Retagging files
im about to create a small tool, which recreates all tags on my mp3 files.
Because they are in a mess, i want to remove all tags and recreate them with the correct values.
Doing so ive encountered the problem that im not able to set the tag…

SyLuS
- 103
- 1
- 10
2
votes
1 answer
Where can I find the source code for the TagLib# library?
Some time ago on the ID3 Implementations web page I found TagLib# to be quite useful library for handling tags in audio files.
However when I recently tried to get the latest code from the http://developer.novell.com/wiki/index.php/TagLib_Sharp I…

Regent
- 5,502
- 3
- 33
- 59
2
votes
2 answers
C# using TagLib Sharp - Wrong Rating Number?
Hey programming community. So I'm using TagLib Sharp library to fetch the metadata from my .mp3s. Everything is going great with one exception. I can read the rating from my MP3s of they're whole numbers (set my Musicbee). Meaning
Stars
5 =…

Kerry White
- 416
- 2
- 10
2
votes
2 answers
How do i stop the variable from resetting
In my code I have a method with the two parameters.
One parameter takes in an int value and the other an array.
e.g
public void NextSong(int i, TagLib.File[] queue)
{
i++;
SONG_URL = queue[i].Name;
Stop();
Play();
}
My problem…

itsthatblackkid
- 309
- 3
- 13
2
votes
1 answer
using taglib# to extract mp3 tags
How would i use taglib to extract the id3 tags of an entire folder of mp3 files, I am currently only able to get it to extract the tag of say genre for one mp3 file at a time.I need to be able to extract the id3 tag from an entire folder of mp3…

Josh .O'Neill
- 23
- 4
2
votes
1 answer
Read APEv2 mp3 tag with TagLibSharp?
SCENARIO
I normally use the MP3Gain application to set the replay gain of mp3 files.
The application can create these fields in the APEv2 tag of mp3 files:
(screenshot is taken from WinAmp player)
QUESTION
With TagLibSharp library I wrote a ID3v1…

ElektroStudios
- 19,105
- 33
- 200
- 417
2
votes
1 answer
adding custom tag using tagLib sharp library
Is it possible to add custom tags (say "SongKey: Em") to an mp3 file using TagLib# libary?

Omri Btian
- 6,499
- 4
- 39
- 65
2
votes
0 answers
TagLib# using "/" as separator in Performers tag?
The code I'm using...
For Each file As String In My.Computer.FileSystem.GetFiles(directory)
Dim fi As FileInfo = New FileInfo(file)
If isNotMusic(fi.Extension.ToString) = True Then Continue For 'Checks file extension for non-music files; if…

Fluffy Sebbert
- 347
- 2
- 12
2
votes
2 answers
How can i read 'Encoded by' information of Mp3 File?
I can read album, artist, title and etc. with Taglib-sharp but i couldnt find out how to read 'encoded by' field like itunes does.

c36ab7c4
- 75
- 4
2
votes
0 answers
Access is denied 0x80070005 in windows phone 8.1 when I open stream to write with taglib sharp portable
there.
I have a little problem with taglib sharp portable.
I want to open a stream from music library and I want to rewrite properties of a file.
My code is:
StorageFolder musicFolder = KnownFolders.MusicLibrary;
StorageFile file = await…

G.F
- 135
- 10
2
votes
1 answer
Convert a [System.Drawing.Bitmap] to [File.IFileAbstraction]
Task
In PowerShell, I want to add a picture as ID3V2 tag with the help of taglip-sharp library.
Usually you do it this way:
# Load taglib-sharb library
[Reflection.Assembly]::LoadFrom( (Resolve-Path "..\Common\taglib-sharp.dll"))
# Load MP3…

nixda
- 2,654
- 12
- 49
- 82
2
votes
1 answer
"MPEG audio header not found" error when opening with TagLib after converting with ffmpeg
I converted a wma file simply by doing something like this...
ffmpeg -i song.wma -f mp3 song.mp3
I can then play the mp3 file in Windows Media player, so it looks like the conversion worked.
However, if I try to open the file in TagLib, I get an…

Avrohom Yisroel
- 8,555
- 8
- 50
- 106
2
votes
1 answer
Set Bitmap as cover art for MP3
I have been trying to set a bitmap as cover art for a MP3 but I can't seem to get it working. It isn't throwing any errors but when I play the MP3 the bitmap isn't showing.
This is what I currently have:
TagLib.File f =…

jLynx
- 1,111
- 3
- 20
- 36
2
votes
1 answer
TagLib-Sharp - Can it read/write chapter marks?
I am trying to read chapters from mp4 video files. I don't see this in the File.Tags list, but I was hoping there was a way to get them via requesting the chap atom.
I did try mp4chap, but it only gets me the first chapter. I think it may be meant…

DanO
- 21
- 3
2
votes
1 answer
Writing Custom MPEG4 Tags (stik, TVSeasonNum, etc.)
I'd like to us Taglib-Sharp to a small media organizer program I am working on. I want to write metadata to a MPEG4 file things like artwork and what not I have figured out. However Apple uses some custom tags for classificing something as "HD" or a…

Matthew M. Osborn
- 4,673
- 4
- 25
- 26