Development troubles.. (1 Viewer)

gljubojevic

Portal Member
September 25, 2006
18
0
52
Home Country
Croatia Croatia
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 exception:confused:ystem.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(GUIMessage message)


Thanks for pointing me in right direction !

Goran
 

gljubojevic

Portal Member
September 25, 2006
18
0
52
Home Country
Croatia Croatia
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
 

Maschine

Retired Team Member
  • Premium Supporter
  • June 15, 2004
    768
    86
    Germany
    Home Country
    Germany Germany
    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
     

    gljubojevic

    Portal Member
    September 25, 2006
    18
    0
    52
    Home Country
    Croatia Croatia
    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
     

    Users who are viewing this thread

    Top Bottom