Skip to content
Kyle Johnson edited this page May 28, 2020 · 4 revisions

In order for the script to trigger a library update (which adds your DVR recordings to the library, there are a couple settings you need to enable in Kodi.

  1. Launch Kodi
  2. Go to Settings (in the default skin that's the gear icon almost right under the Kodi logo)
  3. go to Services
  4. In the Services area, select the Control heading
  5. Enable "Allow remote control from applications on this system." If you the script is running on different system than Kodi is, you also need to enable "Allow remote control from applications on other systems."

On many DVRs, the file names aren't always in a format Kodi understands (especially if there are no episode or season numbers in the DVR's EPG). In that case, you need to add a tvshowmatching section to your advancedsettings.xml file (see https://kodi.wiki/view/Advancedsettings.xml for information on that file). Here's an example for NextPVR.

<tvshowmatching action="prepend">
    <!-- Match NextPVR date -->
    <regexp bydate="true">[\\/\._ -]([0-9]{4})([0-9]{2})([0-9]{2})_.+\.ts</regexp>
</tvshowmatching>

Once you've added this, you need to restart Kodi.

Clone this wiki locally