| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #23 (permalink) |
| Portal Member Join Date: Jul 2006 Location: GER - Bremen
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #24 (permalink) |
| Portal Member Join Date: Jul 2006 Location: GER - Bremen
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
| Ok, i found the error!! Line 53: Code: // get ID of windowplugin belonging to this setup
public int GetWindowId()
{
return 5678;
}
Code: // get ID of windowplugin belonging to this setup
public int GetWindowId()
{
return 0;
}
|
| | |
| | #25 (permalink) |
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #26 (permalink) |
| Portal Member Join Date: Jul 2006 Location: GER - Bremen
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. ![]() |
| | |
| | #28 (permalink) |
| Portal User Join Date: Aug 2006 Location: Brisbane Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 [ |
| | |
| | #29 (permalink) | |
| Portal Member Join Date: Apr 2005 Location: Southeast Age: 36
Posts: 597
Thanks: 5
Thanked 33 Times in 23 Posts
Country: | Quote:
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 | |
| | |
| | #30 (permalink) |
| Portal User Join Date: Aug 2006 Location: Brisbane Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
![]() |
| Bookmarks |
| Tags |
| part, plugin, writing |
| Thread Tools | |
| Display Modes | |
|
|
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 |