# Exporting years and albums names

**URL:** <https://community.mp3tag.de/t/exporting-years-and-albums-names/44768>\
**Category:** Support\
**Created:** [March 9, 2019, 1:27pm UTC](https://community.mp3tag.de/t/exporting-years-and-albums-names/44768 "2019-03-09T13:27:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [March 9, 2019, 1:27pm UTC](https://community.mp3tag.de/t/exporting-years-and-albums-names/44768/1 "2019-03-09T13:27:17Z")

</div>

I have this code  
`$FILENAME(C:\export list.txt,utf-16)$loop(%ALBUM%,1)%ALBUM% $loopend()`  
which makes a list of all of the albums, without repeating them

And what I would like to is to put also a year in front of every album

---

<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 9, 2019, 2:36pm UTC](https://community.mp3tag.de/t/exporting-years-and-albums-names/44768/2 "2019-03-09T14:36:06Z")

</div>

> [@Zerow](#):
>
> And what I would like to is to put also a year in front of every album

I am not quite sure what you mean: in front of that what is output?  
then use  
`$FILENAME(C:\export list.txt,utf-16)$loop(%ALBUM%,1)%year%: %ALBUM% $loopend()`  
(you can use any characters to separate %year% and %album%, the ": " is just a suggestion)

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [March 9, 2019, 5:28pm UTC](https://community.mp3tag.de/t/exporting-years-and-albums-names/44768/3 "2019-03-09T17:28:26Z")

</div>

As is comes out, I was aiming at

`$loop(%ALBUM%,1)%YEAR% %ALBUM%`  
`$loopend()`

So thank you, for saving me a lot of time and clicking

---

<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 8, 2019, 5:28pm UTC](https://community.mp3tag.de/t/exporting-years-and-albums-names/44768/4 "2019-04-08T17:28:29Z")

</div>

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