Search found 36 matches

by Automator
25 Jan 2018, 16:35
Forum: Feature Requests and Bug Reports
Topic: One rename call makes two TheMovieDB requests?
Replies: 1
Views: 1488

One rename call makes two TheMovieDB requests?

Hi there, Since I got the JAVA_OPTS environment variables I see a little bit more behind the scenes. And found out that if I run one rename command. I get two TheMovieDB requests. But to make sure its not a fault of my script I did the same thing with the fn:renall script with the same result. Here ...
by Automator
25 Jan 2018, 12:06
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

After some more diggin into that matter. I still think there is something crazying going on what that renaming method using folders... in my script I have to call it with rename(file: my_dir, output:"blabalbalbal") on cli if I call it on a folder it just takes a .nfo file and renames that ...
by Automator
25 Jan 2018, 11:42
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

1. Perfect :-) gives me a lot more feedback. Thank you 2. Not sure if it does it since I can not see anything about matching or finding tt or nfo in the output I get even with the JAVA_OPTS you gave me turned on. 3. I am not sure if this is intentional since when i query manually it works... filebot...
by Automator
25 Jan 2018, 11:05
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

Okay, I already solved that one. Don't worry its not duplication so I am not running hundreds and hundreds of requests against themoviedb. I got some movie who can not be matched I guess. They return CmdlineException: Failed to identify or process any files is there a way to debug that more closely?...
by Automator
25 Jan 2018, 10:54
Forum: Feature Requests and Bug Reports
Topic: Bug in the cleaner Script
Replies: 7
Views: 7707

Re: Bug in the cleaner Script

1. ;-) 2. Thank you very much. And I mean that. I had so much troubles reading your code there.. Since you && and ! functions and I don't have any good debugger to see what you are passing where so I put println's everywhere to kinda get a hang of what you are doing but I could not really fi...
by Automator
25 Jan 2018, 09:27
Forum: Feature Requests and Bug Reports
Topic: Bug in the cleaner Script
Replies: 7
Views: 7707

Re: Bug in the cleaner Script

1. Mea culpa. I guess I shouldn't read the forums when I'm mobile. Ups. Sorry. :oops: :idea: Recent changes could not possibly (read: extremely unlikely) have broken the cleaner script (which hasn't significantly changed in years) so strong proof was necessary to eliminate human error. I shall ask ...
by Automator
24 Jan 2018, 21:59
Forum: Feature Requests and Bug Reports
Topic: Bug in the cleaner Script
Replies: 7
Views: 7707

Re: Bug in the cleaner Script

1. 1. Did you make up the logs? This command could not and would not yield to output you posted, since you're not passing in any input folder as argument: Yes, and I helped the USA staging the moon landing... https://snag.gy/tI2b96.jpg https://snag.gy/D8NBj4.jpg As you can see if you make the browse...
by Automator
24 Jan 2018, 19:30
Forum: Feature Requests and Bug Reports
Topic: Bug in the cleaner Script
Replies: 7
Views: 7707

Bug in the cleaner Script

Hi there, I found out that I guess since the Patching for r5256 the cleaner script no longer searches thru the root folder you give it. [bliblablup@whatever]$ ls -l Spider.Man.Homecoming.2017.German.DL.1080p.BluRay.x264-ENCOUNTERS/ total 7064612 -rwxr-xr-x. 1 jd jd 179 Nov 10 23:15 #1 Uploaded Premi...
by Automator
24 Jan 2018, 07:46
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

Okay, I was able to write a little script which groupsby directory name since they are the same. And prefers the directories in the right place. So far so good. But I don't know the syntax or code for using the lookup result. Can you help me out? If I for example have a download Big.Buck.Bunny.2008....
by Automator
24 Jan 2018, 07:46
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

Okay, I was able to write a little script which groupsby directory name since they are the same. And prefers the directories in the right place. So far so good. But I don't know the syntax or code for using the lookup result. Can you help me out? If I for example have a download Big.Buck.Bunny.2008....
by Automator
22 Jan 2018, 10:08
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

If the duplicates script is not working, then it's most likely because xattr isn't working or not enabled, so this script simply won't work. sysinfo gives me back that: FileBot 4.7.14 (r5256) JNA Native: 5.2.0 MediaInfo: 0.7.96 Apache Commons VFS: [zip, rar] Chromaprint: 1.4.2 Extended Attributes: ...
by Automator
22 Jan 2018, 00:11
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

As far as I can tell the script now works flawless. Only issue that remains is the not working duplication script part since the fn:duplication is also not working :-( and the part about the subtitles not having the same correct filename as I would like to do it. But as far as I can tell plex no lon...
by Automator
21 Jan 2018, 22:58
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

Okay I got again some progress. Now I am able to move the subtitles multiple movies inside a movie folder into within the correct movie folder. args.eachMediaFolder{ dir-> log.info "Working with: $dir" dir.getFiles{ it.isSubtitle() }.each{ log.info "Moving $it to $dir/$it.name" i...
by Automator
21 Jan 2018, 21:53
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

1. Okay I see. Renaming is good. But I don't need renaming only. I need to clean, move subtitles, rename, check for duplicates and update plex? I don't think I can do this all in one line... 2. Yes but you sent me the code for CLI not for scripting. Like I said in 1. CLI is nice. But it takes multip...
by Automator
21 Jan 2018, 20:20
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

I think I just figured out the part with the subtitles... But I don't know how I can make the files to take the correct name name of the mkv .{subt}.{ext} args.getFiles{ it.isSubtitle() }.each{ log.info "Moving $it" it.moveTo(new File(ParentFolder, it.name)) } Btw. the Parent Folder is als...
by Automator
21 Jan 2018, 19:10
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

Okay, so far so good. I tried the custom expressions --format "/mnt/NAS/{file.path.contains('mycondition') ? 'a' : 'b'}/{media.audioCount > 1 ? 'MULTi' : audioLanguages.first()}/{HD}/{ny}" seams to work so far. But I need more so I guess I should go back to scripting. I am struggeling with...
by Automator
19 Jan 2018, 18:02
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

Ahhh :-) i forgot something. I also wanted to script that the script checks for existens in decision1 if the new file is decision2 :-) for example: /mnt/NAS/INCOMING/decision2/Jack.Reacher.Kein.Weg.zurueck.2016.German.DL.1080p.BluRay.x264-COiNCiDENCE the script should check if /mnt/NAS/MOVIES/decisi...
by Automator
19 Jan 2018, 17:07
Forum: Help and Support
Topic: UnsupportedOperationException with the Rename function
Replies: 14
Views: 5916

Re: UnsupportedOperationException with the Rename function

hmm... I just ran following wget https://get.filebot.net/filebot/latest/FileBot.jar.xz.gpg gpg --batch --yes --trusted-key "4E402EBF7C3C6A71" --output "FileBot.jar.xz" --decrypt FileBot.jar.xz.gpg xz --decompress FileBot.jar.xz which only gives me back FileBot 4.7.14 (r5247) but ...
by Automator
19 Jan 2018, 16:35
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Re: Help with my script

Thanks again for your reply. 1. Yes, depending on the video resultion, count of audio channels, language of these audio channels and the folder structure it will use another output folder. Example: /mnt/NAS/INCOMING/decision1/Jack.Reacher.Kein.Weg.zurueck.2016.German.DL.1080p.BluRay.x264-COiNCiDENCE...
by Automator
19 Jan 2018, 13:21
Forum: Scripting and Automation
Topic: Help with my script
Replies: 21
Views: 9582

Help with my script

Hi there, Since rednoah help so nicely with the big main issue I had with my script I thought I do a little update in the complete script. The goal of my script is following: - It has to recognize if a movie is SD / HD / UHD that was easy to fix with if (getMediaInfo(f, '{vf}') == "1080p" ...
by Automator
19 Jan 2018, 11:31
Forum: Help and Support
Topic: UnsupportedOperationException with the Rename function
Replies: 14
Views: 5916

Re: UnsupportedOperationException with the Rename function

rednoah!!! you are the best :-) so happy we finally figured it out. How do I access the (r5254)? Update /usr/bin/filebot/FileBot.jar.xz.gpg % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 304 NO UPDATE
by Automator
19 Jan 2018, 06:37
Forum: Help and Support
Topic: UnsupportedOperationException with the Rename function
Replies: 14
Views: 5916

Re: UnsupportedOperationException with the Rename function

Well renaming the movie.mkv to Big Buck Bunny (2008).mkv with filebot -rename Big.Buck.Bunny.2008.x264.1080p-NoGRP works. But this is besides the point. I need filebot to rename/move folders not files... why does this not longer work? How can I solve it?
by Automator
18 Jan 2018, 23:36
Forum: Help and Support
Topic: UnsupportedOperationException with the Rename function
Replies: 14
Views: 5916

Re: UnsupportedOperationException with the Rename function

I did some more debugging... and found out that also with your script... its not working! filebot -script fn:renall Big.Buck.Bunny.2008.x264.1080p-NoGRP/ --def target=folder Rename movies using [TheMovieDB] Auto-detect movie from context: [/home/user/localtest/Big.Buck.Bunny.2008.x264.1080p-NoGRP] [...
by Automator
18 Jan 2018, 13:34
Forum: Help and Support
Topic: UnsupportedOperationException with the Rename function
Replies: 14
Views: 5916

Re: UnsupportedOperationException with the Rename function

Okay just found out when I do filebot -rename -no-xattr Big.Buck.Bunny.2008.x264.1080p-NoGRP I will not get an error message... How do I do the -no-xattr with the script part:

Code: Select all

args.eachMediaFolder{
  rename(file: it,output:"/mnt/NAS/Movies/HD/")
}
by Automator
18 Jan 2018, 13:24
Forum: Help and Support
Topic: UnsupportedOperationException with the Rename function
Replies: 14
Views: 5916

Re: UnsupportedOperationException with the Rename function

Well I created this script with some of your scripts as a template (incl. AMC) but its has specific features I only use and AMC does not have. As far as I can tell the only part that crashes is the: args.eachMediaFolder{ rename(file: it,output:"/mnt/NAS/Movies/HD/") } and I also tried foll...