I had to reinstall my server after a crash, and had to reinstall Filebot as well with a new fresh license (old one expired anyway). I wanted to refresh my TV section for Plex, and I'm running into an issue. The `plex.tail.derive` expression below produces an empty string. `plex.derive` does work, but it's a different (deeper) structure that I don't need. What is the issue here?
{plex.derive{" by $director"}{" [$vf, $vc, $ac]"}.tail}
You can probably remove the -script fn:renall call because it looks like a simple filebot -rename -r call will do just fine for your use case. (EDIT: due to implementation details in how -rename and -script fn:renall work internally, {model} may yield different values in different use cases)
--encoding UTF-8 has no effect on -script fn:renall or -rename calls. It's only used for -get-subtitles and -check calls.
rednoah wrote: ↑02 Nov 2020, 06:43 You can probably remove the -script fn:renall call because it looks like a simple filebot -rename -r call will do just fine for your use case. (EDIT: due to implementation details in how -rename and -script fn:renall work internally, {model} may yield different values in different use cases)
What I need is simple recursive rename. I'll try the suggesions.
rednoah wrote: ↑02 Nov 2020, 06:43--encoding UTF-8 has no effect on -script fn:renall or -rename calls. It's only used for -get-subtitles and -check calls.
It was a long time ago, I can't remember why it's there. I'll try removing it.
rednoah wrote: ↑02 Nov 2020, 11:29 Since passing formats on the command-line can be somewhat cumbersome, you may prefer to pass in your format via a Groovy script file:
I know, thanks. It's inside a shell script so it's fine there.
I remembered why I'm using renall. IIRC it's renaming per directory and provides a more useful directory structure. I'll keep using it, hopefully the script source is available in case you finally disable it after deprecation.