For the life of me, I can’t figure this out. I’ve got 85 tv shows that match just fine, but I can’t get this one to work. I have done The Plex Dance. The folder structure looks like this:
/His Dark Materials (2019)/Season 01/His Dark Materials - S01E01 - Lyra’s Jordan - [WEBDL-720P][EAC3 5.1][H264]-4P.mkv
The series matches 100% on manual search. Everything looks like it should. Plex just isn’t pulling the metadata from theTVDB. I saw an old forum post about theTVDB having duplicate entries for this show, but that was from several months ago, and I only see 1 result when I search for it directly on theTVDB website.
[chuck@lizum ~.548]$ make-series "His Dark Materials" 1 20
Making "His Dark Materials/Season 01"
Done
[chuck@lizum ~.549]$ ls -laR /vie/qa/tv/His\ Dark\ Materials/
/vie/qa/tv/His Dark Materials/:
total 52
drwxr-xr-x 3 chuck chuck 4096 May 15 14:02 ./
drwxr-xr-x 929 chuck chuck 45056 May 15 14:02 ../
drwxr-xr-x 2 chuck chuck 4096 May 15 14:02 Season 01/
/vie/qa/tv/His Dark Materials/Season 01:
total 88
drwxr-xr-x 2 chuck chuck 4096 May 15 14:02 ./
drwxr-xr-x 3 chuck chuck 4096 May 15 14:02 ../
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E01.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E02.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E03.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E04.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E05.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E06.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E07.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E08.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E09.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E10.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E11.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E12.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E13.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E14.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E15.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E16.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E17.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E18.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E19.mkv
-rw-r--r-- 1 chuck chuck 284 May 15 14:02 His Dark Materials - S01E20.mkv
[chuck@lizum ~.550]$
@BigWheel Thank you! This is exactly the direction I needed. I didn’t realize there were dedicated logs for each agent. This helped me find a permissions issue that was buried deep in my folder structure and only affected parts of the data.
Thanks for the response. The problem ended up being a permissions issue with one of the metadata folders, but I’m interested in your post. I’m not familiar with the make-series tool. It looks like it just creates a skeleton folder structure and touches a file for each episode requested?
Were you suggesting I do this to see if the new folder was identified properly? By agent stacking, do you mean the order in which the search agents are specified in the Library settings?
yes. make-series is a little script I wrote (I write tons of scripts around here)
[chuck@lizum ~.551]$ cat bin/make-series
#!/bin/sh
# Make a fake TV series for match and metadata debugging
Dir=/vie/qa/tv
if [ "x$1" = "x" ]; then
echo Usage: $0 Name \(Remember to use \" or \' as needed \) \[number of seasons\] \[Episodes/Season\]
exit 1
fi
Name="$1"
# Get Season count
Seasons=7
if [ "x$2" != "x" ]; then
Seasons=$2
fi
# Get Episode count
Episodes=20
if [ "x$3" != "x" ]; then
Episodes=$3
fi
# add upper limit if given
if [ "$2" = "" ]; then
Limit=07
else
Limit=$2
fi
S=1
while [ $S -le $Seasons ];
do
# Prepare Season
Season="$S"
# Pad
if [ $S -lt 10 ]; then
Season="0${S}"
fi
echo Making \"${1}/Season ${Season}\"
mkdir -p "${Dir}/${1}/Season ${Season}"
E=1
while [ $E -le $Episodes ];
do
EpisodeNum=$E
if [ $E -lt 10 ]; then
EpisodeNum="0$EpisodeNum"
fi
echo $(uuidgen) $(uuidgen) $(uuidgen) `date` $1 this is must some stuff to make the file long enough to not be skipped `date` $1 > "${Dir}/${1}/Season ${Season}/${1} - S${Season}E${EpisodeNum}.mkv"
E=$(($E + 1))
done
S=$(($S + 1))
done
echo Done