# Newbie needing scripting help please :)

**URL:** https://community.mp3tag.de/t/newbie-needing-scripting-help-please/16444
**Category:** Support
**Created:** [December 24, 2014, 12:24pm UTC](https://community.mp3tag.de/t/newbie-needing-scripting-help-please/16444 "2014-12-24T12:24:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![TheMightySpud](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/5f9b8f/32.png) [@TheMightySpud](https://community.mp3tag.de/u/TheMightySpud)
#### Post date: [December 24, 2014, 12:24pm UTC](https://community.mp3tag.de/t/newbie-needing-scripting-help-please/16444/1 "2014-12-24T12:24:16Z")

</div>

Hi all,

Firstly, I would like to say that I'm a brand new user (as of this morning) as I have decided that it's way past time to organise the tags on my Big Finish audio drama collection.

I've spent a while looking around the forum, but can't seem to get my head around the scripting, so here I am and I hope someone can help me out a little 🙂

I'm looking to put together a script that will organise my tags into a more 'standardised' format for use with my media server, and doing them manually would take weeks. :-/

So any any help anyone can offer would be greatly appreciated.

All of the file names are in the following format.....

collection/story/

```
                  /episode 1.mp3
                  /episode 2.mp3

```

etc.

So a 'real world' example......

Monthly/BF - Doctor Who - E001 - The Sirens of Time/

```
                                                    BF - Doctor Who - E001 - The Sirens of Time - Part 01.mp3
                                                    BF - Doctor Who - E001 - The Sirens of Time - Part 02.mp3
                                                    BF - Doctor Who - E001 - The Sirens of Time - Part 03.mp3

```

And so on.

Each one is in exactly the same format so what i'd really like to be able to do is take information from the file names and apply that to the tags, in the following format (using the above example for instance)

%artist%  
Big Finish

%albumartist%  
Big Finish

%album%  
Monthly - 001 - The Sirens of Time

%track%  
((Auto Numbered)

%title%  
BF - Doctor Who - E001 - The Sirens of Time - Part ((AutoNumbered))

%genre%  
Audio Drama

I think that's everything.

I'm not sure if I've explained it very clearly, so any questions, please do not hesitate to ask.

Thanks  
TheMightySpud

---

<div class="post-metadata">

### Author: ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)
#### Post date: [December 24, 2014, 1:00pm UTC](https://community.mp3tag.de/t/newbie-needing-scripting-help-please/16444/2 "2014-12-24T13:00:23Z")

</div>

[/t/967/1](https://community.mp3tag.de/t/967/1)

---

<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 26, 2014, 3:41pm UTC](https://community.mp3tag.de/t/newbie-needing-scripting-help-please/16444/3 "2014-12-26T15:41:03Z")

</div>

> [@TheMightySpud](#):
>
> ... and doing them manually would take weeks. :-/  
> ...Monthly/BF - Doctor Who - E001 - The Sirens of Time/
> 
> ```
> BF - Doctor Who - E001 - The Sirens of Time - Part 01.mp3
> BF - Doctor Who - E001 - The Sirens of Time - Part 02.mp3
> BF - Doctor Who - E001 - The Sirens of Time - Part 03.mp3
> 
> ```
> 
> ...

> [@](#):
>
> %artist%  
> Big Finish  
> %albumartist%  
> Big Finish

This data cannot be retrieved from any of the strings you find in the path or filename. It says "BF" instead. And that this is supposed to stand for "Big Finish" (I guess) cannot be inferred by MP3tag. You would have to enter that manually.

> [@](#):
>
> %album%  
> Monthly - 001 - The Sirens of Time

This data is partially there but not in one piece. So you would have to assemble it from the path. It is a shame that you use "001" and "E001" for the same data ...  
To extract that info, use the Convert\>Filename-Tag function:  
%album%/BF - Doctor Who - E%album%

> [@](#):
>
> %track%  
> ((Auto Numbered)

You can get that number from the filename with the Convert function:  
%dummy% - Part %track%

> [@](#):
>
> %title%  
> BF - Doctor Who - E001 - The Sirens of Time - Part ((AutoNumbered))

This is more or less the filename except that it does not mention the "BF" (I wounder why that is still necessary as you have that data allready in the artist and albumartist field). So after you have imported the filename as title, you have to apply the Convert-Tag-Tag function for TITLE and the mask  
BF - %title%

> [@](#):
>
> %genre%  
> Audio Drama

Is nowhere in the filename or path so it has to be entered manually. Select all files, enter the genre in the tag panel and save the modification.

---

<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:25pm UTC](https://community.mp3tag.de/t/newbie-needing-scripting-help-please/16444/4 "2026-02-09T12:25:26Z")

</div>


