2015-09-08, 08:47
(2015-09-07, 15:56)*Roma* Wrote: Isengard DSPlayer 15.2 RC1 - 06 September 2015 (9c30400)I think your method ConvertStreamURLToTimeShiftFilePath does return the wrong path. It does return the timeshift path of the server and not the unc path for the client.
Download: Isengard DSPlayer 15.2 RC1 EXE 06 September 2015 (PVR Test version)
New features for MediaPortal TV-Server and ArgusTV backends:
- Live TV fast channel switching (don't stop timeshift)
Don't stop an existing timeshift session when switching to a new channel. This makes channel switching faster.
Regular channel switching will be used in cases of changing of stream url(SD<->HD channel switching or switching to channels with different audio/video streams)
- Use UNC(=SMB) paths for Live TV
UNC is faster with channel switching and video seeking.
ArgusTV Kodi Addon settings:
- Set "Delay after tuning" greater then zero.
MediaPortal TV-Server Kodi Addon settings:
- Set "Streaming method" to "ffmpeg".
- Enable "Convert hostname to IP-address".
Enabling "Live TV fast channel switching"
advancedsettings.xml:
Code:<advancedsettings>
<dsplayer>
<fastchannelswitching>true</fastchannelswitching>
</dsplayer>
</advancedsettings>
Enabling "UNC(=SMB) paths for Live TV":
MediaPortal users have to use modified dll for MediaPortal TVServerXBMC Plugin v1.10.0.128
Copy this file to "Team MediaPortal\MediaPortal TV Server\Plugins\TVServerKodi.dll"
I have created a pull request (not merged yet)
advancedsettings.xml:
Code:<advancedsettings>
<dsplayer>
<useuncpathsforlivetv>true</useuncpathsforlivetv>
</dsplayer>
</advancedsettings>
Updated rules:
mediasconfig.xml rules:
Code:<mediasconfig>
<rules>
<rule filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|mts|m2ts|vob|bdmv">
<source filter="lavsource" />
<splitter filter="lavsplitter" />
<video filter="lavvideo" />
<audio filter="lavaudio" />
</rule>
<rule filetypes="wmv">
<source filter="wmasfreader" />
<splitter filter="wmasfreader" />
<video filter="wmvideodecoder" />
<audio filter="wmaudiodecoder" />
</rule>
<!-- You need Real Alternative in order to read real media files -->
<rule filetypes="rmvb">
<source filter="realsource" />
<splitter filter="realsplitter" />
<video filter="realvideodec" />
<audio filter="realaudiodec" />
</rule>
<rule protocols="https|http" url="false">
<splitter filter="lavsplitter" />
<video filter="lavvideo" />
<audio filter="lavaudio" />
</rule>
<!-- Rules for .ts files and ARGUSTV/MediaPortal timeshift and recordings UNC paths -->
<rule name="PVR" filetypes="ts" url="false" >
<source filter="tsreader" />
<splitter filter="tsreader" />
<video filter="lavvideo" />
<audio filter="lavaudio" />
</rule>
<rule url="true" filetypes="tsbuffer" >
<source filter="tsreader" />
</rule>
<!-- Rules for rtsp stream -->
<rule protocols="rtsp">
<video filter="lavvideo" />
<audio filter="lavaudio" />
</rule>
<rule url="true" protocols="rtsp">
<source filter="tsreader" />
</rule>
</rules>
</mediasconfig>
filtersconfig.xml
Code:<filter name="tsreader" type="source">
<guid>{B9559486-E1BB-45D3-A2A2-9A7AFE49B23F}</guid>
<issplitter>true</issplitter>
<osdname>MediaPortal File Reader</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>
DSPlayer Config XML Files
MediaPortal TsReader Filter for DSPlayer
Please post your feedbacks.
My timeshift file is located on Z:\ on the server and this path will be returned to the client. But on the client there is no Z:\ drive of course. The method should return the unc path \\SERVER\Timeshift for example.
I fixed it by adding a net drive Z:\ that points to \\SERVER\Timeshift.
Can you have a look on it. Thanks in advance