[Approved] Patch to TVProgramInfo Conflict Dialog (1 Viewer)

romadd64

MP Donator
  • Premium Supporter
  • October 24, 2007
    82
    15
    Home Country
    Italy Italy
    In TVProgramInfo.cs CreateProgram(), the TVPlugin conflict dialog should show channel name instead of channel number.

    romadd64
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Slightly tweaked patch Committed to SVN 26937

    Code:
                Channel channel = Channel.Retrieve(conflict.IdChannel);
                if (channel != null && !string.IsNullOrEmpty(channel.Name))
                {
                  item.Label3 = channel.Name;
                }
                else
                {
                  item.Label3 = conflict.IdChannel.ToString();
                }

    :D
     

    Users who are viewing this thread

    Similar threads

    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this change :). I hope that it will be included in the next release. -- from CyberSimian in the UK
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this...
    In "MP Config" the following setting enables the display of channel numbers in the TV EPG: But there is no equivalent setting in...
    Replies
    4
    Views
    845
    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    This thread is intended for skin authors, plus those advanced users who have learnt skin programming and have customised the skins...
    Replies
    1
    Views
    1K
    According to Wikipedia, Windows only uses code pages other than UTF-8 to support legacy (mostly 32 bit) applications and supports two code pages in addition to UTF-8 (OEM and ANSI). According to Microsoft, UTF-8 has been the preferred character set since 2019. If TV Server (or its import routine) were using UTF-8, then umlauts...
    According to Wikipedia, Windows only uses code pages other than UTF-8 to support legacy (mostly 32 bit) applications and supports...
    Because I have around 200 TV channels and more than a dozen groups, I tried to import the TV channel groups from an old export.xml...
    Replies
    4
    Views
    642
    MP1 MP2 [solved] channel numbers issue DE
    that's awesome, thank you! problem fixed. no idea how it got changed as I rarely go into the config.
    that's awesome, thank you! problem fixed. no idea how it got changed as I rarely go into the config.
    Hi, until recently i had my tv channels selectable by typing the channel number on my remote. for instance, i hit the number 9...
    Replies
    2
    Views
    991
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database changed MariaDB [mptvdb]> SELECT * FROM Server; +----------+----------+--------------+----------+ | idServer | isMaster | hostName | rtspPort | +----------+----------+--------------+----------+ |...
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database...
    Hello everyone, I'm going to need help from the community to resolve a TV server crash issue. I encountered a problem with my...
    Replies
    4
    Views
    1K
    Top Bottom