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

vapourEyes

Portal Pro
July 31, 2013
142
43
United Kingdom United Kingdom
Country flag
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
    12,527
    7,219
    Kyiv
    Ukraine Ukraine
    Country flag
    Need save this to settings file and than read from GUI...

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

    vapourEyes

    Portal Pro
    July 31, 2013
    142
    43
    United Kingdom United Kingdom
    Country flag
    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
    12,527
    7,219
    Kyiv
    Ukraine Ukraine
    Country flag
    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
    142
    43
    United Kingdom United Kingdom
    Country flag
    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

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    vapourEyes Automatically Re-Tune Periodically Improvement Suggestions 1
    vapourEyes Automatically Tune to Strongest Duplicate Channel Improvement Suggestions 106
    W [solved] [FIXED] Survivor season 40 not automatically matching My TVSeries 1
    G Switch to new channel at begining of program automatically Feature Requests 0
    C How do I get MediaPortal to separate recording files by channel and month? General 2
    H MP1.21F video database scan, can it be scheduled to automatically run in background General Support 5
    Steve.Rayner61 Online Videos - Automatic Updates fails 'Automatic update disabled. Check your internet connection' OnlineVideos 10
    greybox 1.20 final does not update video duration automatically 1.20 10
    greybox 1.20 final does not update video duration automatically 1.20 Pre Release 1
    E 1.25.0 Change AVC / AAC Codec for Analog card captured videos Codecs, External Players 0
    C 1.25.0 mini Splashscreen - how can i change it MediaPortal 1 Skins 9
    toricred Recordings Change : to _ in Series Name General 0
    A UK Freeview channel changes Installation, configuration support 14
    T Client / Server slow channel-to-channel change (zapping) General Support 1
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    azzuro [WiP] MP1-4999 - Big changes with many related change at once by Sebastiii MediaPortal 1 22
    J How to change y position of subtitles General 3
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    M Change size of the splash screen Skins and Plugins Installer (MPEI) 2
    S Remote button to change audio and subtitle on / off General 10
    BenGonGon chaine qui change aléatoirement Support Général 2
    R [solved] Command / Shortcut for changing subtitles or audio Archive 5
    ge2301 New forum design together with change to XF2.x Online Facilities 4

    Similar threads

    Top Bottom