acrodemocide / PlexAutomation

Bash and Powershell Scripts to help automate getting movies and TV shows onto Plex.
0 stars 0 forks source link

Check TV episode order accuracy #1

Open acrodemocide opened 5 days ago

acrodemocide commented 5 days ago

When ripping TV episodes using MakeMKV, episodes are not guaranteed to be in order. To ensure that TV episodes are in proper order, we will compare the subtitles for that episode to the content of that episode. This will happen with a few different steps:

1- Download a subtitles file from someplace like opensubtitles.org 2- Convert the subtitles file format (if from the above website, it will be a *.ass file) to plain text. 3- Transcribe the audio of the movie file (will be mp4 after transcoding from mkv to mp4) to plain text. 4- Compare the text files from the known episode subtitles to the transcribed text files from each movie file to correctly identify each episode for each file.

acrodemocide commented 5 days ago

When using opensubtitles.org, the download for the episode is a .ass file format as opposed to .srt. The .ass format has more information that allows for more control over subtitle styles and location.