Question regarding episode numbers...
Added by Kevin Larsen over 9 years ago
I have been looking for an answer to this and haven't found it. How does TVHeadend go from an Episode number to a subtitle?
The short situation is that while running a self compiled unstable build, I ended up with a bunch of files orphaned named like <tv show name>.Exxx.ts where xxx is the episode number that TVHeadEnd sees. I am using Schedules Direct in the USA for my guide data (works wonderfully) and TVHeadEnd is getting the correct subtitle for the show, but I want to identify which episodes I have to see if they are duplicates of already recorded content. However, without knowing the subtitle or at least season and episode within the season it is a slow process.
Obviously TVHeadEnd is getting that data somehow and I have changed my recording file names to include the subtitle in case of future issues, but I would like to get the files I have figured out without having to watch each one to figure out what episodes they are.
Replies (1)
RE: Question regarding episode numbers... - Added by Mike Gideons almost 9 years ago
Not sure why your question has gone 7 months with no answer, but i'll give it a shot in case you still want one... You can navigate to thetvdb.org and find your show. You probably know roughly what season you are in. Go to that season and pick any episode. In the info provided, you will see an absolute episode number. From there, you can figure out the offset from season episode number to absolute episode number (for that season). If each season has the same number of episodes, you can write a formula to put in a script that will automatically convert the absolute number into a season and relative episode number and rename the file for you. Then you can use The TVDB Kodi addon on to scrape your metadata for you (by creating a Video Library in Kodi and pointing to your top level recorded tv show directory).
By the way, The TVDB addon has a mode to use absolute episode number... i just can't get it to work, which is why i'm here surfing for posts that have to do with file name issues.