7/31/2023 0 Comments Filebot amc scriptPerhaps there is another way: what if instead of changing the username transmission runs as, I instead changed the permissions of the default username used by transmission. I guess that this solution works for transmission on mac, but not for transmission for QNAP NASes. 1) Uninstall Filebot and Filebot Node from the package center in Synology. Running both from the CLI or from the Filebot node, the same warning is given. It changes the user that transmission runs as, but I can't use it because when I try to execute "transmission-daemon stop", I get an error message (see this for details). As this is the only script I use, it blocks all of my jobs. The solution suggested comes from this thread. This leads me to believe that this is definitely a problem of permissions for transmission, which don't allow it to move or edit any file. docker run -rm -it -v PWD:/volume1 -v data:/data -p 5452:5452 rednoah/filebot. However, it is unable to do anything else, it can't even write the standard output when I use "> out.txt", and much less move around and rename files. FileBot Node allows you to call the amc script via a simple web interface. It does beep after a torrent finishes completion which shows that transmission is indeed executing the script. On a related note if there's any way in a future releases to reduce these steps (ie: update the htpc library script to work with TMDB, or incorporate episode NFO file generation (possibly making it optional) into the AMC script) that would be much appreciated.I inserted a command line in my script so that my NAS would beep at the end of the script. This is all getting scripted but the less steps involved the less chance for things to break. Which got me thinking maybe I can cut out the AMC script to reduce the steps involved. first the AMC script to rename stuff, then the FileBot built in post processing to download artwork and create NFO files from TMDB, then the nfo.groovy script you created to create NFO files for episodes. Unfortunately though that means that currently I have to use three separate scripts to rename and generate NFO files for everything. That and generating NFO files for each episode but you were able to whip up a script to tackle that (much appreciated). What kind of finer control over everything are you looking for specifically?Ĭurrently the primary fine tuning that I'm attempting is to use TMDB for everything including NFO files for TV shows (your answer in one of my other posts related to that effort is what made me aware of the post processing features). If you need customization, then you'll want to fork the amc script and its dependencies and make your modifications there, or just make your own call before / after calling filebot. You'd typically use bash for that, but we use Groovy, because Windows. The amc script on the other hand is really just a few hundred lines of fine-grained configuration and related plumbing, to call -rename in different ways and do things before and after. Note that the -apply post-processing features are explicitly not configurable and give you zero control by design for the sake of simplicity. especially if one wants finer control over everything?Ĭode: Select all $ filebot -rename 4 -non-strict -apply nfo The Filebot AMC script gets called everytime a torrent finishes. Or am I missing something in my understanding? Is it possible to invoke FileBot directly to do the renaming, nfo generating, artwork downloading, subtitle fetching, etc. File is a program that fetches metadata and renames files. The only thing I'm not sure about is whether the AMC script provides additional file selection logic that maybe you don't get if you invoke FileBot directly to do the renaming (ie: AMC can handle renaming movies and TV shows all in the same input folder, not sure how FileBot would react to something like that). The provided functions are the same as in the CLI and parameter usage is also exactly the same. It's the same on all platforms and much more powerful. Just script everything in Groovy instead of bothering with cumbersome cmd and bash scripts. You can play around with that setting to see what works best for you. FileBot makes scripting and automation as easy as it gets. The format will give you something like Movie Name (Year)/Movie Name (Year).ext. I see that the AMC script can uncompress files as well as notify the media server of changes, but everything thing else seems like it overlaps with the -apply command. This would use filebot to rename using TMDB, skip extended attributes on the files, hardlink the file (useful for torrents.). What I'm now trying to figure out is if this basically makes the majority of the AMC script functionality redundant. Still learning all the features of FileBot and I just found out about being able to script the post processing features using the -apply command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |