Although it is not quite clear what you want as you talk about albumartist and artist, I'll try:
$filename(artists.txt,utf-8)$loop(%track%)%artist%; $loopend()
Make sure that this is the only line in the export script.
You may replace the "; " with a separator of your liking.
So is it working? (Because I tried it on a set and it produces a list with just one entry for each artist regardless how often it appears in the files)
The code is all there .. if you are not sure about actions, see the faq on actions: /t/967/1
It has to be
$filename(artisten.txt,utf-8)$loop(%artist%,1)%artist%; $loopend()
Otherwise it repeats the artist.
I doublechecked, this code is OK.
I am not sure about any problems with the link but you are free to check the FAQs yourself: see the section on actions. A direct link to the FAQs is supplied in the header on this page.
I put a filename in the export script:
$filename(artisten.txt,utf-8)...
So the file you check should be called "artisten.txt" and can be found in the folder of the sampler.
It is also possible that the artists data shows slightly different spelling or additional blanks so that they are actually not the same.
Really strange, i follow all the information you provide, checking also the same export file..
I have clear tag artist name, please see attached screenshot how artist are tagged and see below my results after optimized export.
Ah! That cleared it up:
You actually have the following names:
DJ Deeon,
DJ Deeon,Jeroen Search,
DJ Deeon,Michel De Hey,
DJ Deeon,Modern Anominal Techno Project,
As a string, these are 4 different things, even though they have shared parts in it.
AFAI can tell, the script works perfect.
Is "DJ Deeon" the ALBUMARTIST? Would you like to separate the data in ARTIST so that the part in front of the comma becomes the ALBUMARTIST and the part behind the comma becomes the ARTIST?
[quote name='ohrenkino' post='91684' ]Ah! That cleared it up:
You actually have the following names:
DJ Deeon,
DJ Deeon,Jeroen Search,
DJ Deeon,Michel De Hey,
DJ Deeon,Modern Anominal Techno Project,
As a string, these are 4 different things, even though they have shared parts in it.
AFAI can tell, the script works perfect.
Is "DJ Deeon" the ALBUMARTIST? Would you like to separate the data in ARTIST so that the part in front of the comma becomes the ALBUMARTIST and the part behind the comma becomes the ARTIST?[quote]
Got it. You are right!
Since now i try to separate them with comma what should be the code ?
As you see, the report takes the data from a single field just as it is, no interpretation, no comparison.
I would perhaps think about the naming scheme.
I would put
DJ Deeon as ALBUMARTIST
and the following names into ARTIST:
Jeroen Search
Michel De Hey
Modern Anominal Techno Project
Like that you get an ALBUM by DJ Deeon and still the other ones as contributing artists.
You can split the ARTIST field with an action of the type "Guess value".
Select the files
Click on the toolbar button "Action (Quick)"
Select an action of the type "Guess value"
Source: %artist%
Guessing pattern: %albumartist%,%artist%
Click OK.
Check the result.
And then it could be that you need a different export script:
$filename(artisten.txt,utf-8)%albumartist%:$loop(%artist%,1)%artist%, $loopend()