public static TvController_TimeShiftFileName ( IUser &user ) : string | ||
user | IUser | |
return | string |
public static string TvController_TimeShiftFileName(ref IUser user)
{
lock (_tvControllerLock)
{
return _controller.TimeShiftFileName(ref user);
}
}
private static string GetTsBufferFile(IUser tve3User) { string tsBufferFile = TvServerPlugin.TvController_TimeShiftFileName(ref tve3User); string uncTimeshiftFolder = ArgusTV.Recorders.Common.ShareExplorer.GetUncPathForLocalPath(Path.GetDirectoryName(tsBufferFile)); if (!String.IsNullOrEmpty(uncTimeshiftFolder)) { return(Path.Combine(uncTimeshiftFolder, Path.GetFileName(tsBufferFile))); } return(null); }