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 Talk
XBMC Python Script
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="and-81" data-source="post: 244919" data-attributes="member: 11844"><p>Excellent,</p><p></p><p>I'll give it a test after the Grand Prix <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>As for the logging, you can use the tv.log by using:</p><p></p><p>[CODE]</p><p>using TvLibrary.Log;</p><p></p><p>...</p><p></p><p>Log.Info("hello");</p><p>Log.Debug("world");</p><p>Log.Error("Crash!");</p><p></p><p>etc. ...</p><p>[/CODE]</p><p></p><p>You should take a look at the <a href="https://forum.team-mediaportal.com/plugins-47/plugin-development-svn-15863/" target="_blank">MediaPortal Plugin SVN</a>, there is plenty of examples of source code in there. And it would be good to put your source into the SVN as well. It provides a very good backup mechanism and it lets others enhanced, modify, bug fix, or just snoop in your code.</p><p></p><p>If you set up a sourceforge account you can contact hwahrmann, rtv or james and they will give you write access to the plugin SVN.</p><p></p><p>As I said, I'll test it after the GP and let you know how it goes ...</p><p></p><p>Thank you again for your efforts, this is something I've wanted for so long ... if I wasn't so busy with other things I would probably have learned python and done it myself by now ... but such is life.</p><p></p><p>Cheers,</p></blockquote><p></p>
[QUOTE="and-81, post: 244919, member: 11844"] Excellent, I'll give it a test after the Grand Prix :) As for the logging, you can use the tv.log by using: [CODE] using TvLibrary.Log; ... Log.Info("hello"); Log.Debug("world"); Log.Error("Crash!"); etc. ... [/CODE] You should take a look at the [URL="https://forum.team-mediaportal.com/plugins-47/plugin-development-svn-15863/"]MediaPortal Plugin SVN[/URL], there is plenty of examples of source code in there. And it would be good to put your source into the SVN as well. It provides a very good backup mechanism and it lets others enhanced, modify, bug fix, or just snoop in your code. If you set up a sourceforge account you can contact hwahrmann, rtv or james and they will give you write access to the plugin SVN. As I said, I'll test it after the GP and let you know how it goes ... Thank you again for your efforts, this is something I've wanted for so long ... if I wasn't so busy with other things I would probably have learned python and done it myself by now ... but such is life. Cheers, [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
XBMC Python Script
Contact us
RSS
Top
Bottom