Custom Option on Context Menu (1 Viewer)

elhefe

Portal Member
October 5, 2009
24
0
Home Country
Argentina Argentina
Basically I want to have a Video selected (may be a tv series, moving pictures movie, or regular video) and when I press the menu and all the options appear, I want to create an extra option there that will "launch" my plugin that has to do something with the filename of the video file im currently selecting.

I read the plugin guide and all, but I can't seem to find something that will allow me to do this.

If someone could point me in the right direction I'd appreciate it.

btw, if this thread is not supposed to be here, move it to where is needed, I couldn't find a Development forum for MP1

Thanks in advance

Adrian
 

SilentException

Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    In context menu (F9) this is not possible..
    In "hidden" menu (left or right), it's possible to add a button in skin file..

    Sorry I'm in a rush but look at SubCentral plugin...
     

    elhefe

    Portal Member
    October 5, 2009
    24
    0
    Home Country
    Argentina Argentina
    Yeah I see it now, although im not sure how the name of the file is actually sent from the menu to SubCentral, but I have to do something similar to that.
     

    elhefe

    Portal Member
    October 5, 2009
    24
    0
    Home Country
    Argentina Argentina
    anybody else that can point me in the right direction?
    well.. i guess the best way would be to see the source of SubCentral.
     

    elhefe

    Portal Member
    October 5, 2009
    24
    0
    Home Country
    Argentina Argentina
    I tried tortoise and it's giving me a weird error.
    i did reflector (i didn't want to resort to that, but i want to finish it today :p) and Im lost... basically I need a simple thing.
    Im on tvseries, i press left for hidden menu, then select my item, and there i have one button, when i press it I want to do |something| with the file that is selected on MPTVSeries.
    I know I should look into it myself, and I'm doing it, but if somebody could pointme to the right code for that simple thing, I'd be super happy =)
     

    elhefe

    Portal Member
    October 5, 2009
    24
    0
    Home Country
    Argentina Argentina
    I got it thankx!!!!

    now... im lost in something so simple....


    lets say a have a label and a button, and on the press of the button i need to do this:

    Label.Label = "Text1"
    System.Threading.Thread.Sleep(3000) <= or whatever function from an external dll I call, it's the same outcome
    Label.Label = "Text2"
    System.Threading.Thread.Sleep(3000)
    Label.Label = "Text3"
    System.Threading.Thread.Sleep(3000)
    Label.Label = "Text3"

    I thought I was going to see the label changing the text every 3 seconds, but it just hangs for 9 seconds and it then changes to Text3.

    I tried different refreshes but I always have the same result? Anybody in the mood to help me out? I'd really appreciate it!

    Thanks in advance
     

    Users who are viewing this thread

    Top Bottom