-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow plugin apply radarr sonarr naming policy #589
Flow plugin apply radarr sonarr naming policy #589
Conversation
…nd enforced some strong typing
This reverts commit b62e38b.
How i can check if a file is Movie? |
@Marnalas Thank you very much! |
@ivans89 The way I did it is I do a "Check Flow Variable" for "args.librarySettings._id". Then if it == the id of my movies library, then it is yes else no. But I have my TV and Movies in separate Tdarr libraries. @Marnalas I downloaded the plugin and have been using it a few days. It is working great. What do you use for the wait timer after the notification? I have been using 10 seconds. |
Hey @tlewis17, Thanks for the feedback. Happy to know that it's useful to someone else ! I've been using 10 seconds as well. It probably could be less, most of the time the notification is handled in a couple of seconds, but if Radarr/Sonarr is busy, 10 seconds is a safe bet. |
That's funny, I did the exact same thing. I copied the Replace Original File and made a custom version with a second output. |
What means by id? The name of the library? Im using it rn with "checkFileName" and {imbd-. Works great. |
@ivans89 Each library has an unique ID. You can find it either by looking at the URL when you go to your library settings, or if you look in a job report it will list the library in the logs somewhere. If what you are using works, that's great. There are lots of ways of handling this. |
@HaveAGitGat Hi, I see the checks are failing at "auto_compile_and_push" because of an error while executing a git command. I don't see more detail. Anything I can do on my side ? |
Hi there,
This is my proposal for a Flow plugin that does the following for a file :
This serves the purpose of letting Radarr and Sonarr handle the renaming policies (which they do really well) and let Tdarr handle the rest.
For this plugin to work as intended, it needs to be executed after the original file for a movie or a serie's episode has been replaced and after Sonarr or Radarr has been notified. This way they can determine if a renaming is necessary.