HOW-TO:Use MakeMKV Template Pattern with TV Shows: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
* With Season 1(one), produced in the year 2005.
* With Season 1(one), produced in the year 2005.
** The recommended approach for naming a TV show episode can be found at [[Naming video files/TV shows]].
** The recommended approach for naming a TV show episode can be found at [[Naming video files/TV shows]].
** Which means that the first episode of the first season would be named: <code>My Foobar Honey (2005) S01E01</code>
* Season 1(one) of the show is delivered with two discs. Both discs have three episodes each.
=== High level outline of the steps taken ===
# Adjust MakeMKV to save the first disc conforming to Kodi's TV Show naming conventions.
## Setup the <b><code>Output file name template</code></b> for the first disc.
## Set the name of the disc to the TV Show name, year of the season being transcoded.
# Transcode the first disc.
# Adjust the MakeMKV's <b><code>Output file name template</code></b> for the second disc
# Transcode the second disc.
# From CLI, move the second disc's episode to conform with Kodi's TV Show naming conventions.
# BONUS: Reset MakeMKV's default template pattern!


== Example using Linux ==
== Example using Linux ==


{{divbox|red||'''Note:''' This same strategy can be applied to Windows platforms,  
{{divbox|green||'''Note:''' This same strategy can be applied to Windows platforms,  
however this example does not attempt to spell out a Windows/Powershell (or other scripting approach such as Python). }}
however this example does not attempt to spell out a Windows/Powershell (or other scripting approach such as Python). }}
=== High level outline ===
=== Specific Steps ===
==== Adjust the MakeMKV preferences ====


*
{{divbox|red||'''Warning!''' Be SURE to copy the existing default template.}}
which for anyone who fails to heed the warning is: <code>{NAME1}{-:CMNT1}{-:DT}{title:+DFLT}{_t:N2}</code>

Revision as of 00:51, 30 January 2022

Do you use MakeMKV for transcoding from different formats (i.e., DVDs, Blu-Rays, etc.) into Matroska Multimedia Container (aka "MKV") formats?

If so, you may have struggled with transcoding a TV show from a DVD into a file that Kodi can properly integrate into your.

This HOW-TO article provides a step-by-step approach to manage MakeMKV-to-named-for-Kodi TV show episodes.

Overview

When using MakeMKV to transcode a disc that contains multiple TV show episodes, manually renaming things is fairly trivial. What is problematic is when that TV Show has multiple seasons and episodes, the renaming of the various "MKV" files can becoming daunting.

This HOW-TO article provides a general strategy with a specific example done using MakeMKV-with-Linux solution.

General Strategy

MakeMKV has a, "preferences" dialog, allowing end-users to change different settings. On the "Advanced" tab, there is an entry titled, Output file name template:

TODO - show default template

By combining the use of the "name" of the disc with different Output Filename Template patterns, one can ease how TV show episodes are named.

Assumptions for this HOW-TO

  • You are going to transcode a TV show named, "My Foobar Honey"
  • With Season 1(one), produced in the year 2005.
    • The recommended approach for naming a TV show episode can be found at Naming video files/TV shows.
    • Which means that the first episode of the first season would be named: My Foobar Honey (2005) S01E01
  • Season 1(one) of the show is delivered with two discs. Both discs have three episodes each.

High level outline of the steps taken

  1. Adjust MakeMKV to save the first disc conforming to Kodi's TV Show naming conventions.
    1. Setup the Output file name template for the first disc.
    2. Set the name of the disc to the TV Show name, year of the season being transcoded.
  2. Transcode the first disc.
  3. Adjust the MakeMKV's Output file name template for the second disc
  4. Transcode the second disc.
  5. From CLI, move the second disc's episode to conform with Kodi's TV Show naming conventions.
  6. BONUS: Reset MakeMKV's default template pattern!

Example using Linux

High level outline

Specific Steps

Adjust the MakeMKV preferences

which for anyone who fails to heed the warning is: {NAME1}{-:CMNT1}{-:DT}{title:+DFLT}{_t:N2}