Questions tagged [taglib-sharp]

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.

130 questions
1
vote
1 answer

Edit video metadata tags of MP4 files

I want to edit following video tags of MP4 files like Title, Subtitle, Rating, Coment, Author. I have search alot and find solution Taglib sharp. But taglib sharp only edit title and comment. I also explore Directshow and UltraD3lib but my problem…
Muhammad Umar
  • 3,761
  • 1
  • 24
  • 36
1
vote
1 answer

The latest TagLib port for C#?

Does anybody know where can I download C# wrapper for the latest TagLib version? The latest version I use is from the Mono package: https://github.com/mono/taglib-sharp But it doesn't support tags of some WAV formats.
Murat Korkmaz
  • 1,329
  • 2
  • 19
  • 37
1
vote
2 answers

Good way to write ID3v2 track number as string in C#?

Forgive me if this question is already answered somewhere on this site, but I didn't find anything when I searched for it. I've written a ID3v1/2 tag editor for .mp3 files in C# using taglib-sharp, and taglib-sharp treats the track numbers as uint…
Eric
  • 11
  • 3
1
vote
1 answer

TagLib Sharp returning blank artist when mp3 has artist listed

When retrieving the artist tag using TagLib Sharp, I've had some issues. Out of my 3000 or so songs, a few hundred had an empty string for the artist. However, in Windows Media Player and Windows Explorer (Under Contributing Artist), they have a…
Wilson
  • 8,570
  • 20
  • 66
  • 101
1
vote
0 answers

TagLib lacks video-metadata properties?

I've been trying to set extended properties of mp4 such as Director and Publisher, but those are nowhere to be found when I browse the File.Tag suggestions that visual studio gives me. Perhaps I'm just using a bad library or something, or could…
BubbaXXL
  • 11
  • 2
1
vote
1 answer

How to use TagLib# to gain VideoHeader information from Video Files

I am creating a program to access information on different types of files, I have so far been successful mostly with MP3 files and am now working on the video MPG etc types. So far I have been able to obtain Video Title, Year, Duration, Genre, video…
Adsy2010
  • 525
  • 6
  • 23
1
vote
1 answer

taglib# cannot save tag

I try to make app which will load and edit id3 tags. I decided to use taglib for that. Everything works fine, but when i try to save edited tag it falls on IOException "The process cannot access the file ...". Heres code: TagLib.File f =…
mmaverikk
  • 223
  • 1
  • 12
0
votes
1 answer

Data Binding with TagLib#

So I'm trying to use the TagLib library with Databinding but I'm having trouble turning it into a property that is bindable. Any help is appreciated, thanks. Here is what I have so far, I don't understand what I'm doing wrong: public TagLib.File…
kmaz13
  • 260
  • 1
  • 5
  • 14
0
votes
1 answer

Error when get a string from database use with TagFile open mp3 c#

After getting the path of an mp3 file in the database, I used that path to create a TagLib.File but couldn't read the string. My database I used is Microsoft SQL Server 2019. using(var db= new KhangDuong()) { var…
0
votes
0 answers

c# writing tag in audio file during playing. Is it possible?

I made a c# player with WMPLib and TagLib. My files are listed in a listview, i can click right on a row and in a popup add some tag (Year, rating...). When the file is not playing, the tags can be saved in the file ( wav format) but not when…
Stegau
  • 5
  • 2
0
votes
0 answers

Access to the path is denied when updating .mp3 file property

I'm running ConsoleApp in Visual Studio as an Administrator. I have a folder called temp which contains few .mp3 files. The temp folder is located at C:\music\temp I have the following code which get's the .mp3 files from the temp location cleans…
Red Virus
  • 1,633
  • 3
  • 25
  • 34
0
votes
1 answer

Insert values into an Access Database that contain brackets/braces

Using taglib-sharp and OleDb, I'm attempting to index a folder of music files and store all the metadata from said files in an Access Database (I'll probably switch to SQL Compact or something later but the book I have uses Access). The below code…
stephenfin
  • 1,447
  • 3
  • 20
  • 41
0
votes
1 answer

Change TagLib tag depending on string

I'm working on an audio tagger and one of its features is basically detecting if the checkbox with the tag name is checked and if the value in the textbox is changed. This is the code I used so far: if (chbAlbum.Checked == true && tbAlbum.Text !=…
0
votes
1 answer

Adding JPG comment with TagLibSharp showing up as Chinese in Windows File Explorer

Newbie here trying to figure this out. Any help, please, would be greatly appreciated! I have a .net V4.8 console app utilizing the TagLibSharp V2.2.0 library which updates a JPG with a comment string. If I update the JPG comment with a string…
Dan
  • 41
  • 4
0
votes
0 answers

Extract Album Art from an mp3 using C# not Taglib-Sharp

First of all, I'd better say that I'm a beginner in programming. Taglib-sharp seems too slow for getting metadata of an mp3 especially when it is used for a lot of mp3 files and also it takes a lot of memory and surprisingly it doesn't make it free…
Hamed
  • 1
  • 1
1 2 3
8 9