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
Watch / Listen Media
watch/edit Videos
My Burner - now with Video DVD burning :)
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="slug54" data-source="post: 84076" data-attributes="member: 20719"><p>hey Mory1</p><p></p><p>I was having trouble with the recent svn's and this plugin also.</p><p>I took a look at the code and found it would not compile with the latest SVN's.</p><p>Looks like something has changed in the way the log files are handled and this is where the error is coming from.</p><p></p><p>I commented out the offending lines and it compiles now and appears to work for me, If you want to test it I attached a zip file with the new myburner.dll in it.</p><p>replace the file in your mediaportal\plugins\windows folder with it.</p><p></p><p>I am sure logging is not working as it should but this may be a work around for some people until the plugin dev gets around to looking at this.</p><p></p><p>I am just learning C# to be able to make plugins for MP only know VB but I will post offending code here so maybe someone can look at it and correct it then I can re-compile if needed.</p><p></p><p>Code:</p><p>----------------------------------------------------------------------------------------------------</p><p> catch (Exception)</p><p> {</p><p> Log.WriteFile(Log.LogType.Recorder, "Recorder: invalid capturecards.xml found! please delete it");</p><p> }</p><p></p><p> if (m_tvcards.Count == 0)</p><p> {</p><p> Log.WriteFile(Log.LogType.Recorder, "Recorder: no capture cards found. automatic convert canceled");</p><p> }</p><p> else</p><p> {</p><p>----------------------------------------------------------------------------------------------------</p><p>here is the error:</p><p>Error 17 'MediaPortal.GUI.Library.Log' does not contain a definition for 'logType'</p><p></p><p></p><p>I also get warnings indicating that this method is now obsolete, here is the warning:</p><p></p><p>Warning 1 'MediaPortal.GUI.Library.Log.Write(string, params object[])' is obsolete: 'This method will disappear. Use one of the Info, Warn, Debug or Error variants instead.' </p><p></p><p></p><p>If anyone knows how to fix this let me know.</p><p>In the mean time I will see if I can figure out how this is supposed to work.</p><p></p><p></p><p></p><p>Slug54</p></blockquote><p></p>
[QUOTE="slug54, post: 84076, member: 20719"] hey Mory1 I was having trouble with the recent svn's and this plugin also. I took a look at the code and found it would not compile with the latest SVN's. Looks like something has changed in the way the log files are handled and this is where the error is coming from. I commented out the offending lines and it compiles now and appears to work for me, If you want to test it I attached a zip file with the new myburner.dll in it. replace the file in your mediaportal\plugins\windows folder with it. I am sure logging is not working as it should but this may be a work around for some people until the plugin dev gets around to looking at this. I am just learning C# to be able to make plugins for MP only know VB but I will post offending code here so maybe someone can look at it and correct it then I can re-compile if needed. Code: ---------------------------------------------------------------------------------------------------- catch (Exception) { Log.WriteFile(Log.LogType.Recorder, "Recorder: invalid capturecards.xml found! please delete it"); } if (m_tvcards.Count == 0) { Log.WriteFile(Log.LogType.Recorder, "Recorder: no capture cards found. automatic convert canceled"); } else { ---------------------------------------------------------------------------------------------------- here is the error: Error 17 'MediaPortal.GUI.Library.Log' does not contain a definition for 'logType' I also get warnings indicating that this method is now obsolete, here is the warning: Warning 1 'MediaPortal.GUI.Library.Log.Write(string, params object[])' is obsolete: 'This method will disappear. Use one of the Info, Warn, Debug or Error variants instead.' If anyone knows how to fix this let me know. In the mean time I will see if I can figure out how this is supposed to work. Slug54 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
watch/edit Videos
My Burner - now with Video DVD burning :)
Contact us
RSS
Top
Bottom