Questions about setting up ServerWMC for MadVR playback via Kodi DS 17
#1
I'm looking at using Kodi DS Player 17, and I have tried a few different PVR addons but I have yet to find one that is stable, and easy to setup.  As a matter of fact I haven't found anything that works correctly, and has all of the features one would expect from a normal DVR.  I like WMC, and ServerWMC setup seems pretty straight forward so I thought I might come here to see if I can get a little help.  I'm on cablecard so that seems like an important consideration.  I can get Live TV to work fine in Kodi DS Player 17 but I can't get it to work with Lav, ffmpeg, or most importantly Mad VR.  Looking through the documented procedures to setup other PVRs for Kodi DS, it looks like I need to define specific codecs within Next PVR, or Media Portal for instance.   Here is an example of the rules one must define to get Mad VR playback in Kodi DS

mediasconfig.xml:
xml:
<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>

And Filtersconfig.xml
xml:
<!-- 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>

Finally Playercorefactory.xml
xml:
<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>

Is there some way to configure similar rules for ServerWMC, or is this not a possibility due to restrictions in WMC's live TV itself?  That is just an example for NPVR, and I can grab other examples or look for more information if need be.  Thanks for the help.
Reply
#2
Friendly reminder that I'm still wondering if this is possible.  My choices for this are quickly disappearing.
Reply
#3
I was hoping someone who knew something about it would answer.  I don't know how these filters/rules work (hell, I didn't even know these existed), but if getting these filters to work requires special code in the addon, then I know that pvr.wmc does not support it.  I also can't recall anyone ever asking about this before so I have no previous experience to draw on.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#4
I think DS Player has the ability to read the rules built into it, and there are separate folders for these rules for Video Player, and DS Player so it looks like all the special code is already there.  I'm wondering if I could reference WMC's filters instead of these but I'm not sure either, and I don't even know what they would be called.  Here are some links with more detailed setup instructions.  Maybe the developer can help you out, and they might be more willing to hear out another developer rather than a user. 

Here is a link describing MP/Argus PVR setups 
https://forum.kodi.tv/showthread.php?tid...pid2111042

Here is a link describing NPVR setup 
https://forum.kodi.tv/showthread.php?tid...pid2090836
Reply

Logout Mark Read Team Forum Stats Members Help
Questions about setting up ServerWMC for MadVR playback via Kodi DS 170