[TV] 4994: Automatically Change Channel on Program Reminder (1 Viewer)

vapourEyes

Portal Pro
July 31, 2013
144
43
Home Country
United Kingdom United Kingdom
I've named a new UI element: mpCheckBoxChannelChange

1584031313916.png


That's in MediaPortal | MediaPortal.Configuration | tv.cs

I need to reference it in TvPlugin | TvPlugin | TvHome.cs
So I crudely did this:
if (mpCheckBoxChannelChange.isChecked()) tvNotifyDlg.SetDefaultToYes(true);

Which is wrong.

How do I reference the UI element from another project ?
Newbie alert.
 

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    Need save this to settings file and than read from GUI...

    --
    WBR, ajs :):whistle::coffee:
     

    vapourEyes

    Portal Pro
    July 31, 2013
    144
    43
    Home Country
    United Kingdom United Kingdom
    ok - well we have a solution until I can get around to completing this.
    For those who want it now, the zipped DLL slots right in.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    I plan include this in 1.25 Pre ... if you don’t have time to do it, then already in 1.26 Pre ... :coffee::)
     

    vapourEyes

    Portal Pro
    July 31, 2013
    144
    43
    Home Country
    United Kingdom United Kingdom
    Just testing Configuration.exe and TvPlugin.dll.

    These appear to be the only points touched during coding.

    So, attached is a zip file to replace Configuration.exe and TvPlugin.DLL.

    I'm intending to only modify the branch and provide a diff/patch once confirmed ok.
    Though its working ok so far here.
     

    Attachments

    • mpChannelChange.zip
      2.1 MB

    Users who are viewing this thread

    Top Bottom