How to modify GUIRecordedTV (1 Viewer)

nino

Portal Member
October 29, 2007
33
1
Home Country
Germany Germany
Hi -

Sorry - this might be a stupid newbie question...

I wanted to add a context menu option in the Recorded TV screen which allows to move a recording to another (videos) directory while deleting the recording from the database.

I made some changes to GUIRecordedTV.cs, compiled it, got a new WindowPlugins.dll and copied it to ...\Team MediaPortal\MediaPortal\plugins\Windows. However, no matter which changes I make - they don't show up when I run Mediaportal.

I tried some test changes like a "return;" in the first line of OnShowContextMenu() but Mediaportal still shows the context menu. However, I was able to "see" changes I made for testing purposes in dialogs.dll...

Probably I am missing something obvious?

Thank you for any help,

nino.
 

nino

Portal Member
October 29, 2007
33
1
Home Country
Germany Germany
...can somebody just give me a general idea which cs file has to be modified and which dll has to be exchanged in order to modifiy the context menu in the recordings section?

Any hint would be greatly appreciated,

thanks,

nino.
 

johnlc

Portal Pro
April 19, 2008
59
3
Horsens
Home Country
Denmark Denmark
GUIrecordedtv.cs in OnShowContextMenu() - my best guess

I like your ideas, I have been thinking about the same, I just don't want to delete it from database, but save them in anotherplace, on another disk, maybe. SO that they don't show up in this list, but maybe a list from another directory.
 

nino

Portal Member
October 29, 2007
33
1
Home Country
Germany Germany
Hi johnlc,

Thanks for your reply - I'm glad somebody else likes the idea :)

I modified OnShowContextMenu() in GUIrecordedtv.cs, compiled a new WindowPlugins.dll and put the new dll in my MediaPortal\plugins\Windows folder.

Is there anything else I need to exchange?

Thanks!

nino.
 

nino

Portal Member
October 29, 2007
33
1
Home Country
Germany Germany
Hi tourettes,

I'm using TVE3. Restarting tvservice didn't make a difference and I couldn't find anything related in the tvengine development tree...

It seems like I miss something really simple and obvious...

thank you for your help!

nino.
 

johnlc

Portal Pro
April 19, 2008
59
3
Horsens
Home Country
Denmark Denmark
Because if you are using TV3 then it is in
Mediaportal\TVEngine3\TVLibrary\TvPlugin\TvPlugin

TVrecorded.cs - you were faster Tourettes :D

I forget it every time. I just checkked it is also there - I will test with compile.
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    In that case you need to modify following binary: tvplugin.dll

    sources are in Mediaportal\TvEngine3\TVLibrary\TvPlugin
     

    nino

    Portal Member
    October 29, 2007
    33
    1
    Home Country
    Germany Germany
    Great - thank you! (cause and effect are established again!)

    :D

    nino.
     

    Users who are viewing this thread

    Top Bottom