# Simple export of title, composer & comments tag - HELP!

**URL:** <https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939>\
**Category:** Support\
**Created:** [March 22, 2019, 11:54am UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939 "2019-03-22T11:54:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![loz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c2a13f/32.png) [@loz](https://community.mp3tag.de/u/loz)\
**Post date:** [March 22, 2019, 11:54am UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/1 "2019-03-22T11:54:37Z")

</div>

Hi, I would like to be able to do a (simple?) export with CSV comments for Title / composer / comments. I have looked for ages on the foru8m & can't find this solution.

When I try to create a new export & edit it, my computer pops up saying "select a windows program to edit this type of file" then only gives me the Tor browser as an option... Tor Opens & nothing seems useful.

Could someone please help? I just want to be able to select all my files, export a CSV (preferably) with columns for TITLE / COMPOSER / ALBUM ARTIST / COMMENTS so that the correct comments are next to the correct song etc.

Please help!!

---

<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:** [March 22, 2019, 12:02pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/2 "2019-03-22T12:02:40Z")

</div>

... the standard installation even comes with a csv export script ...  
perhaps you find inspiration in this thread:

> [@Need to export a csv file of a list of songs!](https://community.mp3tag.de/t/need-to-export-a-csv-file-of-a-list-of-songs/44853):
>
> I've done this dozens of times on another PC but I can't figure out how to write a new export script to do this on a new laptop that I have here. I'm not in my home office, but I have to get this done right away. I'm panicked, as I need to upload the CSV file now. I know there's a sample script in the export list of ready-made scripts, but I can't get it to work. I have a list of 46 songs with track number, duration, artist, title, album name, year released and label. It's a total of 47 records…

> [@loz](#):
>
> then only gives me the Tor browser

I would seriously check the default program association for a plain text file

---

<div class="post-metadata">

**Author:** ![loz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c2a13f/32.png) [@loz](https://community.mp3tag.de/u/loz)\
**Post date:** [March 22, 2019, 2:16pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/3 "2019-03-22T14:16:38Z")

</div>

Hi, thank you . But I still don't know how to actually make this happen? Sorry this is above my technical knowledge. Please help!!

---

<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:** [March 22, 2019, 2:23pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/4 "2019-03-22T14:23:30Z")

</div>

As almost all the steps are described either in the [help](https://docs.mp3tag.de/export) or in the linked thread, I do not know where you need help.  
So if you described what you do and where you get stuck, it would be much easier.

---

<div class="post-metadata">

**Author:** ![loz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c2a13f/32.png) [@loz](https://community.mp3tag.de/u/loz)\
**Post date:** [March 22, 2019, 2:34pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/5 "2019-03-22T14:34:15Z")

</div>

Thank you. Sorry but I just do not understand how to make the script correctly. I have read both & it is still a mystery. I could carry on struggling & getting frustrated, or maybe would you mind please telling me what I need to type (or maybe even doing it & I can copy & paste please?)

I have changed the default file type to text editor, which has worked.  
I have made a new export "export comments" but when I go to edit it, this comes up - I don't understand it!! If it is super easy for you, would you please write me what I need to export Title + Composer + Album artist + comments so it all comes out in a CSV in the correct way - so all those things come out on the same row. Thsi is obviously very simple to you, but not to me

$filename(New export file.txt,utf-8)  
(Use the $filename command if you want to set the exported file default name and/or its encoding)

This is the header line of the export file

Use the loop(...) command do loop over specific fields of your files e.g.

$loop(%artist%)  
This part is shown for all different artists: %artist%  
You can even nest loops:  
$loop(%album%)  
This will show the artists albums: %album%  
With its tracks:  
$loop(%track%) %title%  
$loopend()  
$loopend()  
$loopend()  
Be sure to close the loops

This is the footer line - Have fun 🙂

---

<div class="post-metadata">

**Author:** ![loz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c2a13f/32.png) [@loz](https://community.mp3tag.de/u/loz)\
**Post date:** [March 22, 2019, 2:36pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/6 "2019-03-22T14:36:50Z")

</div>

I don't even understand the terminology such as "loop" etc. I don't need to understand either in my daily life, I just need to make this script then get on with my day. If someone could please be a data hero & help me out by just writing a script it would be so helpful & brilliant! WOuld probably take an expert all of 10 seconds haha, or me about 4 hours!!

---

<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:** [March 22, 2019, 2:43pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/7 "2019-03-22T14:43:40Z")

</div>

OK.  
Select the files for which you want to create the export.  
The new file that you have created should contain the sample text.  
You don't need that text - replace it with the following text:  
`$filename(csv,utf-16)Title$char(9)Composer$char(9)Albumartist$char(9)Comment`  
`$loop(%_filename%)%TITLE%$char(9)%COMPOSER%$char(9)%ALBUMARTIST%$char(9)%COMMENT%`  
`$loopend()`  
Save the edited text and return to the export script selection dialogue.  
In that dialogue enter a filename for the export.  
Click OK to execute the script.

---

<div class="post-metadata">

**Author:** ![loz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c2a13f/32.png) [@loz](https://community.mp3tag.de/u/loz)\
**Post date:** [March 22, 2019, 3:11pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/8 "2019-03-22T15:11:23Z")

</div>

Brilliant, thanks so much! Top man/lady!! Much appreciated, I will try it later. Seriously that would have taken me hours to figure out, & driven me to drink!

---

<div class="post-metadata">

**Author:** ![loz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c2a13f/32.png) [@loz](https://community.mp3tag.de/u/loz)\
**Post date:** [March 22, 2019, 4:25pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/9 "2019-03-22T16:25:37Z")

</div>

How would I get each value to be on different columns please? Sorry I should have been more specific, but didn't think to ask.

Currently that works, but all the information comes out in the same box in XL. Is it possible to export the data so it comes out like this: Title comes out in column A, Composer in column B, Album artist in column C & then Comments in Column D?

Sorry I wasn't specific in the first place, I appreciate your help!

---

<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:** [March 22, 2019, 4:50pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/10 "2019-03-22T16:50:16Z")

</div>

In my Excel the tab character ($char(9)) works better than a comma...  
But if your Excel needs a comma, here you go:  
`$filename(csv,utf-16)Title,Composer,Albumartist,Comment $loop(%_filename%)%TITLE%,%COMPOSER%,%ALBUMARTIST%,%COMMENT%`  
`$loopend()`

---

<div class="post-metadata">

**Author:** ![loz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c2a13f/32.png) [@loz](https://community.mp3tag.de/u/loz)\
**Post date:** [March 22, 2019, 5:12pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/11 "2019-03-22T17:12:08Z")

</div>

That's brilliant, thank you very much!! You are a star! That has really saved me a load of head scratching, & I'm sure will also help many others too.

Big up yourself.

---

<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:** [April 21, 2019, 5:12pm UTC](https://community.mp3tag.de/t/simple-export-of-title-composer-comments-tag-help/44939/12 "2019-04-21T17:12:15Z")

</div>

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