xattr or folder structure resulting in mismatches
Posted: 05 Nov 2018, 22:26
I have some movies that are repeatedly being mismatched. I'm running Filebot in Docker with the command:
Recently I've found that some movies are not hardlinked in to their correct subfolders in the /volume1/Movies/Library structure, instead they are all put into a subfolder "/volume1/Movies/Library/David Attenborough and the Sea Dragon (2018)" because xattr incorrectly reads them as this match. So my output would be like this before going on to hardlink them into the incorrect subfolder just mentioned:
Obviously the movie files are named differently in reality, but you get the idea. So the question is, do the files somehow have incorrect xattr metadata, or is the xattr parser doing something strange? Setting the -no-xattr flat made no difference.
Also I am suspicious of the fact that the folder "/volume1/Movies/Unorganized" is not completely strict in the way it's structured, sometimes the .mkv files are directly under "/volume1/Movies/Unorganized" and sometimes they are in "/volume1/Movies/Seed/MovieName/". I think pretty much all the files I'm having issues with are not in subfolders named by the movie title, which I think is throwing Filebot off and mismatching against the folder structure. This is not something I am able to change either, sometimes files come in subfolders, sometimes they dont, thats what I have Filebot for, to create a perfectly organized, hardlinked, structure elsewhere.
Any suggestions on how to go forward?
In any case I would like to see an option to disable folder structure being a part of the movie/series detection. It's probably good for a lot of users, but my files always contain the title and year in the filename, and I use separate scripts (and folders) to handle tv series and movies, so being able to just disregard the folder structure would allow me to get better matches, I would assume.
Code: Select all
docker run -it --name=filebot --rm \
-v data:/data \
-v /volume1/Movies:/volume1/Movies \
-v /volume1/scripts/filebot:/volume1/scripts/filebot \
-e USER_ID=1024 \
-e GROUP_ID=100 \
-e DuseExtendedFileAttributes=false \
rednoah/filebot:latest \
\
-script fn:amc "/volume1/Movies/Seed" \
-no-xattr \
-non-strict \
--db TheMovieDB \
--output "/volume1/Movies/Library" \
--log-file "/volume1/scripts/filebot/amc-movies.log" \
--action hardlink \
--conflict override \
--def music=n artwork=n \
--def "ut_label=movie" \
--def "movieFormat=/volume1/Movies/Library/{n} ({y})/{fn}" \
--def subtitles=en \
--def excludeList="/volume1/scripts/filebot/excludeList-movies.txt" \
--def minLengthMS=0 \
--def minFileSize=0
Code: Select all
Input: /volume1/Movies/Seed/movie1.mkv
Input: /volume1/Movies/Seed/movie2.mkv
Input: /volume1/Movies/Seed/movie3.mkv
xattr: [movie1.mkv] => [Attenborough and the Sea Dragon (2018) [CD1]]
xattr: [movie2.mkv] => [Attenborough and the Sea Dragon (2018) [CD3]]
xattr: [movie3.mkv] => [Attenborough and the Sea Dragon (2018) [CD2]]
Group: [mov:attenborough and the sea dragon 2018 cd1] => [movie1.mkv, movie2.mkv, movie3.mkv]
Also I am suspicious of the fact that the folder "/volume1/Movies/Unorganized" is not completely strict in the way it's structured, sometimes the .mkv files are directly under "/volume1/Movies/Unorganized" and sometimes they are in "/volume1/Movies/Seed/MovieName/". I think pretty much all the files I'm having issues with are not in subfolders named by the movie title, which I think is throwing Filebot off and mismatching against the folder structure. This is not something I am able to change either, sometimes files come in subfolders, sometimes they dont, thats what I have Filebot for, to create a perfectly organized, hardlinked, structure elsewhere.
Any suggestions on how to go forward?
In any case I would like to see an option to disable folder structure being a part of the movie/series detection. It's probably good for a lot of users, but my files always contain the title and year in the filename, and I use separate scripts (and folders) to handle tv series and movies, so being able to just disregard the folder structure would allow me to get better matches, I would assume.