# How to get ITUNMOVI tag back?

**URL:** https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195
**Category:** Support
**Created:** [November 13, 2013, 7:40am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195 "2013-11-13T07:40:15Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![jackantony](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/8dc957/32.png) [@jackantony](https://community.mp3tag.de/u/jackantony)
#### Post date: [November 13, 2013, 7:40am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/1 "2013-11-13T07:40:15Z")

</div>

I got some itunes music, but some of the infos were missed.  
The other infos are not that hard to get, but i really don't know how to get the ITUNMOVI info for the whole album.

This is the way I have tried:  
Add the same ITUNMOVI tag above for all the tracks in the album, then use the replace with regular expression to replace the number 8638839, but when I use "8638839\b" to replace "%\_file\_size\_bytes%", it doesn't work. The number just changed to the words "%\_file\_size\_bytes%", not the number of the file size I want.

Anybody can help? Thanks in advance!

---

<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 13, 2013, 8:03am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/2 "2013-11-13T08:03:23Z")

</div>

> [@pique](#):
>
> ...This is the way I have tried:  
> Add the same ITUNMOVI tag above for all the tracks in the album, then use the replace with regular expression to replace the number 8638839, but when I use "8638839\b" to replace "%\_file\_size\_bytes%", it doesn't work. The number just changed to the words "%\_file\_size\_bytes%", not the number of the file size I want. ...

I tried it so ...

**$regexp(%ITUNMOVI%,'\>8638839\<','\>'%\_file\_size\_bytes%'\<')**

... and it seems to work.

In this case a simple replace can do it too ...

**$replace(%ITUNMOVI%,'\>8638839\<','\>'%\_file\_size\_bytes%'\<')**

And, yes, it seems so that the action "Replace using Regular Expression" has no clue about the system field **%\_file\_size\_bytes%**.

DD.20131113.1013.CET

---

<div class="post-metadata">

### Author: ![jackantony](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/8dc957/32.png) [@jackantony](https://community.mp3tag.de/u/jackantony)
#### Post date: [November 13, 2013, 8:35am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/3 "2013-11-13T08:35:17Z")

</div>

> [@DetlevD](#):
>
> I tried it so ...
> 
> **$regexp(%ITUNMOVI%,'\>8638839\<','\>'%\_file\_size\_bytes%'\<')**
> 
> ... and it seems to work.
> 
> In this case a simple replace can do it too ...
> 
> **$replace(%ITUNMOVI%,'\>8638839\<','\>'%\_file\_size\_bytes%'\<')**
> 
> And, yes, it seems so that the action "Replace using Regular Expression" has no clue about the system field **%\_file\_size\_bytes%**.
> 
> DD.20131113.1013.CET

Thank you so so so much! Have a nice day! 🙂

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 10, 2013, 10:56am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/4 "2013-12-10T10:56:23Z")

</div>

i am new to mp3tag and just found this topic and was wondering if someone could guide me through adding the ITUNMOVI tag to my m4a files that are missing the field.

any help would be great

thank you

---

<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: [December 10, 2013, 11:53am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/5 "2013-12-10T11:53:15Z")

</div>

The only field I know is ITUNESMEDIATYPE with the contents Movie.

To add a field: select the files that need the field (with the same contents).  
Press Alt-T to open the Extended Tags dialogue  
Click New button.  
Select the field name from the dropdown list.  
Enter the value.  
Apply the changes with OK.

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 14, 2013, 8:29am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/6 "2013-12-14T08:29:47Z")

</div>

it is the ITUNMOVI info i want to add.

this field contains certain info including the actual file size of each track

---

<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: [December 14, 2013, 9:10am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/7 "2013-12-14T09:10:18Z")

</div>

> [@jimbo\_uk](#):
>
> it is the ITUNMOVI info i want to add.  
> this field contains certain info including the actual file size of each track

Do you speak about the content for the tag-field ITUNMOVI like this example?

```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>asset-info</key>
    <dict>
        <key>file-size</key>
        <integer>9395948</integer>
        <key>flavor</key>
        <string>2:256</string>
    </dict>
</dict>
</plist>

```

... then you can go the way like the open poster "pique" ...  
[How to get ITUNMOVI tag back?](https://community.mp3tag.de/t/15195/1)

See also ...  
[/t/14757/1](https://community.mp3tag.de/t/14757/1)

DD.20131214.1149.CET

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 15, 2013, 7:38am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/8 "2013-12-15T07:38:30Z")

</div>

thank you for replying but i am having a slight problem as i am not sure what to do upon reading the original post

this is what i understand...

use one value for all the tracks (like the code you posted)

then go to actions (quick) \> choose either 'replace' or 'replace with regular expression'

then i am unsure with what exactly i put in the boxes (Field, original & replace... also which options to check or un-check)

if you could post an example as to what to place in each field it would help me greatly.

🙂

---

<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: [December 15, 2013, 8:30am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/9 "2013-12-15T08:30:48Z")

</div>

> [@jimbo\_uk](#):
>
> thank you for replying but i am having a slight problem as i am not sure what to do upon reading the original post
> 
> this is what i understand...
> 
> use one value for all the tracks (like the code you posted)
> 
> then go to actions (quick) \> choose either 'replace' or 'replace with regular expression'  
> ...

No. The last bit is not quite it.  
As the action "Replace with regular expression" apparently cannot refer to the file size you have to use a workaround as DetlevD described:  
$replace(%ITUNMOVI%,'\>8638839\<','\>'%\_file\_size\_bytes%'\<')  
So you have to use an action of the type "Format value" in sequence:  
First format ITUNMOVI with Format String \>8638839\<.  
Then format ITUNMOVI with Format String $replace(%ITUNMOVI%,'\>8638839\<','\>'%\_file\_size\_bytes%'\<')

---

<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: [December 15, 2013, 9:09am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/10 "2013-12-15T09:09:15Z")

</div>

> [@jimbo\_uk](#):
>
> ... i am not sure what to do upon reading the original post ...

Well, I do not know much about the ITUNMOVI tag-field and it's practical purpose.  
For now I understand the content of this tag-field as a collection of "key=value" pairs, all together enclosed in a XML document script format.  
Maybe tools like "AtomicParsley" or "MediaInfo" or "ExifTool" can display the entire content of the iTunMOVI tag-field in a structured view.

In case of replacing one "key=value" pair in the XML data stream from within Mp3tag, this can be done using Mp3tag functions like $regexp or $replace or the basic string functions.

The open poster has a simple case, because he did not need to save any existing XML structure and content, so he can fill the tag-field with a sample text and replace the one placeholder item with the actual file size value in relation to the underlying current file.

So what is your need?

1. Do you need to fill the tag-field iTunMOVI with a simple rudimentary XML document script?  
Having the one and only ""key=value" pair of ...  
_file-size__1234567890_  
... and afterwards replace the placeholder value with the actual file size?
2. Do you need to replace one "key=value" pair within a set of other already given "key=value" pairs, which have to remain untouched?

DD.20131215.1109.CET

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 15, 2013, 9:37pm UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/11 "2013-12-15T21:37:30Z")

</div>

i want to do the 1st option

```
1. Do you need to fill the tag-field iTunMOVI with a simple rudimentary XML document script?
Having the one and only ""key=value" pair of ...
<key>file-size</key><integer>1234567890</integer>
... and afterwards replace the placeholder value with the actual file size?

```

what i have is the complete ITUNEMOVI field missing

what i do is add the field to the m4a files and a value that i have from another music file to all the tracks

```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>asset-info</key>
	<dict>
		<key>file-size</key>
		<integer>10214169</integer>
		<key>flavor</key>
		<string>2:256</string>
	</dict>
</dict>
</plist>

```

then what i want is to have mp3tag change the file size for each file to the correct size

---

<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: [December 16, 2013, 6:02am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/12 "2013-12-16T06:02:22Z")

</div>

> [@jimbo\_uk](#):
>
> i want to do the 1st option  
> ... what i have is the complete ITUNEMOVI field missing ...  
> what i do is add the field to the m4a files and a value that i have from another music file to all the tracks  
> ... then what i want is to have mp3tag change the file size for each file to the correct size

In order to avoid going back to Adam and Eve, please tell us what you already know about Mp3tag how to embed a new tag-field into a media file.  
Do you know how to apply ...  
... the dialog "Extended Tags..."?  
... the action "Format value"?  
... the converter "Tag-Tag"?  
... a function call within a format string?

DD.20131216.0802.CET

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 16, 2013, 8:45am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/13 "2013-12-16T08:45:58Z")

</div>

as said before, the field ITUNMOVI is missing from the files

i can add the ITUNMOVI field in 'extended tags'

i can add a value into the ITUNMOVI field

i can add the exact same value for all the music files

the only problem i have is i do not know exactly how to get mp3tag to change the size value within the ITUNMOVI field in each music file to show the exact file size by using the actions option.

---

<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: [December 16, 2013, 9:35am UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/14 "2013-12-16T09:35:50Z")

</div>

> [@jimbo\_uk](#):
>
> as said before, the field ITUNMOVI is missing from the files  
> i can add the ITUNMOVI field in 'extended tags'  
> i can add a value into the ITUNMOVI field  
> i can add the exact same value for all the music files  
> the only problem i have is i do not know exactly how to get mp3tag to change the size value within the ITUNMOVI field in each music file to show the exact file size by using the actions option.

Assuming there is a ITUNMOVI entry, which contains the text string "_\>000\<_", then you may use an action like this ...

Begin Action Group **Test\_2013#20131216** 

Action #1  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **ITUNMOVI**  
_Formatstring:_ **$replace(%ITUNMOVI%,'\>000\<','\>'%\_file\_size\_bytes%'\<')**  
End Action Group **Test\_2013#20131216** (1 Action)

 

DD.20131216.1135.CET

---

<div class="post-metadata">

### Author: ![jimbo\_uk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jimbo\_uk](https://community.mp3tag.de/u/jimbo_uk)
#### Post date: [December 16, 2013, 1:43pm UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/15 "2013-12-16T13:43:01Z")

</div>

that is exactly what i was looking for

thank you so much for you help

🙂

---

<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: [February 9, 2026, 12:24pm UTC](https://community.mp3tag.de/t/how-to-get-itunmovi-tag-back/15195/16 "2026-02-09T12:24:45Z")

</div>


