{"id":4832,"date":"2021-10-03T18:53:20","date_gmt":"2021-10-03T05:53:20","guid":{"rendered":"https:\/\/www.zoyinc.com\/?p=4832"},"modified":"2024-12-31T20:47:01","modified_gmt":"2024-12-31T07:47:01","slug":"display-mythtv-filename-in-kodi","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=4832","title":{"rendered":"Display MythTV filename in Kodi"},"content":{"rendered":"\n<p>I use MythTV as my media center and PVR and Kodi on Windows as my frontend.<\/p>\n\n\n\n<p>In an effort to organize my recordings and utilize subtitles, I needed to update the MythTV recordings metadata. For my situation the only practical and &#8220;supported&#8221; way to update metadata is via the MythTV frontend.<\/p>\n\n\n\n<p>My plan of attack is to watch a recording on Kodi and verify the recording is in good condition. Then update the recording metadata using the MythTV frontend.<\/p>\n\n\n\n<p>To use the above approach I need to be able to align a recording viewed on Kodi with a recording on the MythTV frontend. The problem is that aligning dates, times and channels between the Kodi and Myth can be tricky.<\/p>\n\n\n\n<p>If we highlight a recording we get the date and time, but then this gets tricky with daylight savings:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a  href=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-2.png\" class=\"thickbox no_icon\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"458\" src=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-2.png\" alt=\"\" class=\"wp-image-4847\" style=\"width:521px;height:337px\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-2.png 708w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-2-300x194.png 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-2-150x97.png 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-2-464x300.png 464w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/a><\/figure>\n\n\n\n<p>However if you highlight a recording as above &#8220;Doctor Who   12\/26   4:00 PM&#8221; and press &#8220;i&#8221; for the information dialog, then you see:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a  href=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-1.png\" class=\"thickbox no_icon\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"514\" src=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-1.png\" alt=\"\" class=\"wp-image-4846\" style=\"width:471px;height:352px\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-1.png 688w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-1-300x224.png 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-1-150x112.png 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-1-402x300.png 402w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/a><\/figure>\n\n\n\n<p>In the information dialog it lists the filename, in this case &#8220;1006_20201226025700.ts&#8221;.<\/p>\n\n\n\n<p>So the idea is to do the same thing in Kodi, in my case with the &#8220;Amber&#8221; theme: then you get:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a  href=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-3.png\" class=\"thickbox no_icon\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"340\" src=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-3.png\" alt=\"\" class=\"wp-image-4848\" style=\"width:585px;height:275px\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-3.png 724w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-3-300x141.png 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-3-150x70.png 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-3-500x235.png 500w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/a><\/figure>\n\n\n\n<p>You can see the artwork for both is the same but aligning the time and date is tricky.<\/p>\n\n\n\n<p>Beyond that is the fact that you aren&#8217;t sitting with both apps open. The reality is I am sitting in the lounge watching Dr Who and I want to note in my notebook that this recording is for episode such and such and recording ID and it is ok. Later on I will go through the notebook and update the list of valid recordings.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Displaying file details in Kodi<\/h1>\n\n\n\n<p>As I am using the &#8220;Amber&#8221; skin and I am running Kodi whilst logged in as the user &#8220;Tony&#8221;, I edited the file <\/p>\n\n\n\n<p>C:\\Users\\Tony\\AppData\\Roaming\\Kodi\\addons\\skin.amber\\1080i\\DialogPVRInfo.xml<\/p>\n\n\n\n<p>At the bottom of this file it will probably look like:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:0.9rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(2 * 0.6 * 0.9rem);line-height:1.4rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"\t\t&lt;\/control&gt;\n\t\t&lt;control type=&quot;textbox&quot; description=&quot;Cast&quot;&gt;\n\t\t\t&lt;include&gt;VisibleFadeEffectDelay&lt;\/include&gt;\n\t\t\t&lt;posx&gt;700&lt;\/posx&gt;\n\t\t\t&lt;posy&gt;670&lt;\/posy&gt;\n\t\t\t&lt;width&gt;1180&lt;\/width&gt;\n\t\t\t&lt;height&gt;410&lt;\/height&gt;\n\t\t\t&lt;align&gt;left&lt;\/align&gt;\n\t\t\t&lt;font&gt;InfoPlot&lt;\/font&gt;\n\t\t\t&lt;label&gt;[COLOR=$VAR[HighlightColor]]$LOCALIZE[206]:[\/COLOR][CR]$INFO[ListItem.Cast]&lt;\/label&gt;\n\t\t&lt;\/control&gt;\n\t&lt;\/controls&gt;\n&lt;\/window&gt;\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;\/control&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;control<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">type<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;textbox&quot;<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">description<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;Cast&quot;<\/span><span style=\"color: #800000\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;include&gt;<\/span><span style=\"color: #000000\">VisibleFadeEffectDelay<\/span><span style=\"color: #800000\">&lt;\/include&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posx&gt;<\/span><span style=\"color: #000000\">700<\/span><span style=\"color: #800000\">&lt;\/posx&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posy&gt;<\/span><span style=\"color: #000000\">670<\/span><span style=\"color: #800000\">&lt;\/posy&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;width&gt;<\/span><span style=\"color: #000000\">1180<\/span><span style=\"color: #800000\">&lt;\/width&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;height&gt;<\/span><span style=\"color: #000000\">410<\/span><span style=\"color: #800000\">&lt;\/height&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;align&gt;<\/span><span style=\"color: #000000\">left<\/span><span style=\"color: #800000\">&lt;\/align&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;font&gt;<\/span><span style=\"color: #000000\">InfoPlot<\/span><span style=\"color: #800000\">&lt;\/font&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;label&gt;<\/span><span style=\"color: #000000\">[COLOR=$VAR[HighlightColor]]$LOCALIZE[206]:[\/COLOR][CR]$INFO[ListItem.Cast]<\/span><span style=\"color: #800000\">&lt;\/label&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;\/control&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t<\/span><span style=\"color: #800000\">&lt;\/controls&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #800000\">&lt;\/window&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You need to edit the below line and change &#8220;670&#8221; to &#8220;825&#8221;:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:0.9rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(1 * 0.6 * 0.9rem);line-height:1.4rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"&lt;posy&gt;670&lt;\/posy&gt;\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #800000\">&lt;posy&gt;<\/span><span style=\"color: #000000\">670<\/span><span style=\"color: #800000\">&lt;\/posy&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Above the &#8220;Cast&#8221; control you should add a section:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:0.9rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(2 * 0.6 * 0.9rem);line-height:1.4rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"\t\t&lt;control type=&quot;textbox&quot; description=&quot;Filename&quot;&gt;\n\t\t\t&lt;include&gt;VisibleFadeEffectDelay&lt;\/include&gt;\n\t\t\t&lt;posx&gt;700&lt;\/posx&gt;\n\t\t\t&lt;posy&gt;670&lt;\/posy&gt;\n\t\t\t&lt;width&gt;1180&lt;\/width&gt;\n\t\t\t&lt;height&gt;170&lt;\/height&gt;\n\t\t\t&lt;align&gt;left&lt;\/align&gt;\n\t\t\t&lt;font&gt;InfoPlot&lt;\/font&gt;\n\t\t\t&lt;label&gt;[COLOR=$VAR[HighlightColor]]Filename:[\/COLOR][CR]$INFO[ListItem.FileName]&lt;\/label&gt;\n\t\t&lt;\/control&gt;\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;control<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">type<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;textbox&quot;<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">description<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;Filename&quot;<\/span><span style=\"color: #800000\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;include&gt;<\/span><span style=\"color: #000000\">VisibleFadeEffectDelay<\/span><span style=\"color: #800000\">&lt;\/include&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posx&gt;<\/span><span style=\"color: #000000\">700<\/span><span style=\"color: #800000\">&lt;\/posx&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posy&gt;<\/span><span style=\"color: #000000\">670<\/span><span style=\"color: #800000\">&lt;\/posy&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;width&gt;<\/span><span style=\"color: #000000\">1180<\/span><span style=\"color: #800000\">&lt;\/width&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;height&gt;<\/span><span style=\"color: #000000\">170<\/span><span style=\"color: #800000\">&lt;\/height&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;align&gt;<\/span><span style=\"color: #000000\">left<\/span><span style=\"color: #800000\">&lt;\/align&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;font&gt;<\/span><span style=\"color: #000000\">InfoPlot<\/span><span style=\"color: #800000\">&lt;\/font&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;label&gt;<\/span><span style=\"color: #000000\">[COLOR=$VAR[HighlightColor]]Filename:[\/COLOR][CR]$INFO[ListItem.FileName]<\/span><span style=\"color: #800000\">&lt;\/label&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;\/control&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>This will result in:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:0.9rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(2 * 0.6 * 0.9rem);line-height:1.4rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"\t\t&lt;\/control&gt;\n\t\t&lt;control type=&quot;textbox&quot; description=&quot;Filename&quot;&gt;\n\t\t\t&lt;include&gt;VisibleFadeEffectDelay&lt;\/include&gt;\n\t\t\t&lt;posx&gt;700&lt;\/posx&gt;\n\t\t\t&lt;posy&gt;670&lt;\/posy&gt;\n\t\t\t&lt;width&gt;1180&lt;\/width&gt;\n\t\t\t&lt;height&gt;170&lt;\/height&gt;\n\t\t\t&lt;align&gt;left&lt;\/align&gt;\n\t\t\t&lt;font&gt;InfoPlot&lt;\/font&gt;\n\t\t\t&lt;label&gt;[COLOR=$VAR[HighlightColor]]Filename:[\/COLOR][CR]$INFO[ListItem.FileName]&lt;\/label&gt;\n\t\t&lt;\/control&gt;\n\t\t&lt;control type=&quot;textbox&quot; description=&quot;Cast&quot;&gt;\n\t\t\t&lt;include&gt;VisibleFadeEffectDelay&lt;\/include&gt;\n\t\t\t&lt;posx&gt;700&lt;\/posx&gt;\n\t\t\t&lt;posy&gt;825&lt;\/posy&gt;\n\t\t\t&lt;width&gt;1180&lt;\/width&gt;\n\t\t\t&lt;height&gt;410&lt;\/height&gt;\n\t\t\t&lt;align&gt;left&lt;\/align&gt;\n\t\t\t&lt;font&gt;InfoPlot&lt;\/font&gt;\n\t\t\t&lt;label&gt;[COLOR=$VAR[HighlightColor]]$LOCALIZE[206]:[\/COLOR][CR]$INFO[ListItem.Cast]&lt;\/label&gt;\n\t\t&lt;\/control&gt;\n\t&lt;\/controls&gt;\n&lt;\/window&gt;\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;\/control&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;control<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">type<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;textbox&quot;<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">description<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;Filename&quot;<\/span><span style=\"color: #800000\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;include&gt;<\/span><span style=\"color: #000000\">VisibleFadeEffectDelay<\/span><span style=\"color: #800000\">&lt;\/include&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posx&gt;<\/span><span style=\"color: #000000\">700<\/span><span style=\"color: #800000\">&lt;\/posx&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posy&gt;<\/span><span style=\"color: #000000\">670<\/span><span style=\"color: #800000\">&lt;\/posy&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;width&gt;<\/span><span style=\"color: #000000\">1180<\/span><span style=\"color: #800000\">&lt;\/width&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;height&gt;<\/span><span style=\"color: #000000\">170<\/span><span style=\"color: #800000\">&lt;\/height&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;align&gt;<\/span><span style=\"color: #000000\">left<\/span><span style=\"color: #800000\">&lt;\/align&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;font&gt;<\/span><span style=\"color: #000000\">InfoPlot<\/span><span style=\"color: #800000\">&lt;\/font&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;label&gt;<\/span><span style=\"color: #000000\">[COLOR=$VAR[HighlightColor]]Filename:[\/COLOR][CR]$INFO[ListItem.FileName]<\/span><span style=\"color: #800000\">&lt;\/label&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;\/control&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;control<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">type<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;textbox&quot;<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #E50000\">description<\/span><span style=\"color: #000000\">=<\/span><span style=\"color: #0000FF\">&quot;Cast&quot;<\/span><span style=\"color: #800000\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;include&gt;<\/span><span style=\"color: #000000\">VisibleFadeEffectDelay<\/span><span style=\"color: #800000\">&lt;\/include&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posx&gt;<\/span><span style=\"color: #000000\">700<\/span><span style=\"color: #800000\">&lt;\/posx&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;posy&gt;<\/span><span style=\"color: #000000\">825<\/span><span style=\"color: #800000\">&lt;\/posy&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;width&gt;<\/span><span style=\"color: #000000\">1180<\/span><span style=\"color: #800000\">&lt;\/width&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;height&gt;<\/span><span style=\"color: #000000\">410<\/span><span style=\"color: #800000\">&lt;\/height&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;align&gt;<\/span><span style=\"color: #000000\">left<\/span><span style=\"color: #800000\">&lt;\/align&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;font&gt;<\/span><span style=\"color: #000000\">InfoPlot<\/span><span style=\"color: #800000\">&lt;\/font&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t\t<\/span><span style=\"color: #800000\">&lt;label&gt;<\/span><span style=\"color: #000000\">[COLOR=$VAR[HighlightColor]]$LOCALIZE[206]:[\/COLOR][CR]$INFO[ListItem.Cast]<\/span><span style=\"color: #800000\">&lt;\/label&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t\t<\/span><span style=\"color: #800000\">&lt;\/control&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\t<\/span><span style=\"color: #800000\">&lt;\/controls&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #800000\">&lt;\/window&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Next restart Kodi and again navigate to the information section:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized is-style-default\"><a  href=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-4.png\" class=\"thickbox no_icon\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1178\" height=\"635\" src=\"https:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-4.png\" alt=\"\" class=\"wp-image-4851\" style=\"width:477px;height:256px\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-4.png 1178w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-4-300x162.png 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-4-150x81.png 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-4-768x414.png 768w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2021\/10\/image-4-500x270.png 500w\" sizes=\"auto, (max-width: 1178px) 100vw, 1178px\" \/><\/a><\/figure>\n\n\n\n<p>You will notice there is now &#8220;Filename:&#8221; which has a value:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:0.9rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(1 * 0.6 * 0.9rem);line-height:1.4rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"Doctor%20Who, TV%20(TVNZ%201%202b1), 20201226_025700, 1006_1608951420_693.pvr\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #000000\">Doctor%20Who, <\/span><span style=\"color: #A31515\">TV%<\/span><span style=\"color: #098658\">20<\/span><span style=\"color: #000000\">(TVNZ%201%202b1)<\/span><span style=\"color: #A31515\">,<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">20201226_025700,<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">1006_1608951420_693.pvr<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>At this point it makes sense to compare the string we saw in MythTV frontend,   &#8220;1006_20201226025700.ts&#8221;  and the details now showing in Kodi &#8220;20201226_025700, 1006_1608951420_693.pvr&#8221;:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:0.9rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#000000;--cbp-line-number-width:calc(1 * 0.6 * 0.9rem);line-height:1.4rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"1006_20201226 025700.ts\n     20201226_025700, 1006_1608951420_693.pvr\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #000000\">1006_20201226 <\/span><span style=\"color: #A31515\">025700.ts<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">     20201226_025700, <\/span><span style=\"color: #A31515\">1006_1608951420_693.pvr<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What to record <\/h2>\n\n\n\n<p>When I am recording the name of the program in my notebook I write down &#8220;20201226_025700, 1006_1608951420_693.pvr&#8221; and the name of the show. I can now align Kodi and MythTV exactly.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">References<\/h1>\n\n\n\n<p>See <a  href=\"https:\/\/kodi.wiki\/view\/InfoLabels#PVR\">https:\/\/kodi.wiki\/view\/InfoLabels#PVR<\/a> for Kodi documentation on &#8220;$INFO[]&#8221;<\/p>\n\n\n\n<p>To see a list of available InfoLabels &#8220;ListItem&#8221; properties look at: <a  href=\"https:\/\/kodi.wiki\/view\/InfoLabels#PVR\">https:\/\/kodi.wiki\/view\/InfoLabels#PVR<\/a><\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>I use MythTV as my media center and PVR and Kodi on Windows as my frontend. In an effort to organize my recordings and utilize subtitles, I needed to update the MythTV recordings metadata. For my situation the only practical and &#8220;supported&#8221; way to update metadata is via the MythTV frontend. My plan of attack [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5810,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[735,18],"tags":[519,732,733,729,630,298,101,731,730],"class_list":["post-4832","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kodi-technology","category-mythtv","tag-date","tag-episode","tag-filename","tag-frontend","tag-kodi","tag-mythtv","tag-recording","tag-subtitle","tag-title"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4832"}],"version-history":[{"count":11,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4832\/revisions"}],"predecessor-version":[{"id":5811,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4832\/revisions\/5811"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/5810"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4832"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}