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 2006-12-26, 22:56   #1 (permalink)
Portal Member
 
Join Date: Sep 2006
Age: 35
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Question Development troubles..

Hi !

I have decided to try to make plugin for MP.
Actually idea is to have video editor with full screen video and edit controls on top of video.

I'm having trouble with skin for plugin, I can't find why sometimes skin works and sometimes not, even if I didn't make any changes to either skin or code.

Is it possible to compile and test debug version of MP (I would like to trace in VS) ?

Is there any cacheing for skin files, so changes I make are not visible after compile?

Anyway error I get is:
2006-12-26 23:32:47.781250 [ERROR][MPMain]: OnMessage exceptionystem.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at MediaPortal.GUI.Library.GUIWindow.LoadSkin()
at MediaPortal.GUI.Library.GUIWindow.DoRestoreSkin()
at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMes sage message)


Thanks for pointing me in right direction !

Goran
gljubojevic is offline   Reply With Quote
Old 2006-12-26, 23:37   #2 (permalink)
Portal Member
 
Join Date: Sep 2006
Age: 35
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Smile problem solved....

And as it always happends after asking question, I have found problem that my plugin and skin are copied to target folder before recompiled.

I was using postbuild2.bat file to copy plugin to target folder.
Now I'm using postbuild event in my plugin project to avoid changing build order in MP solution.

Thanks for any other sudgestion you might have.

Goran
gljubojevic is offline   Reply With Quote
Old 2006-12-26, 23:41   #3 (permalink)
Portal Developer
 
Join Date: Jun 2004
Location: Germany
Posts: 508
Thanks: 9
Thanked 3 Times in 3 Posts

Country:


Default

Hey Goran,

just to be sure: are you aware that there already is a video editor for MP? Just asking to not let you do double work...

For a debug build copy all contents of the xbmc/release to the debug direcory. Just be sure NOT to overwrite anything.

Skin ressources are cached, look at some files called packedgfx... in your skin dir and delete those.

I hope this helps you to solve your problems

Maschine
Maschine is offline   Reply With Quote
Old 2006-12-26, 23:42   #4 (permalink)
Portal Developer
 
Join Date: Jun 2004
Location: Germany
Posts: 508
Thanks: 9
Thanked 3 Times in 3 Posts

Country:


Default

Damn, seems I was too slow
Maschine is offline   Reply With Quote
Old 2006-12-27, 00:23   #5 (permalink)
Portal Member
 
Join Date: Sep 2006
Age: 35
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Smile

Thanks for how to debug info, I will look into it..

Yes I'm avare that there is a Video editor, It lacks some features I would like to have e.g, frame advance...

Anyway I'm going to try to make video editor I would like to have when I finish I'll post it here to see what other people say about it

Instead complaining about missing features I'm going to try write one I like

Goran
gljubojevic is offline   Reply With Quote
Reply

Bookmarks

Tags
development, troubles

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
myGadgets plugin (in Development) magnuje2 Plugins 4 2006-12-28 22:58
Hibernate troubles JoeDalton General Support 15 2006-09-12 22:24
Skins development alienwarexp Skins 3 2006-04-05 08:59
Want to help with MP development noocyte General Development (no feature request here!) 8 2005-03-15 20:44
ComicViewer development elric Plugins 3 2004-09-14 14:41


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


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