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
MediaPortal 1
Support
General Support
The DeleteRecordingOnDisk() runs forever if the file is not exist on the disk.
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="disaster123" data-source="post: 1125658" data-attributes="member: 74707"><p>$ git show dea90a5530e9a22aa81608</p><p>commit dea90a5530e9a22aa81608692c964d44c6ac33b6</p><p>Author: Stefan Priebe <<a href="mailto:stefan@prie.be">stefan@prie.be</a>></p><p>Date: Sat Sep 14 20:30:40 2013 +0200</p><p></p><p> RecordingFileHandler: do not loop when recording dir does not exist</p><p></p><p>diff --git a/TvEngine3/TVLibrary/TvService/DiskManagement/RecordingFileHandler.cs b/TvEngine3/TVLibrary/TvService/DiskManagement/Recordi leHandler.cs</p><p>index 7ea94f4..e3b0402 100644</p><p>--- a/TvEngine3/TVLibrary/TvService/DiskManagement/RecordingFileHandler.cs</p><p>+++ b/TvEngine3/TVLibrary/TvService/DiskManagement/RecordingFileHandler.cs</p><p>@@ -63,6 +63,10 @@ namespace TvService</p><p> }</p><p> filesDeleted = true;</p><p> }</p><p>+ else {</p><p>+ Log.Debug("DeleteRecordingOnDisk: Directory does not exist!: '{0}'", Path.GetDirectoryName(fileNameForRec));</p><p>+ filesDeleted = true; </p><p>+ }</p><p> }</p><p> catch (Exception ex)</p><p> {</p></blockquote><p></p>
[QUOTE="disaster123, post: 1125658, member: 74707"] $ git show dea90a5530e9a22aa81608 commit dea90a5530e9a22aa81608692c964d44c6ac33b6 Author: Stefan Priebe <[email]stefan@prie.be[/email]> Date: Sat Sep 14 20:30:40 2013 +0200 RecordingFileHandler: do not loop when recording dir does not exist diff --git a/TvEngine3/TVLibrary/TvService/DiskManagement/RecordingFileHandler.cs b/TvEngine3/TVLibrary/TvService/DiskManagement/Recordi leHandler.cs index 7ea94f4..e3b0402 100644 --- a/TvEngine3/TVLibrary/TvService/DiskManagement/RecordingFileHandler.cs +++ b/TvEngine3/TVLibrary/TvService/DiskManagement/RecordingFileHandler.cs @@ -63,6 +63,10 @@ namespace TvService } filesDeleted = true; } + else { + Log.Debug("DeleteRecordingOnDisk: Directory does not exist!: '{0}'", Path.GetDirectoryName(fileNameForRec)); + filesDeleted = true; + } } catch (Exception ex) { [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
The DeleteRecordingOnDisk() runs forever if the file is not exist on the disk.
Contact us
RSS
Top
Bottom