https://issues.team-mediaportal.com/browse/MP1-4396
EDIT: This fix will be included in MP 1.8
Windows SMB2/SMB3 file existance cache (at the client) does not get updated quickly enough when a timeshift buffer file is deleted and re-created by TV Server, resulting in 'file open' OS calls failing with 'file does not exist' errors. (SMBx is the protocol Windows uses for remote file sharing - the implementation of this in Windows Vista and later has 'issues' with files that are constantly changing or being deleted and re-created - which happens with the live TV timeshift buffer files in MP)
Best work around that has been found (to force a cache update) seems to be to write a (randomly named) file into the timeshift buffer folder on the server (from the client), and then delete it.
Note that this problem only affects multi-seat client-server Live TV when using the 'UNC paths' option (not RTSP, and not single-seat systems). Using 'UNC paths' for TV is an MP configuration debug mode option - see http://wiki.team-mediaportal.com/1_...diaPortal_Configuration/22_TV/5_Debug_Options
The modifications need testing for both the bug fix, and to check that the modifications do not cause any regressions - so the more people who test the better
The Git branch is here - https://github.com/MediaPortal/MediaPortal-1/tree/MP1-4396_TsReader_UNC_File_does_not_exist_problem
(There are other re-works and changes in this version to try and generally improve the robustness of the timeshift buffer file handling)
EDIT: This fix will be included in MP 1.8
Windows SMB2/SMB3 file existance cache (at the client) does not get updated quickly enough when a timeshift buffer file is deleted and re-created by TV Server, resulting in 'file open' OS calls failing with 'file does not exist' errors. (SMBx is the protocol Windows uses for remote file sharing - the implementation of this in Windows Vista and later has 'issues' with files that are constantly changing or being deleted and re-created - which happens with the live TV timeshift buffer files in MP)
Best work around that has been found (to force a cache update) seems to be to write a (randomly named) file into the timeshift buffer folder on the server (from the client), and then delete it.
Note that this problem only affects multi-seat client-server Live TV when using the 'UNC paths' option (not RTSP, and not single-seat systems). Using 'UNC paths' for TV is an MP configuration debug mode option - see http://wiki.team-mediaportal.com/1_...diaPortal_Configuration/22_TV/5_Debug_Options
The modifications need testing for both the bug fix, and to check that the modifications do not cause any regressions - so the more people who test the better
The Git branch is here - https://github.com/MediaPortal/MediaPortal-1/tree/MP1-4396_TsReader_UNC_File_does_not_exist_problem
(There are other re-works and changes in this version to try and generally improve the robustness of the timeshift buffer file handling)
Last edited: