# command line support/visual basic

**URL:** https://community.mp3tag.de/t/command-line-support-visual-basic/18068
**Category:** General Discussion
**Created:** [June 27, 2016, 1:30pm UTC](https://community.mp3tag.de/t/command-line-support-visual-basic/18068 "2016-06-27T13:30:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![haxbo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/dc4da7/32.png) [@haxbo](https://community.mp3tag.de/u/haxbo)
#### Post date: [June 27, 2016, 1:30pm UTC](https://community.mp3tag.de/t/command-line-support-visual-basic/18068/1 "2016-06-27T13:30:02Z")

</div>

Hi, i came across mp3tag when i was looking to edit extended tags with VB. there is a DLL called DSOFILE.DLL which would let you change file tags, but development was stopped some time ago.

long story short; i am using mp3tag slightly differently from what it was intended because i am using it for re-tagging TV Show's and Movie's. so as many of you will know when you import something into iTunes and it doesn't recognise it, it defaults to Home Movie. even if you change the tag in iTunes, if you re-import all your stuff into a different itunes library you lose the tagging. mp3tag can obviously do this, but i want to be able to run something where i can loop thru all my filenames and re-tag everything.

maybe you can do this with a script?

maybe i am asking something that the program was never intended to be used for?

thanks in advance

Mike

---

<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 27, 2016, 5:47pm UTC](https://community.mp3tag.de/t/command-line-support-visual-basic/18068/2 "2016-06-27T17:47:55Z")

</div>

> [@haxbo](#):
>
> ... even if you change the tag in iTunes, if you re-import all your stuff into a different itunes library you lose the tagging. ...

If you change the tag version of a file, iTunes writes the tag information from the library into the tags.

You can also export from an iTunes library, transform that data to a text file one line per record format and import that data with the help of MP3tag into the files - provided the target files support metadata.  
To see more about the features of MP3tag, press F1 for help or see  
[http://help.mp3tag.de/](https://docs.mp3tag.de)

In your case you probably will have a go at the function Convert\>Text file - tag

---

<div class="post-metadata">

### Author: ![haxbo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/dc4da7/32.png) [@haxbo](https://community.mp3tag.de/u/haxbo)
#### Post date: [June 28, 2016, 6:31am UTC](https://community.mp3tag.de/t/command-line-support-visual-basic/18068/3 "2016-06-28T06:31:20Z")

</div>

> [@ohrenkino](#):
>
> If you change the tag version of a file, iTunes writes the tag information from the library into the tags.
> 
> You can also export from an iTunes library, transform that data to a text file one line per record format and import that data with the help of MP3tag into the files - provided the target files support metadata.  
> To see more about the features of MP3tag, press F1 for help or see  
> [http://help.mp3tag.de/](https://docs.mp3tag.de)
> 
> In your case you probably will have a go at the function Convert\>Text file - tag

---

<div class="post-metadata">

### Author: ![haxbo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/dc4da7/32.png) [@haxbo](https://community.mp3tag.de/u/haxbo)
#### Post date: [June 28, 2016, 6:32am UTC](https://community.mp3tag.de/t/command-line-support-visual-basic/18068/4 "2016-06-28T06:32:56Z")

</div>

thanks, although Convert\>Text file - tag doesnt work with extended tags, specifically ITUNESMEDIATYPE

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [June 28, 2016, 6:43am UTC](https://community.mp3tag.de/t/command-line-support-visual-basic/18068/5 "2016-06-28T06:43:58Z")

</div>

The name "ITUNESMEDIATYPE" is just a name like other fieldnames, it should work, ...  
check the list of the data field string within the input text file ...  
and the format string in the converter dialog.

DD.20160628.1043.CEST
