# Album Length

**URL:** https://community.mp3tag.de/t/album-length/3637
**Category:** Export
**Created:** [August 9, 2006, 5:48pm UTC](https://community.mp3tag.de/t/album-length/3637 "2006-08-09T17:48:52Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![buzzz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/7cd45c/32.png) [@buzzz](https://community.mp3tag.de/u/buzzz)
#### Post date: [August 9, 2006, 5:48pm UTC](https://community.mp3tag.de/t/album-length/3637/1 "2006-08-09T17:48:52Z")

</div>

Is there a way to calculate album length (selected files) to add to a tag? I know there is a function for exporting to calculate it, but can it be done as an action?

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [August 9, 2006, 6:53pm UTC](https://community.mp3tag.de/t/album-length/3637/2 "2006-08-09T18:53:14Z")

</div>

I think thats not posible.

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 10, 2006, 5:34am UTC](https://community.mp3tag.de/t/album-length/3637/3 "2006-08-10T05:34:56Z")

</div>

> [@Buzzz](#):
>
> I know there is a function for exporting to calculate it

What is that function then? I'm looking for it quite long...

Grtz,

Henk.

---

<div class="post-metadata">

### Author: ![buzzz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/7cd45c/32.png) [@buzzz](https://community.mp3tag.de/u/buzzz)
#### Post date: [August 10, 2006, 12:22pm UTC](https://community.mp3tag.de/t/album-length/3637/4 "2006-08-10T12:22:50Z")

</div>

> [@Henk87](#):
>
> What is that function then? I'm looking for it quite long...

You'll find it in the help under the export options, global placeholders.. %\_total\_time%

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 10, 2006, 12:59pm UTC](https://community.mp3tag.de/t/album-length/3637/5 "2006-08-10T12:59:27Z")

</div>

> [@Buzzz](#):
>
> You'll find it in the help under the export options, global placeholders.. %\_total\_time%

I thougt that isn't giving the right result, but I'll try it again this evening.

Grtz,

Henk.

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 15, 2006, 7:11am UTC](https://community.mp3tag.de/t/album-length/3637/6 "2006-08-15T07:11:08Z")

</div>

> [@Buzzz](#):
>
> You'll find it in the help under the export options, global placeholders.. **%\_total\_time%**

When I use %\_total\_time% in my exportfile I only get the time per song. ☹ But I want to export the total time of an album (cq. the selected songs). Is that possible, or: what am I doing wrong? ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")

Thanks,

Henk.

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [August 15, 2006, 9:46am UTC](https://community.mp3tag.de/t/album-length/3637/7 "2006-08-15T09:46:23Z")

</div>

> [@](#):
>
> When I use %\_total\_time% in my exportfile I only get the time per song. But I want to export the total time of an album (cq. the selected songs). Is that possible, or: what am I doing wrong?

Why don't you paste your mte file? It's hard to solve it without code of your export file.  
You are probably using %\_total\_time% in this loop "$loop(%\_filename\_ext%)" or similar.  
You must place %\_total\_time% out of the loop.

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 15, 2006, 10:45am UTC](https://community.mp3tag.de/t/album-length/3637/8 "2006-08-15T10:45:39Z")

</div>

OK, I'll post my mte-file later... Many thanks for your help so far 🙂 !

Henk

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 16, 2006, 6:55am UTC](https://community.mp3tag.de/t/album-length/3637/9 "2006-08-16T06:55:23Z")

</div>

Here is my mte-file. Please have a look on it to discover what I'm doing wrong concerning the export of the album length.

Thnx,

Henk.

[Exportsettings.mte](https://community.mp3tag.de/uploads/default/original/2X/9/9b1fde1b318c673db5c71d690e63b357e2cff0fd.mte) (288 Bytes)

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [August 16, 2006, 7:46am UTC](https://community.mp3tag.de/t/album-length/3637/10 "2006-08-16T07:46:16Z")

</div>

Cant do it for Excel. But I can do it in html?

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 16, 2006, 7:58am UTC](https://community.mp3tag.de/t/album-length/3637/11 "2006-08-16T07:58:44Z")

</div>

I need a csv/Excel-export, because I use it to make my covers in Word (with mail merge, which I have automated with a macro).

Do you mean it isn't possible in an Excelfile, or do you mean you aren't familiar with Excelfiles?!

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [August 16, 2006, 7:59am UTC](https://community.mp3tag.de/t/album-length/3637/12 "2006-08-16T07:59:48Z")

</div>

It's hard to make it because of Excelfile. I made something, it only works with one folder (album). Check out.

[Exportsettings\_milka\_edit.mte](https://community.mp3tag.de/uploads/default/original/2X/7/7563c3632f6c55a2dc3fe064c86a0de7411e3555.mte) (354 Bytes)

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 16, 2006, 8:49am UTC](https://community.mp3tag.de/t/album-length/3637/13 "2006-08-16T08:49:16Z")

</div>

I'll check it out en I'll post the result!

Tnx so far!

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 23, 2006, 7:17am UTC](https://community.mp3tag.de/t/album-length/3637/14 "2006-08-23T07:17:13Z")

</div>

It works fine!

> [@milka](#):
>
> It's hard to make it because of Excelfile. I made something, **it only works with one folder (album).** Check out.

I don't see the point. I tried it with one album, and with multiple albums (Shift-click), but it works fine in both cases! Or do you mean that it won't work if you have multiple albums in one exportfile?

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [August 23, 2006, 12:39pm UTC](https://community.mp3tag.de/t/album-length/3637/15 "2006-08-23T12:39:57Z")

</div>

> [@Henk87](#):
>
> Or do you mean that it won't work if you have multiple albums in one exportfile?

It won't work if you have more then one folderpath in filelist in mp3tag, or if you select tracks for exporting that have more then one folderpath. I hope that you understand what I mean.

I am glad that I made to help you,  
~ milka

---

<div class="post-metadata">

### Author: ![Henk87](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9dc877/32.png) [@Henk87](https://community.mp3tag.de/u/Henk87)
#### Post date: [August 23, 2006, 12:56pm UTC](https://community.mp3tag.de/t/album-length/3637/16 "2006-08-23T12:56:50Z")

</div>

I understand what you mean... Once again: many thanks!

Henk. 🙂
