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
Development
Improvement Suggestions
Recordings improvement
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="Swede" data-source="post: 398945" data-attributes="member: 24638"><p><a href="https://forum.team-mediaportal.com/improvement-suggestions-46/recordings-improvement-57035/" target="_blank">Sorry, this should be here instead: Recordings improvement</a></p><p></p><p>I think that, what to be expected, when entering My Recordings, is that all deleted and invalid recordings are gone. Only the ones you can watch are there. No more angry wife. </p><p></p><p>How about implementing this?</p><p></p><p></p><p>[CODE]Index: TVLibrary/TvPlugin/TvPlugin/TvRecorded.cs</p><p>===================================================================</p><p>--- TVLibrary/TvPlugin/TvPlugin/TvRecorded.cs (revision 22029)</p><p>+++ TVLibrary/TvPlugin/TvPlugin/TvRecorded.cs (working copy)</p><p>@@ -439,7 +439,11 @@</p><p> </p><p> protected override void OnPageLoad()</p><p> {</p><p>+</p><p> base.OnPageLoad();</p><p>+ DeleteInvalidRecordings(); //Added by Swede</p><p>+ Log.Info("DeleteInvalidRecordings - Swede"); //Added by Swede</p><p>+</p><p> if (btnCompress != null)</p><p> {</p><p> btnCompress.Visible = false;</p><p>@@ -1633,6 +1637,16 @@</p><p> if (!server.IsRecordingValid(rec.IdRecording))</p><p> {</p><p> server.DeleteRecording(rec.IdRecording);</p><p>+ </p><p>+ CacheManager.Clear();//Added by Swede</p><p>+ LoadDirectory();//Added by Swede</p><p>+ while (_iSelectedItem >= GetItemCount() && _iSelectedItem > 0)//Added by Swede</p><p>+ {//Added by Swede</p><p>+ _iSelectedItem--;//Added by Swede</p><p>+ }//Added by Swede</p><p>+</p><p>+ GUIControl.SelectItemControl(GetID, facadeView.GetID, _iSelectedItem);//Added by Swede</p><p>+</p><p> }</p><p> }</p><p> }</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Swede, post: 398945, member: 24638"] [URL="https://forum.team-mediaportal.com/improvement-suggestions-46/recordings-improvement-57035/"]Sorry, this should be here instead: Recordings improvement[/URL] I think that, what to be expected, when entering My Recordings, is that all deleted and invalid recordings are gone. Only the ones you can watch are there. No more angry wife. How about implementing this? [CODE]Index: TVLibrary/TvPlugin/TvPlugin/TvRecorded.cs =================================================================== --- TVLibrary/TvPlugin/TvPlugin/TvRecorded.cs (revision 22029) +++ TVLibrary/TvPlugin/TvPlugin/TvRecorded.cs (working copy) @@ -439,7 +439,11 @@ protected override void OnPageLoad() { + base.OnPageLoad(); + DeleteInvalidRecordings(); //Added by Swede + Log.Info("DeleteInvalidRecordings - Swede"); //Added by Swede + if (btnCompress != null) { btnCompress.Visible = false; @@ -1633,6 +1637,16 @@ if (!server.IsRecordingValid(rec.IdRecording)) { server.DeleteRecording(rec.IdRecording); + + CacheManager.Clear();//Added by Swede + LoadDirectory();//Added by Swede + while (_iSelectedItem >= GetItemCount() && _iSelectedItem > 0)//Added by Swede + {//Added by Swede + _iSelectedItem--;//Added by Swede + }//Added by Swede + + GUIControl.SelectItemControl(GetID, facadeView.GetID, _iSelectedItem);//Added by Swede + } } } [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Recordings improvement
Contact us
RSS
Top
Bottom