Page 1 of 1

All files flagged as invalid

Posted: 31 May 2025, 21:22
by rassawyer
I've been using Filebot on Arch linux for nearly a decade, and it has pretty much always just worked. Unfortunately, that seems to no longer be the case. I have a script that I use to call fn:amc, as pasted here:

Code: Select all

#!/bin/sh -xu

# If run by qbtuser or systemd service, $HOME may not be yours — better to use explicit paths

filebot -script fn:amc \
  --output "/home/rassawyer/Media/Plex" \
  --action duplicate \
  --format "{plex}" \
  --conflict auto \
  -non-strict "/home/qbtuser/Downloads" \
  --log-file "/home/rassawyer/Media/amc.log" \
  --def skipExtract=y \
        subtitles=en \
        clean=y \
        unsorted=y \
        music=y \
        artwork=y \
        excludeList="/home/rassawyer/Media/amc.txt"
Sadly, when I run this now, it says either "ignore extra" or "invalid media file"

Code: Select all

filebot -script fn:amc --output /home/rassawyer/Media/Plex --action duplicate --format '{plex}' --conflict auto -non-strict /home/qbtuser/Downloads --log-file /home/rassawyer/Media/amc.log --def skipExtract=y subtitles=en clean=y unsorted=y music=y artwork=y excludeList=/home/rassawyer/Media/amc.txt
Run script [fn:amc] at [Sat May 31 17:36:24 EDT 2025]
Parameter: skipExtract = y
Parameter: subtitles = en
Parameter: clean = y
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = /home/rassawyer/Media/amc.txt
Argument[0]: /home/qbtuser/Downloads
Use excludes: /home/rassawyer/Media/amc.txt (0)
Ignore extra: /home/qbtuser/Downloads/Focus.2015.EXTRAS.1080p.BluRay.H264-RMXTRAS
Ignore extra: /home/qbtuser/Downloads/In.Time.2011.EXTRAS.1080p.BluRay.H264-RMXTRAS
Ignore extra: /home/qbtuser/Downloads/Iron.Man.2.2010.EXTRAS.1080p.BluRay.H264-RMXTRAS
Ignore extra: /home/qbtuser/Downloads/Jack.Reacher.2012.EXTRAS.1080p.BluRay.H264-RMXTRAS
Ignore extra: /home/qbtuser/Downloads/Sherlock.Holmes.2009.EXTRAS.1080p.BluRay.VC1-RMXTRAS
Ignore extra: /home/qbtuser/Downloads/Spectre.2015.EXTRAS.1080p.BluRay.H264-RMXTRAS
Ignore extra: /home/qbtuser/Downloads/Spider-Man.3.2007.EXTRAS.1080p.BluRay.H264-RMXTRAS
Ignore extra: /home/qbtuser/Downloads/Ted.2012.EXTRAS.1080p.BluRay.H264-RMXTRAS
Invalid media file: [Alvin.And.The.Chipmunks.The.Road.Chip.2015.REPACK.1080p.BluRay.H264.AAC-RARBG.mp4 | 1884327242]
Invalid media file: [Doogie.Kamealoha.M.D.S01E03.1080p.WEBRip.x265[eztv.re].mp4 | 459710474]
Ignore extra: /home/qbtuser/Downloads/Ferrari-Race.to.Immortality.2017.Bluray.1080p.DTS-HD.x264-Grym/Ferrari-Race.to.Immortality.Extras-Grym
Invalid media file: [FUBAR.S01E01.1080p.WEB.H264-CAKES.mkv | 2304323285]
Invalid media file: [FUBAR.S01E02.1080p.WEB.H264-CAKES.mkv | 1901154568]
Invalid media file: [FUBAR.S01E03.1080p.WEB.H264-CAKES.mkv | 2293460437]
Invalid media file: [FUBAR.S01E04.1080p.WEB.H264-CAKES.mkv | 2374404429]
Invalid media file: [FUBAR.S01E05.1080p.WEB.H264-CAKES.mkv | 2374343307]
Invalid media file: [FUBAR.S01E06.1080p.WEB.H264-CAKES.mkv | 2492416388]
Invalid media file: [FUBAR.S01E07.1080p.WEB.H264-CAKES.mkv | 2128844134]
Invalid media file: [FUBAR.S01E08.1080p.WEB.H264-CAKES.mkv | 1865069259]
Ignore extra: /home/qbtuser/Downloads/Gladiator.2000.Complete.Extended.Bluray.1080p.DTS-HD.x264-Grym/Gladiator.Extras-Grym
Invalid media file: [House.of.Lies.S02E01.Stochasticity.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2610100339]
Invalid media file: [House.of.Lies.S02E04.Damonschildren.Org.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2152426833]
Invalid media file: [House.of.Lies.S02E05.Sincerity.Is.An.Easy.Disguise.In.This.Business.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2362009707]
Invalid media file: [House.of.Lies.S02E06.Family.Values.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2838771204]
Invalid media file: [House.of.Lies.S02E07.The.Runner.Stumbles.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2393000969]
Invalid media file: [House.of.Lies.S02E08.Wonders.Of.The.World.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2381709126]
Invalid media file: [House.of.Lies.S02E09.Liability.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2485475590]
Invalid media file: [House.of.Lies.S03E02.PowerLess.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2433996610]
Invalid media file: [House.of.Lies.S03E03.Boom.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2174369402]
Invalid media file: [House.of.Lies.S03E04.Associates.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2406160949]
Invalid media file: [House.of.Lies.S03E05.Soldiers.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2341128132]
Invalid media file: [House.of.Lies.S03E07.Pushback.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2078500624]
Invalid media file: [House.of.Lies.S03E08.Brinkmanship.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 1919660782]
Invalid media file: [House.of.Lies.S03E09.Zhang.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2404779822]
Invalid media file: [House.of.Lies.S03E10.Comeuppance.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2048567894]
Invalid media file: [House.of.Lies.S03E11.Together.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2287779511]
Invalid media file: [House.of.Lies.S03E12.Joshua.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2302748930]
Invalid media file: [House.of.Lies.S04E02.Im.A.Motherfucking.Scorpion.Thats.Why.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2766548010]
Invalid media file: [House.of.Lies.S04E04.We.Can.Always.Just.Overwhelm.The.Vagus.Nerve.With.Another.Sensation.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2617109956]
Invalid media file: [House.of.Lies.S04E06.Trust.Me.Im.Getting.Plenty.Of.Erections.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2746666465]
Invalid media file: [House.of.Lies.S04E10.Praise.Money.Hallowed.Be.Thy.Name.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2784659065]
Invalid media file: [House.of.Lies.S05E04.End.State.Vision.1080p.AMZN.WEBRip.DD5.1.x264-NTb.mkv | 2065677925]
mediainfo_1: compute: /home/qbtuser/Downloads/Law.And.Order.SVU.S07E13.1080p.WEB.H264-SKYFiRE/law.and.order.svu.s07e13.1080p.web.h264-skyfire.mkv@1745891907680: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
mediainfo_1: put: /home/qbtuser/Downloads/Law.And.Order.SVU.S07E13.1080p.WEB.H264-SKYFiRE/law.and.order.svu.s07e13.1080p.web.h264-skyfire.mkv@1745891907680: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Invalid media file: [No.Ordinary.Family.S01E15.1080p.x265-ZMNT.mkv | 808993381]
Invalid media file: [No.Ordinary.Family.S01E08.1080p.x265-ZMNT.mkv | 848277894]
Invalid media file: [No.Ordinary.Family.S01E14.1080p.x265-ZMNT.mkv | 856488242]
I've tried a bunch of different things. I have verified that mediainfo is installed, and works, I've verified that the files are valid, I'm out of ideas.

Re: All files flagged as invalid

Posted: 31 May 2025, 22:36
by rednoah
:?: What happens if you let the script run? The console output above does not show any particular error. The script will print an error message / error code after the script has finished running. I recommend manually running tests on a small number of files if in doubt.


:?: Is this an actual movie file, or just a file with extras? Because extras are and should be ignored from processing, since you don't want to match extras as if they were actual movie files:

Code: Select all

Ignore extra: /home/qbtuser/Downloads/Focus.2015.EXTRAS.1080p.BluRay.H264-RMXTRAS
NOTE: The amc script categorically ignores files with the keyword EXTRAS in the file name.


:idea: Invalid media file means that mediainfo cannot read the file:

Code: Select all

Invalid media file: [Alvin.And.The.Chipmunks.The.Road.Chip.2015.REPACK.1080p.BluRay.H264.AAC-RARBG.mp4 | 1884327242]
That's not an error, just a warning. Might suggest that the file is corrupt though. Getting that warning for many files is highly unusual. I'd run a file system integrity check just in case.

That said, this particular warning merely means that FileBot won't be able to determine video duration, video codec, audio language, etc, but notably does not prevent FileBot from processing the file as per usual.



EDIT:

:?: What does filebot -script fn:sysinfo say?