home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
General Forums
Newcomers Forum
New user moving from Windows Media Centre
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1143379" data-attributes="member: 82144"><p>Correct.</p><p></p><p></p><p>I think Vasilich is right.</p><p>User 2 is always able to pause, no matter what. The question will be when TsWriter starts dropping data.</p><p>When it becomes necessary to try to create a new buffer file, TsWriter will first try to create a new file (assuming min = 3 and file count <= 3). If that fails (due to limited space), TsWriter will attempt to use the user's oldest file. This should succeed as long as the user has at least 2 files and the pause position is not in the oldest file. If the oldest file can't be reused, TsWriter has no choice but to start dropping data.</p><p></p><p>A note to correct previous comments...</p><p>I had to check the code to answer this question with certainty. When I checked the code, I noticed that in order to create a new file, there must be at least 2 x [file size] free for TsWriter to create a new file:</p><p><a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/DirectShowFilters/TsWriter/source/MultiFileWriter.cpp#L247" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/master/DirectShowFilters/TsWriter/source/MultiFileWriter.cpp#L247</a></p><p></p><p>The effect is that TsWriter would always preserve the last [file size] space on the HDD. It won't ever fill an HDD completely. Presumably this is to avoid killing the OS (case where timeshifting folder is on the OS/system drive/partition, and that partition runs completely out of space).</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1143379, member: 82144"] Correct. I think Vasilich is right. User 2 is always able to pause, no matter what. The question will be when TsWriter starts dropping data. When it becomes necessary to try to create a new buffer file, TsWriter will first try to create a new file (assuming min = 3 and file count <= 3). If that fails (due to limited space), TsWriter will attempt to use the user's oldest file. This should succeed as long as the user has at least 2 files and the pause position is not in the oldest file. If the oldest file can't be reused, TsWriter has no choice but to start dropping data. A note to correct previous comments... I had to check the code to answer this question with certainty. When I checked the code, I noticed that in order to create a new file, there must be at least 2 x [file size] free for TsWriter to create a new file: [URL]https://github.com/MediaPortal/MediaPortal-1/blob/master/DirectShowFilters/TsWriter/source/MultiFileWriter.cpp#L247[/URL] The effect is that TsWriter would always preserve the last [file size] space on the HDD. It won't ever fill an HDD completely. Presumably this is to avoid killing the OS (case where timeshifting folder is on the OS/system drive/partition, and that partition runs completely out of space). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
Newcomers Forum
New user moving from Windows Media Centre
Contact us
RSS
Top
Bottom