# modificare Fisier de export MTe - how to modify Mte files

**URL:** https://community.mp3tag.de/t/modificare-fisier-de-export-mte-how-to-modify-mte-files/4428
**Category:** Export
**Created:** [February 5, 2007, 8:10am UTC](https://community.mp3tag.de/t/modificare-fisier-de-export-mte-how-to-modify-mte-files/4428 "2007-02-05T08:10:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![asokaa2006](https://community.mp3tag.de/user_avatar/community.mp3tag.de/asokaa2006/32/130_2.png) [@asokaa2006](https://community.mp3tag.de/u/asokaa2006)
#### Post date: [February 5, 2007, 8:10am UTC](https://community.mp3tag.de/t/modificare-fisier-de-export-mte-how-to-modify-mte-files/4428/1 "2007-02-05T08:10:05Z")

</div>

Salut  
Am si eu o rugaminte.  
Am un fisier mte (de export lista in format html ) si as vrea daca se poate sa ma ajuti la total durata sa scrie nu total hours ci pe bucati, de ex 20 ore , 30 min, 50 sec, se poate.

Multumesc anticipat

George Aprozeanu  
Email: [Aprozeanug@yahoo.com](mailto:Aprozeanug@yahoo.com)

PS: my english is not bad but i will try to write this in english:  
I have a mte file , and i want to modify it, at the total time played, i want to say like this 10hours,15min,30sec, it can be done????  
pls tell me  
Thks a lot

[\_George\_full\_aranjat\_2007\_ian.mte](https://community.mp3tag.de/uploads/default/original/2X/8/89c42b00711324567806a8b61c16de1a5436e58b.mte) (2.44 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: [February 5, 2007, 9:12am UTC](https://community.mp3tag.de/t/modificare-fisier-de-export-mte-how-to-modify-mte-files/4428/2 "2007-02-05T09:12:11Z")

</div>

> [@asokaa2006](#):
>
> ... I have a mte file , and i want to modify it, at the total time played, i want to say like this 10hours,15min,30sec, it can be done???? ...

Here is an excerpt from an older mte script, maybe you can adapt it to your needs.

```
$loop(%track%)

$puts(my_SS,$if($eql(%_samplerate%,'24000'),$div($mul(%_length_seconds%,21655),44100),%_length_seconds%))
$puts(my_TOTAL_SS,$add($get(my_SS),$get(my_TOTAL_SS)))

$puts(my_HH,$div($get(my_SS),3600))
$puts(my_SS,$mod($get(my_SS),3600))
$puts(my_MM,$div($get(my_SS),60))
$puts(my_SS,$mod($get(my_SS),60))
$puts(my_HH,$ifgreater($get(my_HH),0,$num($get(my_HH),2):,))
$puts(my_MM,$num($get(my_MM),2))
$puts(my_SS,$num($get(my_SS),2))
$puts(my_HHMMSS,$get(my_HH)$get(my_MM):$get(my_SS))

Track: $get(my_HHMMSS)

$loopend()

$puts(my_SS,$get(my_TOTAL_SS))

$puts(my_HH,$div($get(my_SS),3600))
$puts(my_SS,$mod($get(my_SS),3600))
$puts(my_MM,$div($get(my_SS),60))
$puts(my_SS,$mod($get(my_SS),60))
$puts(my_HH,$ifgreater($get(my_HH),0,$num($get(my_HH),2):,))
$puts(my_MM,$num($get(my_MM),2))
$puts(my_SS,$num($get(my_SS),2))
$puts(my_HHMMSS,$get(my_HH)$get(my_MM):$get(my_SS))

Total: $get(my_HHMMSS)

```

DD.20070205.1110

---

<div class="post-metadata">

### Author: ![asokaa2006](https://community.mp3tag.de/user_avatar/community.mp3tag.de/asokaa2006/32/130_2.png) [@asokaa2006](https://community.mp3tag.de/u/asokaa2006)
#### Post date: [February 5, 2007, 9:27am UTC](https://community.mp3tag.de/t/modificare-fisier-de-export-mte-how-to-modify-mte-files/4428/3 "2007-02-05T09:27:39Z")

</div>

i-am a beginner, i dont know how to modify to my request, i cant do it  
thks anyway

---

<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 5, 2007, 12:04pm UTC](https://community.mp3tag.de/t/modificare-fisier-de-export-mte-how-to-modify-mte-files/4428/4 "2007-02-05T12:04:39Z")

</div>

> [@asokaa2006](#):
>
> i-am a beginner, i dont know how to modify to my request, i cant do it thks anyway

So take this as a chance to get closer to the Mp3tag underworld.

DD.220070205.1404
