For the TV show called “Frontline”, Infuse correctly recognises the series name, season, and episode number, yet the episode name is not shown. I checked in TheTVDB and the names are there: https://thetvdb.com/series/frontline/seasons/official/2022
I don’t have any similar issue with any of my other TV shows. The naming structure is managed by Sonarr and taken directly from Recommended naming scheme - TRaSH Guides
Seems like a problem/bug in the backend, as the show, season and episode are matched. Maybe because the season has 4 digits? Can someone please take a look?
I’m on Infuse Pro 7.5 (4382) and ATV A2843 with tvOS 16.3.3
Infuse uses TMDB for movie and TV show metadata, and it looks like TMDB has the seasons listed in numerical order (EG 1, 2, 3, etc…) instead of having seasons named according to the year of release.
Can you try renaming your 2022 episodes to something like this?
Frontline.S41.E01.mp4
This should allow you to get the episode names, descriptions, and artwork as shown here.
But the file is identified as something at TMDB, as you can see in the photo I attached. The Season/Episode is the mismatch.
Renaming the files is quite easy with mac OS, took me a few minutes. The broken Sonarr is driving me nuts. I guess I need to set up a fragmented library after all.
You can change the displayed information for each episode (their episode titles and synopses, for example), but you can’t change the actual season or episode numbers via .nfo.
For the example of the series Firefly (where Infuse offers no way to display episodes in DVD order), I can change the titles of episodes so that they can include information indicating the order the ought to be watched in, but I can’t get them recognized by Infuse as anything but the episode numbers assigned by TMDB. Infuse doesn’t even support TMDB’s alternate episode orders yet (though that feature is said to be coming soonish).
^ the above meaning, I can’t have them show up in Infuse’s UI in the correct watching order, unless I name the actual files “wrong” (vs TMDB) — and override the metadata to show the right synopses, cast and crew for each episode. I’ve decided not to do that since that will only cause issues later when Infuse finally starts supporting alternate episode orders.
Added a .nomedia file to the original /tv/Frontline directory, so Infuse will ignore it.
Rename the files in Season 41, replacing S2022 with S41 (I did it with the macOS GUI).
Make sure that babysitting_infuse is scanned by Infuse.
Both programs are working as expected, I just need to create hard-links again and rename them every time there is something new added. I may crate a cronjob for that, but for now this is it.
Well I just did an script and I will paste it here if anyone is interested. This should be slightly modified once a year for every new season.
#!/bin/bash
# Set the source and destination directories
SRC_DIR="."
DEST_DIR="/mnt/WD/media/babysitting_infuse/tv/Frontline (1983)/Season 42"
# Define a function to create the index file
create_index() {
# List all the mkv files in the source directory
ls "${SRC_DIR}"/*.mkv > index.txt
}
# Define a function to create hardlinks for new files
create_hardlinks() {
# Loop through the new files in the index
while read -r file; do
# Create the hardlink with the replaced string in the destination directory
ln "${file}" "${DEST_DIR}/$(basename "${file/S2023/S42}")"
done < <(grep -Fxv -f index.old index.txt || true)
}
# Check if the index file already exists
if [[ -f "index.txt" ]]; then
# Save the current index as the old index
mv index.txt index.old
# Create a new index file
create_index
# Create hardlinks for new files
create_hardlinks
else
# Create the initial index file
create_index
# Create hardlinks for all files in the index
create_hardlinks < index.txt
fi
Then use crontab -e to add the following to the cronjob. It runs twice every day at 11 and 17.