# Export Help

**URL:** https://community.mp3tag.de/t/export-help/5817
**Category:** Export
**Created:** [November 30, 2007, 4:56am UTC](https://community.mp3tag.de/t/export-help/5817 "2007-11-30T04:56:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mizery\_Made](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Mizery\_Made](https://community.mp3tag.de/u/Mizery_Made)
#### Post date: [November 30, 2007, 4:56am UTC](https://community.mp3tag.de/t/export-help/5817/1 "2007-11-30T04:56:46Z")

</div>

I have been messing with an export for some time now. My main problem is that it can take 10+ minutes to run, meanwhile dano's "dano\_List\_Album\_js\_ex" export which I think is far more complicated takes less then HALF that time _(roughly 4 minutes)_ on the same set of files. Thus, I was wondering if someone could help point out some optimizations that could be made. Here is a small sample of what mine exports:

> [@](#):
>
> **Statistics:**** Artists: **5** Albums: **11** Tracks: **199** Playtime: **13:14:41** Size:** 1.05 GB Only Full Albums Listed
> 
> **===============R&B===============**
> 
> - **Lauryn Hill**
> - The Miseducation Of Lauryn Hill (1998)
> 
> - **Usher**
> - Confessions (2004)
> - Confessions [Special Edition] (2004)
> - My Way (1997)
> 
> **===============Rap===============**
> 
> - **2Pac**
> - All Eyez On Me (1996)
> - Me Against The World (1995)
> 
> - **Bone Thugs-N-Harmony**
> - Strength & Loyalty (2007)
> 
> - **Chamillionaire**
> - Mixtape Messiah 2 [Mixtape] (2006)
> - Mixtape Messiah 3 [Mixtape] (2007)
> - The Sound Of Revenge (2005)
> - Ultimate Victory (2007)

_(Note: That one only took about 3 seconds, but 200 tracks compared to 8700... ha.)_ It's a list of albums with some statistics with some BBCode, plan to use it to keep an updated album list on a music forum I go to. But at 10+ minutes for a full export and surely as my collection grows, so would the export time. Thus, I thought I would try and solve the problem now with any optimization that might be out there. Attached will be a full export example as well as the MTE if you want to look over it.

I noticed it hangs for some time in a couple spots during export, not sure what it's about. Also, if you have any ideas on how to 'pretty it up' design wise then I'm open to suggestions aswell. If there isn't any real way to speed it up and such then I atleast thank you for taking a look.

Any help appreciated though. 🙂

PS -- If someone was able to speed it up, aswell as be able to supply a mirror version in HTML, I would bow to them. ![:wub:](https://community.mp3tag.de/uploads/default/original/1X/9d52539911b96a045b8e7016a3cf8335067dd973.gif ":wub:") I am shit with HTML, I always end up with a huge mess when I try and even touch HTML. ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")

[Album\_List\_\_\_Export.mte](https://community.mp3tag.de/uploads/default/original/2X/e/e065d9fe87059c82a400750bf7a616678e6dd680.mte) (626 Bytes)

[Album\_List.txt](https://community.mp3tag.de/uploads/default/original/2X/4/4e9a73e7600efb540d6604f9d7e8ea381a1cbd92.txt) (23.2 KB)

---

<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: [November 30, 2007, 10:14am UTC](https://community.mp3tag.de/t/export-help/5817/2 "2007-11-30T10:14:42Z")

</div>

Do not put a summary on top of a report.  
Avoid redundant loops.  
Do use existing loops to collect all data you need for the summary.  
Try this mte script:  
[Test\_Mizery\_Made.mte](https://community.mp3tag.de/uploads/default/original/2X/9/9bd89f1cc4589a71042734b04cffaf364882fafb.mte) (625 Bytes)  
DD.20071130.1215

Real world example:  
**Statistics:**  
**Artists:** 2525  
**Albums:** 3146  
**Tracks:** 10894  
**Playtime:** 843:38:38  
**Size:** 71,91 GB  
Only Full Albums Listed

Runtime about 100 seconds.

Try this generic html mte script:  
[Test\_Mizery\_Made.html.mte](https://community.mp3tag.de/uploads/default/original/2X/7/791ae369b3565d0432a85e2417873062d09e5c41.mte) (579 Bytes)  
DD.20071130.1305

[Test\_Mizery\_Made.mte](https://community.mp3tag.de/uploads/default/original/2X/9/9bd89f1cc4589a71042734b04cffaf364882fafb.mte) (625 Bytes)

[Test\_Mizery\_Made.html.mte](https://community.mp3tag.de/uploads/default/original/2X/7/791ae369b3565d0432a85e2417873062d09e5c41.mte) (579 Bytes)

---

<div class="post-metadata">

### Author: ![Mizery\_Made](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Mizery\_Made](https://community.mp3tag.de/u/Mizery_Made)
#### Post date: [November 30, 2007, 10:42am UTC](https://community.mp3tag.de/t/export-help/5817/3 "2007-11-30T10:42:36Z")

</div>

Cool, you were actually able to improve it. Your version came in at only 5 minutes. 🙂
