Filebot cleaned up 36gb movie file?
Filebot cleaned up 36gb movie file?
Filename was "The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG"
noticed the AMC script with clean switch cleaned up this file. Is that possible. I thought it only looks to clean up files under 20mb?
noticed the AMC script with clean switch cleaned up this file. Is that possible. I thought it only looks to clean up files under 20mb?
Re: Filebot cleaned up 36gb movie file?
Unlikely. Logs?
Re: Filebot cleaned up 36gb movie file?
have not enforced the log switch, any way i can view the logs from the past? Also was running command from putty and did def see
Delete "The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG
Just wanted to know how and why it would of happened?
Delete "The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG
Just wanted to know how and why it would of happened?
Re: Filebot cleaned up 36gb movie file?
Nope. Without logs I can't speculate what may or may not have happened.
You can check the code and search for "Delete" to find out under what conditions it may choose that code path:
* https://github.com/filebot/scripts/blob ... roovy#L611
* https://github.com/filebot/scripts/blob ... groovy#L41
EDIT:
You can try to reproduce the issue and enable logging this time. Just create a 36 GB file with the same name using the dd command:
http://stackoverflow.com/a/139282/1514467
You can check the code and search for "Delete" to find out under what conditions it may choose that code path:
* https://github.com/filebot/scripts/blob ... roovy#L611
* https://github.com/filebot/scripts/blob ... groovy#L41
EDIT:
You can try to reproduce the issue and enable logging this time. Just create a 36 GB file with the same name using the dd command:
http://stackoverflow.com/a/139282/1514467
Re: Filebot cleaned up 36gb movie file?
This time it looks to have ignored it.
achandab@AhmedsMedia:~$ filebot -script fn:amc "/volumeUSB1/usbshare/Completed Downloads" -non-strict --output "/volume1/Media" --def subtitles=en,ar music=y clean=y --action move --conflict override --def deleteAfterExtract=y
Run script [fn:amc] at [Tue Jun 21 01:54:32 AEST 2016]
Parameter: subtitles = en,ar
Parameter: music = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Argument: /volumeUSB1/usbshare/Completed Downloads
Exclude: /volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv
No files selected for processing
Failure (°_°)
achandab@AhmedsMedia:~$ filebot -script fn:amc "/volumeUSB1/usbshare/Completed Downloads" -non-strict --output "/volume1/Media" --def subtitles=en,ar music=y clean=y --action move --conflict override --def deleteAfterExtract=y
Run script [fn:amc] at [Tue Jun 21 01:54:32 AEST 2016]
Parameter: subtitles = en,ar
Parameter: music = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Argument: /volumeUSB1/usbshare/Completed Downloads
Exclude: /volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv
No files selected for processing
Failure (°_°)
Re: Filebot cleaned up 36gb movie file?
What OS are you using? What filesystem are you using on your USB drive?
Re: Filebot cleaned up 36gb movie file?
Synology NAS with a usb attached. USB file system is ext4.
The thing is it works fine for all my movie and tv shows. This one seems to be an issue. BTW this file is just a mp4 file that i renamed. Not sure if that matters?
The thing is it works fine for all my movie and tv shows. This one seems to be an issue. BTW this file is just a mp4 file that i renamed. Not sure if that matters?
Re: Filebot cleaned up 36gb movie file?
That should be fine. FileBot doesn't check the file content. The cleaner script ignores files based on path and file size alone. The amc script will exclude invalid media files by default though.
For testing with fake files you probably need to set the following amc options:
For testing with fake files you probably need to set the following amc options:
Code: Select all
--def minFileSize=0 minLengthMS=0
Re: Filebot cleaned up 36gb movie file?
Okay when i add those options it does pick it up.
filebot -script fn:amc "/volumeUSB1/usbshare/Completed Downloads" -non-strict --output "/volume1/Media" --def subtitles=en,ar music=y clean=y --action move --conflict override --def deleteAfterExtract=y minFileSize=0 minLengthMS=0
Run script [fn:amc] at [Tue Jun 21 08:22:50 AEST 2016]
Parameter: subtitles = en,ar
Parameter: music = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: minFileSize = 0
Parameter: minLengthMS = 0
Argument: /volumeUSB1/usbshare/Completed Downloads
Input: /volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv
Group: [mov:the revenant 2015] => [The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv]
Get [English] subtitles for 1 files
OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
net.filebot.cli.CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
at net.filebot.cli.CmdlineOperations.requireLogin(CmdlineOperations.java:742)
at net.filebot.cli.CmdlineOperations.getSubtitles(CmdlineOperations.java:699)
at net.filebot.cli.CmdlineOperations.getMissingSubtitles(CmdlineOperations.java:799)
at net.filebot.cli.ScriptShellBaseClass.getMissingSubtitles(ScriptShellBaseClass.java:366)
at Script1$_run_closure72$_closure141.doCall(Script1.groovy:360)
at Script1$_run_closure72.doCall(Script1.groovy:359)
at Script1.run(Script1.groovy:356)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Get [Arabic] subtitles for 1 files
OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
net.filebot.cli.CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
at net.filebot.cli.CmdlineOperations.requireLogin(CmdlineOperations.java:742)
at net.filebot.cli.CmdlineOperations.getSubtitles(CmdlineOperations.java:699)
at net.filebot.cli.CmdlineOperations.getMissingSubtitles(CmdlineOperations.java:799)
at net.filebot.cli.ScriptShellBaseClass.getMissingSubtitles(ScriptShellBaseClass.java:366)
at Script1$_run_closure72$_closure141.doCall(Script1.groovy:360)
at Script1$_run_closure72.doCall(Script1.groovy:359)
at Script1.run(Script1.groovy:356)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv]
[MOVE] Rename [/volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv] to [/volume1/Media/Movies/The Revenant (2015)/The Revenant (2015).mkv]
I don't understand why that works though? You said amc script will exclude invalid media files but the file format is .mkv, and you said it doesnt check content, so how does it know its not really the movie? it was orignally a .mp4 file.
filebot -script fn:amc "/volumeUSB1/usbshare/Completed Downloads" -non-strict --output "/volume1/Media" --def subtitles=en,ar music=y clean=y --action move --conflict override --def deleteAfterExtract=y minFileSize=0 minLengthMS=0
Run script [fn:amc] at [Tue Jun 21 08:22:50 AEST 2016]
Parameter: subtitles = en,ar
Parameter: music = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: minFileSize = 0
Parameter: minLengthMS = 0
Argument: /volumeUSB1/usbshare/Completed Downloads
Input: /volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv
Group: [mov:the revenant 2015] => [The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv]
Get [English] subtitles for 1 files
OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
net.filebot.cli.CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
at net.filebot.cli.CmdlineOperations.requireLogin(CmdlineOperations.java:742)
at net.filebot.cli.CmdlineOperations.getSubtitles(CmdlineOperations.java:699)
at net.filebot.cli.CmdlineOperations.getMissingSubtitles(CmdlineOperations.java:799)
at net.filebot.cli.ScriptShellBaseClass.getMissingSubtitles(ScriptShellBaseClass.java:366)
at Script1$_run_closure72$_closure141.doCall(Script1.groovy:360)
at Script1$_run_closure72.doCall(Script1.groovy:359)
at Script1.run(Script1.groovy:356)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Get [Arabic] subtitles for 1 files
OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
net.filebot.cli.CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
at net.filebot.cli.CmdlineOperations.requireLogin(CmdlineOperations.java:742)
at net.filebot.cli.CmdlineOperations.getSubtitles(CmdlineOperations.java:699)
at net.filebot.cli.CmdlineOperations.getMissingSubtitles(CmdlineOperations.java:799)
at net.filebot.cli.ScriptShellBaseClass.getMissingSubtitles(ScriptShellBaseClass.java:366)
at Script1$_run_closure72$_closure141.doCall(Script1.groovy:360)
at Script1$_run_closure72.doCall(Script1.groovy:359)
at Script1.run(Script1.groovy:356)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv]
[MOVE] Rename [/volumeUSB1/usbshare/Completed Downloads/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG/The.Revenant.2015.1080p.BluRay.REMUX.AVC.DTS-HD.MA.7.1-RARBG.mkv] to [/volume1/Media/Movies/The Revenant (2015)/The Revenant (2015).mkv]
I don't understand why that works though? You said amc script will exclude invalid media files but the file format is .mkv, and you said it doesnt check content, so how does it know its not really the movie? it was orignally a .mp4 file.
Re: Filebot cleaned up 36gb movie file?
Valid media files have a filesize > 0 and a video duration > 0 and the min options disable these sanity checks. Video duration is 0 for invalid video files, thus ignored with default options.
Re: Filebot cleaned up 36gb movie file?
I see, so filebot does actually analyse the file attributes (video/audio length) but not the contents?
Re: Filebot cleaned up 36gb movie file?
Duration is part of the file content. The amc script uses media duration to include/exclude files.
Re: Filebot cleaned up 36gb movie file?
Okay makes sense, Thanks we can close this off!