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

vapourEyes

Portal Pro
July 31, 2013
144
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
    13,714
    8,260
    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
    144
    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
    13,714
    8,260
    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
    144
    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
    Rob Hexenmeister Update error: "Automatic update disabled. Check your internet connection" OnlineVideos 8
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    vapourEyes Automatically Re-Tune Periodically Improvement Suggestions 3
    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
    T 1.28.0 5073: 1.28 Pre-release XML importer change (issue?) General Support 23
    R 1.27.0 Webepg not refreshing changes. See pics WebEPG 1
    F MP don't change refresh rate General Support 8
    T Change tv subtitle in MediaPortal 1.26 Newcomers Forum 12
    T Change tv subtitle in MediaPortal 1.26 MediaPortal 1 Talk 0
    G Changing from MySQL to MariaDB MediaPortal 1 Talk 38
    Lehmden TVDB will change into a payed service in 2021 OffTopic 10
    toricred MP2 - V2.3 Client Dying When Changing Channels ATSC Submit: Bug Reports 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

    Similar threads

    Top Bottom