# MP3Tag Title not used as MKV Titles

**URL:** https://community.mp3tag.de/t/mp3tag-title-not-used-as-mkv-titles/45775
**Category:** Support
**Created:** [June 29, 2019, 1:29am UTC](https://community.mp3tag.de/t/mp3tag-title-not-used-as-mkv-titles/45775 "2019-06-29T01:29:58Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Casual\_Tea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/casual_tea/32/18886_2.png) [@Casual\_Tea](https://community.mp3tag.de/u/Casual_Tea)
#### Post date: [February 26, 2025, 12:43pm UTC](https://community.mp3tag.de/t/mp3tag-title-not-used-as-mkv-titles/45775/11 "2025-02-26T12:43:40Z")

</div>

I've solved this issue in my python script [mkvpropr](https://github.com/AverageHoarder/mkvpropr) by setting the file title based on the `title` in matching .nfo files (that [tinyMediaManager](https://www.tinymediamanager.org/) generates for each of my movies/tv show episodes).  
Example movie .nfo excerpt:

```auto
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--created on 2024-08-26 20:19:13 - tinyMediaManager 5.0.9-->
<movie>
  <title>Der Blade Runner</title>
  <originaltitle>Blade Runner</originaltitle>

```

The mkv file title would be set to `Der Blade Runner`.

And should that fail (no matching .nfo for example) it then tries to extract the title from the filename with 2 different regular expressions, 1 for movies and 1 for tv shows (which you can configure to match your naming scheme).

This allows me to set the file title (as well as track names and flags) for as many files as I want (the script is recursive) interactively in batches sorted by identical track combination and properties without rewriting the files.

Under the hood, my script uses [mkvmerge](https://mkvtoolnix.download/doc/mkvmerge.html) (for track property extraction) and [mkvpropedit](https://mkvtoolnix.download/doc/mkvpropedit.html) for writing the changes to the files, both of which are included in [MKVToolNix](https://mkvtoolnix.download/).

[As you can see](https://raw.githubusercontent.com/AverageHoarder/mkvpropr/refs/heads/main/assets/example_gifs/mkvp_tvshow_voyager.gif) it's quite fast once you've configured it to match your naming style and preferences.

I've used it on a couple thousand movies and dozens of tv shows so unless you have very exotic files I'm pretty confident that it should work (I've worked on the script over the last 1,5 years).

Since I've only published it yesterday I'd love some feedback.

---

_[View the full topic](https://community.mp3tag.de/t/mp3tag-title-not-used-as-mkv-titles/45775)._
