# Time to rethink path formats?

**URL:** <https://discourse.beets.io/t/time-to-rethink-path-formats/1402>\
**Category:** Development\
**Created:** [July 15, 2020, 9:13pm UTC](https://discourse.beets.io/t/time-to-rethink-path-formats/1402 "2020-07-15T21:13:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [July 16, 2020, 11:19am UTC](https://discourse.beets.io/t/time-to-rethink-path-formats/1402/3 "2020-07-16T11:19:47Z")

</div>

Ah, I had forgotten we had recently discussed this possibility and found a tricky way to do it:

> [@Using template functions with the inline plugin](https://discourse.beets.io/t/using-template-functions-with-the-inline-plugin/1267/3):
>
> Changed my code to initial: | import beets.plugins the\_func = beets.plugins.template\_funcs()['the'] the\_artist = the\_func(albumartist\_sort or artist\_sort or albumartist or artist or '\_') return the\_artist[0].upper() And this works like a charm. Thanks!

---

_[View the full topic](https://discourse.beets.io/t/time-to-rethink-path-formats/1402)._
