Closed Romank1 closed 9 years ago
Merged in the 1.12 branch. Thanks!
changelog: Extended: "IsTimeshifting" command now also returns the UNC timeshift file (credits Romank1)
Minor description correction: Extended return message from "IsTimeshifting" command contains timeshift file path that's configured in MediaPortal TV-Server settings(local path or UNC path). I use "GetCardSettings" command in order to convert local timeshift path to UNC path.
Thanks.
Hi,
I have added optional parameter to "GetUserName" command.
SendCommand("GetUserName\n")
will return - current user name(as before).SendCommand("GetUserName:TimeshiftingUsers\n")
will return - all timeshifting user names.Also I have extended the return message format of "IsTimeshifting" command , timeshift file path added to the message.
Current return message format:
"True|rtsp://HostName:554/stream5.2|ChannelInfo"
New return message format:
"True|rtsp://HostName:554/stream5.2|\\\\HOSTNAME-PC\\Timeshift\\live5-2.ts.tsbuffer|ChannelInfo"
This modification will allow me to find the "pvr.mediaportal.tvserver addon" user name, get UNC timeshift file and pass it to DirectShow source filter of Kodi DSPlayer.
I have verified that this changes will not affect the existing functionality of pvr.mediaportal.tvserver addon.
Roman