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
 
Thread Tools Display Modes
Old 2004-12-28, 02:37   #1 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default Plugin Creation

I want to start development on a plugin to download Shoutcast .pls files automatically according to criteria provided.
However my question is that, has the method of creating plugins changed since 0.1.0.0? I followed the example for creating a plugin in the pdf located in the documentation section of the site but to no avail been able to get my plugin to interact with media portal. Maybe I'm doing something wrong can anyone guide me in what I might be doing wrong? Any ideas or suggestions would be greatly appreciated.
Thanks.
juvinious is offline   Reply With Quote
Old 2004-12-28, 07:09   #2 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Fribourg (CH)
Posts: 314
Thanks: 0
Thanked 1 Time in 1 Post


Default Re: Plugin Creation

Hi Juvinious,

and welcome to MediaPortal

Quote:
Originally Posted by juvinious
I followed the example for creating a plugin in the pdf located in the documentation section of the site but to no avail been able to get my plugin to interact with media portal.
We need more details to help you:

Does the plugin appear in MP Configuration?
Does anything appear in MP itself?

If you post some details, I'm sure somebody can help you!

Regards,

Daniel
__________________
waeberd is offline   Reply With Quote
Old 2004-12-28, 13:25   #3 (permalink)
Retired Team Member
 
Join Date: May 2004
Location: the Netherlands
Posts: 227
Thanks: 1
Thanked 0 Times in 0 Posts


Default

The pdf is probably a bit outdated. The code structure of MP changed around the 0.1.0.0 release. But the ISetupform interface is still used as it was before, so it should not be that hard to get it working.

Make sure you check the log file for errors and if you are still having problem try posting some more details about the exact problems you are having.
Mr.Mitchell is offline   Reply With Quote
Old 2004-12-29, 02:30   #4 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks for the replies here was the problems I was encountering.
Following the PDF, unless I was doing something wrong, it says to add reference to guilib. Well when I go to add that it doesn't come up. Maybe I was doing something wrong so I went back and redid the steps over several times. Regardless of that, I looked at other plugins and used the common references that they utilized and added them to my plugin. I eventually got my plugin to compile with no errors. I added my .dll to the plugin directory and started media portal but it didn't show up in the configuration. I am assuming since 0.1.0.0 the directory structure changed to the individual folders now in /plugins and so I attempted to move it from folder to folder seeing if it would show up in configuration. Still nothing, I'm completely at a stand still as to what to do.
If I can't get this to work I'll just have to write the program as a standalone app and have it run as a service on my HTPC.
Thanks again for your help.
juvinious is offline   Reply With Quote
Old 2004-12-29, 05:00   #5 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

yes the plugin tutorial is old in that frodo has combined a lot of the previous seperate dlls into one dll. GuiLib has been combined into core.dll.

If your plugin is not showing up in the configuration, have you put it in the plugins/process or plugins/windows folder? It should show up, if not, have you implemented the ISetupForm interface and is your plugin a class library (dll file)?

If you don't mind, its easier to solve this problem if you post the code of your plugin so far.

Sam
samuel337 is offline   Reply With Quote
Old 2004-12-29, 07:25   #6 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

<accidental double post>
samuel337 is offline   Reply With Quote
Old 2004-12-29, 07:25   #7 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I just had a look at MP 0.1.0.3 - you're right, none of the custom plugins appear on the plugins list in configuration. Only the MP ones do... I'm going to have a look at this when I get time.

However, the plugin does get loaded in MP.

Sam
samuel337 is offline   Reply With Quote
Old 2004-12-31, 07:50   #8 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks for the help sam, I'm still working with it I'll figure how to get it to come up along the way hopefully.
I also came across this: http://web.tampabay.rr.com/dncenter/...ideosearch.htm, a meedio yahoo launch video importer. The code is available in VB and I've been thumbing through it. Very straight forwardII might as well create a plugin for this alsol as this would be very usefull including the shoutcast pls importer I'm working on.
juvinious is offline   Reply With Quote
Old 2004-12-31, 07:59   #9 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by juvinious
Thanks for the help sam, I'm still working with it I'll figure how to get it to come up along the way hopefully.
I also came across this: http://web.tampabay.rr.com/dncenter/...ideosearch.htm, a meedio yahoo launch video importer. The code is available in VB and I've been thumbing through it. Very straight forwardII might as well create a plugin for this alsol as this would be very usefull including the shoutcast pls importer I'm working on.
That would be great! Its the one feature from myHTPC/Meedio that I miss in MP. I can try to help with VB.NET problems if you need help.

Sam
samuel337 is offline   Reply With Quote
Old 2004-12-31, 08:30   #10 (permalink)
Retired Team Member
 
tomtom21000's Avatar
 
Join Date: Apr 2004
Location: Germany
Posts: 1,019
Thanks: 7
Thanked 7 Times in 7 Posts

My System

Default

juvinious:

I am sure you know the open source project stramripper.

It downloads the stations plus a lot more like recording and title display.

Have a look here: http://nolanparty.com/mediaportal.so...t=streamripper

Integration into mp would be great..

tomtom21000
__________________
tomtom21000 is offline   Reply With Quote
Reply

Bookmarks

Tags
creation, plugin

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTV@UT Plugin moiristo Plugins 116 2008-10-06 22:32
(original thread) MCE Replacement Plugin v1.0.0 and-81 MCE Replacement Plugin 532 2007-02-24 00:24
Gathering topical infos about plugins (To: authors & use tomtom21000 Plugins 2 2006-02-05 00:20
Plugin example doesnt show in list Anonymous Plugins 5 2005-08-13 12:12


All times are GMT +1. The time now is 04:54.


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
Advertisement System V2.6 By   Branden