# Audiobook file naming from the Series and Series-Part fields ($IF statement)

**URL:** https://community.mp3tag.de/t/audiobook-file-naming-from-the-series-and-series-part-fields-if-statement/63443
**Category:** Support
**Created:** [January 16, 2024, 3:01am UTC](https://community.mp3tag.de/t/audiobook-file-naming-from-the-series-and-series-part-fields-if-statement/63443 "2024-01-16T03:01:47Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![KeithG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/keithg/32/16030_2.png) [@KeithG](https://community.mp3tag.de/u/KeithG)
#### Post date: [January 16, 2024, 4:54pm UTC](https://community.mp3tag.de/t/audiobook-file-naming-from-the-series-and-series-part-fields-if-statement/63443/8 "2024-01-16T16:54:40Z")

</div>

Thanks ohrenkino!

I must have copied the parts wrong when I replied. Thanks for catching the error.

Your code is certainly more optimized and overall much easier to read! It hadn't occurred to me to use $IF statements in the body of the code like you did.

---

_[View the full topic](https://community.mp3tag.de/t/audiobook-file-naming-from-the-series-and-series-part-fields-if-statement/63443)._
