# Different path formatting for FLAC and MP3|AAC with %if and inline plugin

**URL:** https://discourse.beets.io/t/different-path-formatting-for-flac-and-mp3-aac-with-if-and-inline-plugin/542
**Category:** Help
**Created:** [November 28, 2018, 5:21pm UTC](https://discourse.beets.io/t/different-path-formatting-for-flac-and-mp3-aac-with-if-and-inline-plugin/542 "2018-11-28T17:21:01Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![47West63rd](https://avatars.discourse-cdn.com/v4/letter/4/a183cd/32.png) [@47West63rd](https://discourse.beets.io/u/47West63rd)
#### Post date: [February 25, 2022, 3:02pm UTC](https://discourse.beets.io/t/different-path-formatting-for-flac-and-mp3-aac-with-if-and-inline-plugin/542/21 "2022-02-25T15:02:02Z")

</div>

I’m still very new to beets, but this is the snippet of my album directory naming part that I think we all care about…something like this Led Zeppelin (24-96) or Led Zeppelin (16-44). Note below I’m using $bitdepth NOT your calculated $album\_bitdepth. Am I setting myself up for failure? Again I’m very new at this. But I’d like to get the directories consistent. Why did you feel the need to calculate it and what am I not understanding?

```auto
$album ($format $bitdepth-$album_samplerate $media)

```

This is what mine are starting to look like for different version of Led Zeppelin 1

![RoonNow](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/8ec046a08926caf093ca13a11ee3550ac79fb459.jpeg)

---

<div class="post-metadata">

### Author: ![jackwilsdon](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/jackwilsdon/32/10_2.png) [@jackwilsdon](https://discourse.beets.io/u/jackwilsdon)
#### Post date: [February 25, 2022, 4:04pm UTC](https://discourse.beets.io/t/different-path-formatting-for-flac-and-mp3-aac-with-if-and-inline-plugin/542/22 "2022-02-25T16:04:48Z")

</div>

Ah sorry, if it’s bit depth then it’s just `round(max(item.bitdepth for item in items) / 8) * 8` as it doesn’t need dividing by 1000.

[Previous page](https://discourse.beets.io/t/different-path-formatting-for-flac-and-mp3-aac-with-if-and-inline-plugin/542.md?page=1)
