# Mp3 tags from files to mysql database

**URL:** https://community.mp3tag.de/t/mp3-tags-from-files-to-mysql-database/61242
**Category:** Support
**Created:** [June 12, 2023, 12:09am UTC](https://community.mp3tag.de/t/mp3-tags-from-files-to-mysql-database/61242 "2023-06-12T00:09:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Wws911](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/9e8a1a/32.png) [@Wws911](https://community.mp3tag.de/u/Wws911)
#### Post date: [June 12, 2023, 12:09am UTC](https://community.mp3tag.de/t/mp3-tags-from-files-to-mysql-database/61242/1 "2023-06-12T00:09:52Z")

</div>

Hi guys..

I am writing jukdbox application .. i would like too

1. scan all mp3 files
2. Save all tag info int my databases

Is there a plugin or dll that i can reference the read id tag ..

If so plse can somebody tell me a way to foward..

Exampe for [vb.net](http://vb.net) or c# would be great..

I want to also be able to detect bad files.. is there a way with this ..

So basicly i would read f

1. file path.
2. Id3 tags. Artists inf ect into a sql database table so i can performe sort by artist ect because so that i Dont have to read the tag everytime..

And to reduce i/o on slo drive or large folder

Thanks  
Wayne

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 12, 2023, 5:13am UTC](https://community.mp3tag.de/t/mp3-tags-from-files-to-mysql-database/61242/2 "2023-06-12T05:13:26Z")

</div>

> [@Wws911](#):
>
> Is there a plugin or dll that i can reference the read id tag ..

No, there are no plugins for Mp3tag.

You could try TagLib# (TagLib sharp):

> **[GitHub - mono/taglib-sharp: Library for reading and writing metadata in media...](https://github.com/mono/taglib-sharp)**
>
> Library for reading and writing metadata in media files - GitHub - mono/taglib-sharp: Library for reading and writing metadata in media files

Example code is available on the mentioned website.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [June 12, 2023, 5:30am UTC](https://community.mp3tag.de/t/mp3-tags-from-files-to-mysql-database/61242/3 "2023-06-12T05:30:47Z")

</div>

You could use an export script to create an output to be imported to your database.

> [@Wws911](#):
>
> I want to also be able to detect bad files.. is there a way with this ..

MP3tag is mainly concerned with the tag part of a file, not the audio part.  
See here to check the files for errors:

> [@How to check files for errors?](https://community.mp3tag.de/t/how-to-check-files-for-errors/44633):
>
> It’s required and often helps to reduce support cycles to check files for errors before filing a bug report. Symptoms of erroneous files are often missing or wrong bitrate or length audible blips or skips tags seem to be sticky and cannot be removed There are some really good tools to check the files for errors, namely MP3 Diags — identifies many different issues in MP3 files Website: [http://mp3diags.sourceforge.net](http://mp3diags.sourceforge.net) Download: [MP3 Diags - Getting MP3 Diags](http://mp3diags.sourceforge.net/010_getting_the_program.html#binWindows) If the font size in MP3 Diags is …

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [July 12, 2023, 5:31am UTC](https://community.mp3tag.de/t/mp3-tags-from-files-to-mysql-database/61242/4 "2023-07-12T05:31:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
