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
MediaPortal 1 Plugins
New Plugin: Video Cleanup
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="mswiege" data-source="post: 337324" data-attributes="member: 83514"><p>Strange?!?!?! I attached my ProcessPlugin.dll file that definitely has this plugin in it (checkout the attached screenshot). It can be found in the sources of that dll in the class ProcessPlugins.DiskSpace.RecordingManagement</p><p></p><p>But now that I checked the source code of that plugin, I guess it is not doing what we want. Its function look like this:</p><p>[CODE]</p><p> List<TVRecorded> list = new List<TVRecorded>();</p><p> TVDatabase.GetRecordedTV(ref list);</p><p> foreach (TVRecorded recorded in list)</p><p> {</p><p> if (recorded.get_ShouldBeDeleted())</p><p> {</p><p> Log.Info("RecordingManagement: delete old recording: {0} date: {1}", new object[] { recorded.get_FileName(), recorded.get_StartTime().ToShortDateString() });</p><p> Recorder.DeleteRecording(recorded);</p><p> }</p><p> }</p><p>[/CODE]</p><p>and its description is "Deletes old TV recordings by date".</p><p>I guess it just deletes programed recordings that did not record anything because MP was not runnning at that time. </p><p></p><p>Could anyone confirm that assumption?</p><p></p><p>Maik</p></blockquote><p></p>
[QUOTE="mswiege, post: 337324, member: 83514"] Strange?!?!?! I attached my ProcessPlugin.dll file that definitely has this plugin in it (checkout the attached screenshot). It can be found in the sources of that dll in the class ProcessPlugins.DiskSpace.RecordingManagement But now that I checked the source code of that plugin, I guess it is not doing what we want. Its function look like this: [CODE] List<TVRecorded> list = new List<TVRecorded>(); TVDatabase.GetRecordedTV(ref list); foreach (TVRecorded recorded in list) { if (recorded.get_ShouldBeDeleted()) { Log.Info("RecordingManagement: delete old recording: {0} date: {1}", new object[] { recorded.get_FileName(), recorded.get_StartTime().ToShortDateString() }); Recorder.DeleteRecording(recorded); } } [/CODE] and its description is "Deletes old TV recordings by date". I guess it just deletes programed recordings that did not record anything because MP was not runnning at that time. Could anyone confirm that assumption? Maik [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
New Plugin: Video Cleanup
Contact us
RSS
Top
Bottom