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

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.
 
Need save this to settings file and than read from GUI...

--
WBR, ajs :):whistle::coffee:
 
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.
 
I plan include this in 1.25 Pre ... if you don’t have time to do it, then already in 1.26 Pre ... :coffee::)
 
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

Back
Top Bottom