# Adding a 0 to all itunes seasons and episodes

**URL:** https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009
**Category:** Support
**Created:** [March 2, 2010, 2:02am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009 "2010-03-02T02:02:10Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![slov92](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/9e8a1a/32.png) [@slov92](https://community.mp3tag.de/u/slov92)
#### Post date: [March 2, 2010, 2:02am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/1 "2010-03-02T02:02:10Z")

</div>

At the moment I have all my itunes video files tagged with one digit numerals.

E.G TV Show - Lost

```
  TV Season - 6
  TV Episode - 1

```

How would I add a 0 before the numeral to all my video in one handy action?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [March 2, 2010, 7:34am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/2 "2010-03-02T07:34:04Z")

</div>

That is not possible with mp4.

---

<div class="post-metadata">

### Author: ![slov92](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/9e8a1a/32.png) [@slov92](https://community.mp3tag.de/u/slov92)
#### Post date: [March 3, 2010, 12:41am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/3 "2010-03-03T00:41:09Z")

</div>

so I would have to amend each episode tag from 1,2,3,4 to 01,02,03,04 manually?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 3, 2010, 6:55pm UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/4 "2010-03-03T18:55:04Z")

</div>

No, these values are integer values only which cannot have leading zeros.

---

<div class="post-metadata">

### Author: ![slov92](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/9e8a1a/32.png) [@slov92](https://community.mp3tag.de/u/slov92)
#### Post date: [March 4, 2010, 1:05am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/5 "2010-03-04T01:05:33Z")

</div>

how about if I wanted to amend all the itunesepisode tags to reflect the season number also.

E.G. Lost - Season 1, Episode 3 = 103

```
            Season 1, Episode 4 = 104

```

Bearing in mind that my tags read as follows:

Artist - Lost  
Album - Season 1  
Track - 3  
itunestvshow - Lost  
itunesepisode - 3  
itunesseason - 1

The reason I ask is that there is a glitch in the 3.0 apple software and episodes of the same TV show, but different season end up in the wrong order on iphone/ ipod touch.  
They appear as 011, 021, 012, 021 etc.

The only way around it is to tag the episode with the season number and a 0 prefixing it.

Hope I am making myself clear.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 4, 2010, 6:20am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/6 "2010-03-04T06:20:56Z")

</div>

See [Tagging TV Shows for iTunes with Mp3tag](http://fheidenreich.de/blog/127/tagging-tv-shows-for-itunes-with-mp3tag/) 🙂

---

<div class="post-metadata">

### Author: ![slov92](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/9e8a1a/32.png) [@slov92](https://community.mp3tag.de/u/slov92)
#### Post date: [March 5, 2010, 6:02am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/7 "2010-03-05T06:02:55Z")

</div>

Yes this is what I used to set this up originally.

But the post doesn't answer my questions.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 5, 2010, 6:10am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/8 "2010-03-05T06:10:09Z")

</div>

First, make sure that your using the correct field names (it's TVEPISODE and TVSEASON). Have you also added a TVEPISODE **ID** field? If not, I'd create this via an action **Format value**

_Field:_ **TVEPISODEID**  
~~_Formatstring:_ **LST%tvepisode%S$%tvseason%**~~  
_Formatstring:_ **LST%tvseason%E$num(%tvepisode%,2)**

---

<div class="post-metadata">

### Author: ![slov92](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/9e8a1a/32.png) [@slov92](https://community.mp3tag.de/u/slov92)
#### Post date: [March 10, 2010, 4:50am UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/9 "2010-03-10T04:50:38Z")

</div>

Great - thanks. Will try that out and get back to you

---

<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:22pm UTC](https://community.mp3tag.de/t/adding-a-0-to-all-itunes-seasons-and-episodes/10009/10 "2026-02-09T12:22:13Z")

</div>


