
How to set naming to automatically move to kids folder based on rating?
-
- Posts: 10
- Joined: 16 Jul 2024, 18:45
How to set naming to automatically move to kids folder based on rating?
What is the best way to automate a file being sent to a kids folder if it's a kids tv or movie? What params would I base it on? Ratings? Thanks in advance! 

Re: How to set naming to automatically move to kids folder based on rating?
FileBot can do anything, but FileBot cannot tell you what you want to do. Can filebot sort between children's/adult shows/movies? will help you get started.ibcservices wrote: ↑16 Jul 2024, 21:16 What is the best way to automate a file being sent to a kids folder if it's a kids tv or movie? What params would I base it on? Ratings?

Console Output: Select all
$ filebot -list --q "Avatar" --db TheMovieDB --format "{id} | {ny} | {certification} | {genres} | {info.keywords}"
19995 | Avatar (2009) | PG-13 | [Action, Adventure, Fantasy, Science Fiction] | [paraplegic, attachment to nature, culture clash, indigenous, space travel, space colony, tribe, alien planet, distant future, marine, battle, love affair, scientist, nature, native peoples, power relations, meditative, tribal customs, tribal people, tribal chief, deity, spiritual community, 22nd century, save the planet, racial discrimination, soldiers]
e.g.
Format: Select all
X:/Media/{ certification ==~ /G|PG-13/ ? 'Kids ' : null }Movies/{ ~plex }
-
- Posts: 10
- Joined: 16 Jul 2024, 18:45
Re: How to set naming to automatically move to kids folder based on rating?
Wow. Just wow. That CLI is incredible. Thank you for the example, I will have to use that. I was struggling with if statements in my Filebot format script. I saw an article on if statements. Is there an article you would recommend to ensure I understand which symbols mean what? I am unsure what ==~ means. Could you explain that?
I have been manually running Filebot on my macOS and my media is managed on Asustor NAS. What is the best way you would suggest using Filebot? CLI? App on NAS if it exists? App on Mac as usual? All of the above?
Thank you for the info so far! Very helpful!
I have been manually running Filebot on my macOS and my media is managed on Asustor NAS. What is the best way you would suggest using Filebot? CLI? App on NAS if it exists? App on Mac as usual? All of the above?
Thank you for the info so far! Very helpful!
Re: How to set naming to automatically move to kids folder based on rating?
FileBot Groovy Expression Reference Documentation is a starting point. The ==~ match operator checks if the String on the left-hand side matches the regex pattern on the right-hand side. You can use Groovy Reference Manual / Google search / ChatGPT queries / etc to get started with Groovy programming, but the level of depth you will get (as any documentation will likely be for programmers by programmers) is usually far beyond the very *very* basic Groovy programming needed for a typical FileBut custom format. That said, you will find basics in any programming language immensely helpful, since the basic concepts are always the same anyway.ibcservices wrote: ↑17 Jul 2024, 07:59 I was struggling with if statements in my Filebot format script. I saw an article on if statements. Is there an article you would recommend to ensure I understand which symbols mean what? I am unsure what ==~ means. Could you explain that?
I'd connect the remote NAS as network drive and the process files like any other local file. This is always be the best choice, unless you can articulate to yourself why this choice does not work for your specific use case.ibcservices wrote: ↑17 Jul 2024, 07:59 I have been manually running Filebot on my macOS and my media is managed on Asustor NAS. What is the best way you would suggest using Filebot? CLI? App on NAS if it exists? App on Mac as usual?


-
- Posts: 10
- Joined: 16 Jul 2024, 18:45
Re: How to set naming to automatically move to kids folder based on rating?
Forgive the delay. So I am working on setting up the filebot node on my ASUSTOR NAS. I am having some firewall issues. If I disable my firewall, it works great. But I need to enable my firewall. Do you know which IPs or ports filebot-node docker image uses? If I a get this working, I will use filebot watcher as well.
Re: How to set naming to automatically move to kids folder based on rating?
You are presumably using docker to run the FileBot Node container. In this case, you yourself configure the public host port. That's the -p option on the command-line but ASUSTOR presumably gives you a WebUI for that. Please post screenshots as we are not familiar with the ASUSTOR WebUI.