Kodi DSPlayer – DirectShow Player for Windows
Changes:

Code:
NextPVR filter v0.2.1:
* NextPVRFilters-Install.bat, NextPVRFilters-Uninstall.bat fixed.

NextPVR filter v0.2:
* Updated for NextPVR v3.6.6.
   Starting from this version, there is no need to set timeshift duration on the client PC.

NextPVR Directshow Filter for DSPlayer
Support NextPVR HTTP LiveTV streams with timeshift buffer and video seeking functionality, using NextPVR DirectShow Filters.


DSPlayer PVR features with NextPVR Filter:
  • LiveTV Timeshift buffer and video seeking support.
  • Top Progress bar OSD, displays timeshift buffer time.
  • Channel info OSD dialog, displays EPG time and EPG progress bar.
  • Playback of recordings(updating total time at playback of in-progress recording).

NextPVR:
Image

Settings:
  • Disable TimeShift in Kodi NextPVR addon settings.
  • PIN code:
    The default PIN code of the filter(and NextPVR server software) is "0000", you can change this code in NextPVR server software.
    NOTE: You have to set the SAME PIN code value that you set in NextPVR software using "NextPVRSplitter-Configuration" file.

Timeshift duration settings:
  • Set NextPVR timeshift duration(in seconds):
    Set the timeshift duration value on the NextPVR SERVER PC, using SetSlipSeconds_winXXbit.reg or set the registry manually:

    32bit Windows:
    HKEY_LOCAL_MACHINE\SOFTWARE\NPVR\SlipSeconds = xxxx (decimal DWORD)[Seconds]

    64bit Windows:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NPVR\SlipSeconds = xxxx (decimal DWORD)[Seconds]

    If not specified in the registry, the default is 20 minutes(20*60 = 1200)(decimal DWORD).

    NOTE: If you using NextPVR server version 3.5.7 or lower version, set the SAME timeshift duration value on the NextPVR client PC as you configured on the NextPVR server PC.

Known Issues/Limitations:
  • Sub-Channel will be ignored by the filter.
    This is Kodi NextPVR addon issue, live stream url that's returned by the NextPVR addon does not contain the sub-channel number, but only the channel number.
    I have created a pull request(not merged yet)
  • Channel switching may not work on some configurations.
    Will be fixed in next versions of DSPlayer.

    (Fixed in version Isengard DSPlayer v15.2)


Download:
Source code:
Old releases:
Tested on Windows 7 64bit, Windows 8 64bit and Windows 10 64bit.

Install:
  • Register with NextPVRFilters-Install.bat file (registering requires administrative rights).
  • Detailed instructions:
    Unrar the file and create a new folder called "NextPVR Filter".
    Extract all the files from the rar into the new folder you just created.
    Right click on NextPVRFilters-Install.bat and run the file as the administrator.
    Please do not remove this folder, or any files in it. If you remove this folder then DSPlayer will not be able to use NextPVR Filter, so make sure you extract the files in a safe, permanent location.


Filters configuration: (DSPlayer Wiki, DSPlayer Setup)

mediasconfig.xml rules:
Code:
<mediasconfig>
  <rules>
    <!-- Rules for NextPVR HTTP streams (LiveTV and Recorded Streams) -->
    <rule protocols="http" filename=".*/live\W(channel|recording)=\d+.*" url="false">
      <source filter="nextpvrreader" />
      <splitter filter="nextpvrsplitter" />
      <video filter="lavvideo_internal" />                            
      <audio filter="lavaudio_internal" />                            
    </rule>
    <rule url="true" filename=".*/live\W(channel|recording)=\d+.*" protocols="http">
      <source filter="nextpvrreader" />
    </rule>

    <rule filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|mts|m2ts|vob|bdmv">
      <source filter="lavsource_internal" />
      <splitter filter="lavsplitter_internal" />
      <video filter="lavvideo_internal" />
      <audio filter="lavaudio_internal" />
      <subs filter="xysubfilter_internal" />
    </rule>
    <rule protocols="https|http" url="false">
      <splitter filter="lavsplitter_internal" />
      <video filter="lavvideo_internal" />
      <audio filter="lavaudio_internal" />
      <subs filter="xysubfilter_internal" />
    </rule>
    <rule filetypes="ts" url="false" >
      <source filter="tsreader_internal" />
      <splitter filter="tsreader_internal" />
      <video filter="lavvideo_internal" />
      <audio filter="lavaudio_internal" />
      <subs filter="xysubfilter_internal" />
    </rule>
    <rule url="true" filetypes="tsbuffer" >
      <source filter="tsreader_internal" />
    </rule>
    <rule url="true" protocols="rtsp">
      <source filter="tsreader_internal" />
    </rule>
    <rule protocols="rtsp">
      <video filter="lavvideo_internal" />
      <audio filter="lavaudio_internal" />
    </rule>
    <rule filetypes="ifo">
      <source filter="dvdnavigator" />
      <splitter filter="dvdnavigator" />
      <video filter="lavvideo_internal" />
      <audio filter="lavaudio_internal" />
    </rule>
    <rule filetypes="wmv">
      <source filter="wmasfreader" />
      <splitter filter="wmasfreader" />
      <video filter="wmvideodecoder" />
      <audio filter="wmaudiodecoder" />
      <subs filter="xysubfilter_internal" />
    </rule>
    <rule filetypes="iso">
      <source filter="avsource" />
      <splitter filter="avsource" />
      <video filter="lavvideo_internal" />
      <audio filter="lavaudio_internal" />
    </rule>
    <rule filetypes="ogm">
      <source filter="oggsource" />
      <splitter filter="oggsplitter" />
      <video filter="lavvideo_internal" />
      <audio filter="lavaudio_internal" />
    </rule>  
    <rule filetypes="rmvb">
      <source filter="realsource" />
      <splitter filter="realsplitter" />
      <video filter="realvideodec" />
      <audio filter="realaudiodec" />
    </rule>
  </rules>
</mediasconfig>

filtersconfig.xml
Code:
<!-- The NextPVR filters -->
<filter name="nextpvrreader" type="source">
  <guid>{EF832E14-B6F4-4ADA-B40B-9580E4A8FA2B}</guid>
  <osdname>NextPVR HTTP Source</osdname>
</filter>
<filter name="nextpvrsplitter" type="splitter">
    <guid>{A596B64A-6EEA-4D73-B3EE-FCD9772EB51E}</guid>
    <osdname>NextPVR Splitter</osdname>
</filter>

playercorefactory.xml
Code:
<playercorefactory>
    <rules action="prepend">
        <rule protocols="daap|rtv|rtmp|rtmpe|mms|rtp" player="DVDPlayer" />
        <rule name="PVR Radio" filename="pvr://channels/radio.*" filetypes="pvr" player="DVDPlayer"/>  
        <rule name="All Other" player="DSPlayer"/>
    </rules>
</playercorefactory>
Reply


Messages In This Thread
Lockup on STOP issue resolved! - by MKANET - 2015-04-11, 21:59
RE: Kodi DSPlayer – DirectShow Player for Windows - by *Roma* - 2015-08-26, 23:42
RE: 4G aware patch - by MagikMark - 2015-09-08, 03:27
Alt-F4 no longer quits - by JeffA - 2015-10-31, 20:38
H265 playback - by rew88 - 2017-11-04, 00:41
RE: H265 playback - by ashlar - 2017-11-04, 16:21
RE: H265 playback - by rew88 - 2017-11-05, 01:34
RE: H265 playback - by ashlar - 2017-11-05, 16:48
RE: H265 playback - by rew88 - 2017-11-05, 23:08
RE: H265 playback - by ashlar - 2017-11-06, 12:00
Leia 18 - by terpsarlington - 2017-11-21, 03:51
RE: Leia 18 - by spencerjford - 2017-11-21, 06:24
Display Modes / Refresh Rates - by goofer69 - 2019-09-20, 00:19
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 00:39
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 19:35
DSPlayer 23.810 to 23.976 - by Runakanta - 2018-05-09, 03:24
RE: DSPlayer 23.810 to 23.976 - by Warner306 - 2018-05-10, 01:32
Logout Mark Read Team Forum Stats Members Help
Kodi DSPlayer – DirectShow Player for Windows47