MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-05-16, 09:28   #21 (permalink)
Portal User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default OurPlugin Example

I am sorry, I found dialogs.dll in a different directory, now plugin compiles w.o. any problems.

ncc1701a
ncc1701a is offline   Reply With Quote
Old 2006-06-14, 12:56   #22 (permalink)
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 157
Thanks: 0
Thanked 2 Times in 2 Posts

Country:


Default

Suggestion: Put the tutorial up in the Wiki. There's a few minor errors in it, and it could've been easily fixed right away
zion22 is offline   Reply With Quote
Old 2006-07-12, 13:22   #23 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: GER - Bremen
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi!

I tried your tutorial and it does not work!
The Plugin is not listed in configuration. I used the first tutorial code ( copy&paste -> compiled ).....any ideas???

I am using SVN from today.

Graetz Ari
TNDAri is offline   Reply With Quote
Old 2006-07-12, 13:37   #24 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: GER - Bremen
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Ok, i found the error!!

Line 53:

Code:
        // get ID of windowplugin belonging to this setup
        public int GetWindowId()
        {
            return 5678;
        }
change to:

Code:
        // get ID of windowplugin belonging to this setup
        public int GetWindowId()
        {
            return 0;
        }
[/code]
TNDAri is offline   Reply With Quote
Old 2006-07-13, 04:27   #25 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I'd suggest you choose a number other than 0 - the window id is important, especially for GUI plugins. Try not to choose one that's in use already - you can do trial and error or use the skin files for guidance.

If you do choose one that's in use, you should get a runtime error or a log entry; it should still compile.

Sam
samuel337 is offline   Reply With Quote
Old 2006-07-14, 11:49   #26 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: GER - Bremen
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts


Default

The problem is, if there is no XML-Skin file for this id, its not listed in the configuration dialog.

And this is importent for new developers. The first time, i thought i made an mistake.
TNDAri is offline   Reply With Quote
Old 2006-07-29, 02:57   #27 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thank you TNDAri. I have looked through the code so many times, but now I know.

EDIT: What does it mean if I get "'OurPlugin.Class1.GetID': no suitable method found to override"?
Puissance is offline   Reply With Quote
Old 2006-08-05, 07:31   #28 (permalink)
Portal User
 
Join Date: Aug 2006
Location: Brisbane Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default unable to download the sourcecode

Hi
Just been attempting to download MediaPortal sources as per instructions under "How to write a plugin for MediaPortal"
Have installed WinCvs with Python and copied all info into boxes _ Copied and pasted from web the address for CVSROOT so that should be correct.

When I click ok I get following message in WinCvs

cvs -d :pserver;username=anonymous;hostname=cvs.sourcefor ge.net:/cvsroot/mediaportal checkout -P -- mediaportal (in directory C:\mediaportal)

THEN

***** CVS exited normally with code 1 *****

So appears to complete download except when I open the C/mediaportal folder there is nothing in it

Any suggestions what is happening here ?

Thanks Mike

[
0oseven is offline   Reply With Quote
Old 2006-08-07, 14:52   #29 (permalink)
Portal Member
 
Join Date: Apr 2005
Location: Southeast
Age: 36
Posts: 597
Thanks: 5
Thanked 33 Times in 23 Posts

Country:


Default Re: unable to download the sourcecode

Quote:
Originally Posted by 0oseven
Hi
Just been attempting to download MediaPortal sources as per instructions under "How to write a plugin for MediaPortal"
Have installed WinCvs with Python and copied all info into boxes _ Copied and pasted from web the address for CVSROOT so that should be correct.

When I click ok I get following message in WinCvs

cvs -d :pserver;username=anonymous;hostname=cvs.sourcefor ge.net:/cvsroot/mediaportal checkout -P -- mediaportal (in directory C:\mediaportal)

THEN

***** CVS exited normally with code 1 *****

So appears to complete download except when I open the C/mediaportal folder there is nothing in it

Any suggestions what is happening here ?

Thanks Mike

[

MediaPortal moved to SVN from CVS.

Link Bram posted earlier in this thread to the wiki:
http://wiki.team-mediaportal.com/Med...00e29499fe3ada


HTH,
patrick
patrick is offline   Reply With Quote
Old 2006-08-26, 06:21   #30 (permalink)
Portal User
 
Join Date: Aug 2006
Location: Brisbane Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default

HI
Have downloaded the mediaportal source ok and have C# express edtion. Believe I saw somewhere that I also need the DIRECTX SDK for portal skin plug in.

If so can anyone tell me if the very latest Version (V10 ) just released will be OK as I think I read somewhere it doesnt support WindowsXP - or should I get Directx 9c ?

Thanks
0oseven is offline   Reply With Quote
Reply

Bookmarks

Tags
part, plugin, writing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autotune doesn't find any channels friedit Installation, configuration support 2 2007-01-02 13:34
TV recording question/problem 'Arry Installation, configuration support 9 2006-09-22 13:14
Recording from TV 'Arry General Support 2 2006-09-20 00:12
Cant get MyTV to work (2.0 RC3)? mdolan General Support 3 2006-03-30 14:58


All times are GMT +1. The time now is 05:26.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress