Hello,
Please suggests that files be name as the following, as this allows Plex to distinguish between exact movie names via IMDb.
- Batman Begins (2005) {imdb-tt0372784}
Batman Begins (2005) {imdb-tt0372784}.mp4
Specifically adding the curly braces with the IMDb tag. However, when I try to set it this way in FileBot, I either get a syntax error or it ignores the curly braces. I've provided a screenshot below of what I have tried. What do I need to do to have it recognize those, as I am certainly no expert on Groovy scripting.
&
screenshot studio
Thanks in advance for any guidance.
How do I generate {imdb-tt0372784} markers?
Re: Plex Recommended File Format Isn't Working in FileBot
YES:
NO:
Because the outer {...} delimit Groovy code. Everything in between is Groovy code. If you're using {...} in Groovy code then that could be interpreted as block or closure in this context, and so you get an error about ambiguous code: viewtopic.php?t=10824
Code that generates {imdb-tt0372784} would look like this:
That said, you'll probably want to just use the built-in {plex.id} format and let that take care of everything:
Additionally, you'll want to use TheMovieDB IDs and not IMDB IDs. {plex.id} does this by default. Please read the How do I organize files for Plex? manual for details.
Code: Select all
{ imdbid }
Code: Select all
{ { imdbid } }
Code that generates {imdb-tt0372784} would look like this:
Code: Select all
{ ' {imdb-' + imdbid + '}' }
That said, you'll probably want to just use the built-in {plex.id} format and let that take care of everything:
Code: Select all
{ plex.id }
Please read the FAQ and How to Request Help.