# Listing all Artists from Album into One Tag Field

**URL:** https://community.mp3tag.de/t/listing-all-artists-from-album-into-one-tag-field/14438
**Category:** Support
**Created:** [February 8, 2013, 3:53am UTC](https://community.mp3tag.de/t/listing-all-artists-from-album-into-one-tag-field/14438 "2013-02-08T03:53:47Z")
**Posts on this page:** 1
**Showing post:** 9

<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: [February 8, 2013, 7:56am UTC](https://community.mp3tag.de/t/listing-all-artists-from-album-into-one-tag-field/14438/9 "2013-02-08T07:56:06Z")

</div>

Here comes a modification of the export script from before.  
While importing, the '\\' separated list of artist names will be automatically itemized and stored into a multi-value tag-field.

**01: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.CSV.CollectArtistsPerAlbum.txt',UTF-8)** 

02: $puts(Info,'This Mp3tag export script creates a report text file of format CSV (  
comma separated values).')  
03: $puts(Info,'The CSV columns are: "Album","ArtistCollection","Filepath".')  
04: $puts(Info,'The CSV output list is sorted by "Album", then by "Filepath".')  
05: $puts(Info,'The CSV column "ArtistCollection" contains a list of artist names, which have been collected from  
the files of the related Album.')  
06: $puts(Info,'The artist names are separated by the delimiter sequence "\\", which supports the automatically creation of a multi-value tag-field, when importing the list of artist names into a tag-field.')  
07: $puts(Info,'After importing the CSV data into the related files, each file contai  
ns a multi-value tag-field, which can be freely named due to the import format string.')$puts(Info,)  
08: $loop(%ALBUM%)$puts(ListOfArtists,)$loop(%ALBUM%)$puts(ListOfArtists,$get(ListOfArtists)%ARTIST%'\\')$loopend()  
09: $loop(%ALBUM%)$loop(%\_path%)'"'%ALBUM%'","'$trim($get(ListOfArtists),'\<!--colorc--\>')'","'%\_path%'"'  
10: $loopend()$loopend()$loopend()

[20130208.Export.CollectArtistsPerAlbum.2.mte](https://community.mp3tag.de/uploads/default/original/2X/2/2c3c066ca6d746b1371dfb41239df21d470fe62a.mte) (1.16 KB)

DD.20130208.0950.CET

[20130208.Export.CollectArtistsPerAlbum.2.mte](https://community.mp3tag.de/uploads/default/original/2X/2/2c3c066ca6d746b1371dfb41239df21d470fe62a.mte) (1.16 KB)

---

_[View the full topic](https://community.mp3tag.de/t/listing-all-artists-from-album-into-one-tag-field/14438)._
