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
General Development (no feature request here!)
To GIBMAN: problems with Build 19429
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="iosub" data-source="post: 276892" data-attributes="member: 20095"><p>I'm at IRC...</p><p></p><p>The problem is on "isrecordingActual"</p><p>the line</p><p> bool isRec = server.IsRecording(aRecording.ReferencedChannel().Name, out card);</p><p>is always true if on the refencedclannel().name there is a recording in place and you are checking to build the list </p><p></p><p>The problem is that after that you check it you do:</p><p> if (aRecording.Title.Equals("manual")) so if the recording.title is manual you always return TRUE.. and is not true because I have many Manual recording for last week on the same channel that I'm actualy recording.. so I get Rec dots on all thouse old recordings</p><p></p><p>Second problem is that if is not manual</p><p></p><p>You just check " if (aRecording.StartTime <= prg.EndTime)" so any old recording with the same data that the actual recording is also mark as "rec" so is wrong also..</p><p></p><p>Three problem</p><p></p><p>private void OnDeleteRecording(int iItem)</p><p></p><p>Line FileInfo fInfo = new FileInfo(g_Player.currentFileName);</p><p>if I select a show to delete, sometime ----------------- g_player.currentFileName is "" so there is a exception </p><p>==================================</p><p>at System.IO.FileInfo..ctor(String fileName)</p><p> at TvPlugin.TvRecorded.OnDeleteRecording(Int32 iItem)</p><p> at TvPlugin.TvRecorded.OnShowContextMenu()</p><p> at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)</p><p> at TvPlugin.TvRecorded.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)</p><p> at MediaPortalApp.OnAction(Action action)</p><p>2008-06-19 23:52:54.557200 [ERROR][MPMain]: Exception :The path is not of a legal form.</p><p>2008-06-19 23:52:54.567200 [ERROR][MPMain]: site <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.String NormalizePathFast(System.String, Boolean)</p><p>2008-06-19 23:52:54.577200 [ERROR][MPMain]: source :mscorlib</p><p>2008-06-19 23:52:54.586200 [ERROR][MPMain]: stacktrace: at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)</p><p> at System.IO.Path.NormalizePath(String path, Boolean fullCheck)</p><p></p><p></p><p>============================</p><p></p><p></p><p></p><p>and the show is not deleted, you must check that g_player.currentFileName !=""</p><p></p><p></p><p>I think you should do the same methot as the GUIDE does to paint the "Rec dot"... Is works most of the times..</p><p></p><p></p><p>Iosu</p></blockquote><p></p>
[QUOTE="iosub, post: 276892, member: 20095"] I'm at IRC... The problem is on "isrecordingActual" the line bool isRec = server.IsRecording(aRecording.ReferencedChannel().Name, out card); is always true if on the refencedclannel().name there is a recording in place and you are checking to build the list The problem is that after that you check it you do: if (aRecording.Title.Equals("manual")) so if the recording.title is manual you always return TRUE.. and is not true because I have many Manual recording for last week on the same channel that I'm actualy recording.. so I get Rec dots on all thouse old recordings Second problem is that if is not manual You just check " if (aRecording.StartTime <= prg.EndTime)" so any old recording with the same data that the actual recording is also mark as "rec" so is wrong also.. Three problem private void OnDeleteRecording(int iItem) Line FileInfo fInfo = new FileInfo(g_Player.currentFileName); if I select a show to delete, sometime ----------------- g_player.currentFileName is "" so there is a exception ================================== at System.IO.FileInfo..ctor(String fileName) at TvPlugin.TvRecorded.OnDeleteRecording(Int32 iItem) at TvPlugin.TvRecorded.OnShowContextMenu() at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action) at TvPlugin.TvRecorded.OnAction(Action action) at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action) at MediaPortalApp.OnAction(Action action) 2008-06-19 23:52:54.557200 [ERROR][MPMain]: Exception :The path is not of a legal form. 2008-06-19 23:52:54.567200 [ERROR][MPMain]: site :System.String NormalizePathFast(System.String, Boolean) 2008-06-19 23:52:54.577200 [ERROR][MPMain]: source :mscorlib 2008-06-19 23:52:54.586200 [ERROR][MPMain]: stacktrace: at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.NormalizePath(String path, Boolean fullCheck) ============================ and the show is not deleted, you must check that g_player.currentFileName !="" I think you should do the same methot as the GUIDE does to paint the "Rec dot"... Is works most of the times.. Iosu [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
To GIBMAN: problems with Build 19429
Contact us
RSS
Top
Bottom