# Plex naming schemes for FileBot

**URL:** <https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538>\
**Category:** Tips, Tricks & How-Tos\
**Tags:** tipstricks\
**Created:** [November 3, 2015, 1:33pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538 "2015-11-03T13:33:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![filebot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/filebot/32/9910_2.png) [@filebot](https://forums.plex.tv/u/filebot)\
**Post date:** [November 3, 2015, 1:33pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/1 "2015-11-03T13:33:22Z")

</div>

Newer versions of FileBot include a built-in **{plex}** binding which will give you the **Plex Naming Standard** path for all media types:

```java
{ plex.id }

```

FileBot Media Renamer =\> [http://www.filebot.net/](http://www.filebot.net/)  
FileBot `{plex}` binding =\> [https://www.filebot.net/forums/viewtopic.php?t=4116](https://www.filebot.net/forums/viewtopic.php?t=4116)  
Video Tutorial =\> [https://youtu.be/cihWAvDW7MM](https://youtu.be/cihWAvDW7MM)

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [November 3, 2015, 7:57pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/2 "2015-11-03T19:57:56Z")

</div>

I see the following complaint from FB: `BindingException: "lang": undefined`  
Do I need a newer version or a special build?

---

<div class="post-metadata">

**Author:** ![filebot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/filebot/32/9910_2.png) [@filebot](https://forums.plex.tv/u/filebot)\
**Post date:** [November 4, 2015, 12:53am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/3 "2015-11-04T00:53:23Z")

</div>

`{lang}` is only defined for subtitle files. So if you’re testing with video files that warning is to be expected and can be ignored. The `{'.'+lang}` part gives subtitle files the additional language suffix (e.g. `.eng`) but won’t affect naming of video files due to `{lang}` being undefined for these cases.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [November 4, 2015, 1:28pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/4 "2015-11-04T13:28:39Z")

</div>

Thanks for the explanation!

---

<div class="post-metadata">

**Author:** ![Ansem93](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Ansem93](https://forums.plex.tv/u/Ansem93)\
**Post date:** [July 13, 2016, 3:23pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/5 "2016-07-13T15:23:00Z")

</div>

Hi, I never used Filebot before,  
What’s the Plex tag?  
It automatically replace all the other things?

---

<div class="post-metadata">

**Author:** ![filebot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/filebot/32/9910_2.png) [@filebot](https://forums.plex.tv/u/filebot)\
**Post date:** [July 13, 2016, 3:30pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/6 "2016-07-13T15:30:39Z")

</div>

Pretty much. It’ll give you the relative plex path for Movie/Episode/Music objects. Just play with the Format Editor for a few minutes and then it’ll all make sense.

---

<div class="post-metadata">

**Author:** ![Ansem93](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Ansem93](https://forums.plex.tv/u/Ansem93)\
**Post date:** [July 13, 2016, 5:39pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/7 "2016-07-13T17:39:21Z")

</div>

thanks 🙂 Still filebot is a standalone program, not a plugin for plex right?

---

<div class="post-metadata">

**Author:** ![Nights0ng](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nights0ng/32/11035_2.png) [@Nights0ng](https://forums.plex.tv/u/Nights0ng)\
**Post date:** [July 13, 2016, 6:10pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/8 "2016-07-13T18:10:01Z")

</div>

> @Ansem93 said:  
> thanks 🙂 Still filebot is a standalone program, not a plugin for plex right?

Correct

---

<div class="post-metadata">

**Author:** ![gitchownd](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@gitchownd](https://forums.plex.tv/u/gitchownd)\
**Post date:** [July 26, 2016, 7:14pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/9 "2016-07-26T19:14:11Z")

</div>

unfortunately {plex} doesn’t seem to deal with colons in show/episode names.

---

<div class="post-metadata">

**Author:** ![filebot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/filebot/32/9910_2.png) [@filebot](https://forums.plex.tv/u/filebot)\
**Post date:** [July 27, 2016, 3:34am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/10 "2016-07-27T03:34:31Z")

</div>

FileBot 4.7.1 and higher will force Windows-compatible file/folder names when using `{plex}`.

---

<div class="post-metadata">

**Author:** ![gitchownd](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@gitchownd](https://forums.plex.tv/u/gitchownd)\
**Post date:** [August 1, 2016, 11:53pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/11 "2016-08-01T23:53:41Z")

</div>

Awesome, thanks.

---

<div class="post-metadata">

**Author:** ![gitchownd](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@gitchownd](https://forums.plex.tv/u/gitchownd)\
**Post date:** [August 2, 2016, 5:16am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/12 "2016-08-02T05:16:04Z")

</div>

Just thought I’d point out an interesting bug(?) I noticed. I was trying to match Star Trek: The Next Generation. I’d drag my files in and press match. Because there’re lots of series with a similar name, the box would pop up where it’d ask me to identify the correct series on TVDB. I’d select The Next Generation, and continue. And then FileBot loads the names for the Original Series. Tested multiple times again and again, and restarted and tested again. Every time I tell it to match to the Next Generation, it pulls the episode names for the Original Series. Same results for one season at a time. Manually finding the episodes in the next tab has no issues.

Curiously, Deep Space Nine did not have this issue.

---

<div class="post-metadata">

**Author:** ![filebot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/filebot/32/9910_2.png) [@filebot](https://forums.plex.tv/u/filebot)\
**Post date:** [August 2, 2016, 6:18am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/13 "2016-08-02T06:18:22Z")

</div>

Logs? Filenames?

What’s happening is that FileBot is considering multiple options to begin with, some of which it may ask about , some of which don’t need asking about. That’s just my guess. Without the filenames I can’t tell you what’s going on.

---

<div class="post-metadata">

**Author:** ![gitchownd](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@gitchownd](https://forums.plex.tv/u/gitchownd)\
**Post date:** [August 2, 2016, 7:03am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/14 "2016-08-02T07:03:46Z")

</div>

Where would I find the logs? I was able to reproduce the issue by creating a file named “Star.Trek.TNG.S01E04.Code of Honor.avi” and running it through FileBot. It asks specifically how it should match that file, I select next gen, and it matches to tos instead. I’m guessing it’s because it was named “star.trek.tng” instead of “star.trek.the.next.generation” or such. It just threw me off because it specifically asked how to match it and then ignored that entirely.

---

<div class="post-metadata">

**Author:** ![filebot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/filebot/32/9910_2.png) [@filebot](https://forums.plex.tv/u/filebot)\
**Post date:** [August 2, 2016, 7:43am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/15 "2016-08-02T07:43:32Z")

</div>

That explains things. FileBot will search by “Star Trek” (makes sense, no questions) and “Star Trek TNG” (makes no sense, because it hasn’t been added as alias yet, so it’ll ask) and decides that “Star Trek” makes the most sense.

I’ll add “Star Trek: TNG” to my alias list.

In the meanwhile you can always skip auto-detection by SHIFT-CLICKING the datasource.

---

<div class="post-metadata">

**Author:** ![gitchownd](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@gitchownd](https://forums.plex.tv/u/gitchownd)\
**Post date:** [August 2, 2016, 8:02am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/16 "2016-08-02T08:02:16Z")

</div>

Ah ok. I get it now. While you’re at it VOY = Voyager, ENT = Enterprise, DS9 = Deep Space Nine, TOS = The Original Series (just Star Trek). 😉 Tested Shift+click as well and that works perfectly. Thanks for the tips!

---

<div class="post-metadata">

**Author:** ![hitechcasio](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hitechcasio](https://forums.plex.tv/u/hitechcasio)\
**Post date:** [September 3, 2016, 1:16am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/17 "2016-09-03T01:16:12Z")

</div>

Hey, I’m getting this error when trying to use this:

[CLOSED] 0.0 / 597.8 MB Rate: 0.0 / 0.0 KB Uploaded: 0.0 MB [T R: 0.00]  
Inactive:  
The Whitest Kids U’ Know  
[OPEN] 0.0 / 7805.5 MB Rate: 0.0 / 0.0 KB Uploaded: 0.0 MB [T R: 0.00]  
Inactive:  
Airplane! (1980) [1080p] x264 - Jalucian [OPEN] 0.0 / 1518.1 MB Rate: 0.0 / 0.0 KB Uploaded: 1714.4 MB [T R: 0.00] Inactive: Download registered a  
( 2:48:22) A5561850D0049562E49AAB18B2FA8BB85AEF11E4-\>file\_list: Failed to prepare file list: Could not create directory ‘/root/Downloads/WarGames 1983 1080p BDRip H264 AAC - KiNGD  
OM’: No such file or directorywnload: Could not create directory ‘/root/Downloads/WarGames 1983 1080p BDRip H264 AAC - KiNGDOM’: No such file or directory

On Debian 8. I can’t seem to figure out what’s causing this problem, any ideas?

---

<div class="post-metadata">

**Author:** ![filebot](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/filebot/32/9910_2.png) [@filebot](https://forums.plex.tv/u/filebot)\
**Post date:** [September 3, 2016, 3:25am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/18 "2016-09-03T03:25:26Z")

</div>

FileBot is not a download tool. This log has absolutely nothing to do with FileBot.

---

<div class="post-metadata">

**Author:** ![hitechcasio](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hitechcasio](https://forums.plex.tv/u/hitechcasio)\
**Post date:** [September 3, 2016, 3:37am UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/19 "2016-09-03T03:37:07Z")

</div>

My mistake, it’s a problem with an RTorrent script that I can’t seem to fix

---

<div class="post-metadata">

**Author:** ![hitechcasio](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hitechcasio](https://forums.plex.tv/u/hitechcasio)\
**Post date:** [September 3, 2016, 3:17pm UTC](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538/20 "2016-09-03T15:17:57Z")

</div>

Hiya, I switched to the Deluge client and am facing a different problem (I’m really sorry I would post on the FB forums but the captcha’s bugged out so I’m not able to register)

Error: Illegal usage: input folder must not contain output folder: /home/ru/Media

deluge exection: /home/ru/deluge-postprocess.sh

deluge-postprocess.sh: [http://pastebin.com/ibVPW94g](http://pastebin.com/ibVPW94g)

[Next page](https://forums.plex.tv/t/plex-naming-schemes-for-filebot/121538.md?page=2)
