[EPG] Display incrementing Channel numbers in EPG-Page (1 Viewer)

riksmith

Portal Pro
April 18, 2009
1,856
322
Home Country
Netherlands Netherlands
Perhaps this one works without the switch. This should also fix the miniguide.
 

Attachments

  • Mantis 2985 Setting select channel by index and show channel numbers does not show index in gu.patch
    2 KB
  • TvPlugin.rar
    142.9 KB

peque

Moderator - Spanish Forums
  • Premium Supporter
  • August 4, 2007
    861
    99
    Home Country
    Spain Spain
    Was this included in 1.1.1?

    Thanks!

    PD: Last TV Plugin is for 1.1.0 Final... right?
     

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Home Country
    Netherlands Netherlands
    This is not included in 1.1.1 but it is in 1.2.0.
    The supplied TV plugin is indeed for 1.1.0.
     

    peque

    Moderator - Spanish Forums
  • Premium Supporter
  • August 4, 2007
    861
    99
    Home Country
    Spain Spain
    Ok... I'm trying TVPlugin from this post, with success, in a 1.1.0 Final installation...

    Now I'm trying a little hack, which is using non-consecutive numbers for "sortOrder" field in groupmap table, inside database. I do it, but when I go into EPG or TVMiniguide, I don't see my non-consecutive numbers, but consecutive ones based on order... Could this be implemented in this hacked TVPlugin? Just to get index from database, instead of assigning it automatically using position in channel group... As sortOrder field starts with "0" position, you should assign "sortOrder" + 1 as index used inside MyTV...

    Thanks for considering!!!

    PD: Next stage would be to be able to change "sortOrder" field inside setuptv... But I don't mind doing it directly in MySQL database anyway...
     

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Home Country
    Netherlands Netherlands
    Ok... I'm trying TVPlugin from this post, with success, in a 1.1.0 Final installation...

    Now I'm trying a little hack, which is using non-consecutive numbers for "sortOrder" field in groupmap table, inside database. I do it, but when I go into EPG or TVMiniguide, I don't see my non-consecutive numbers, but consecutive ones based on order... Could this be implemented in this hacked TVPlugin? Just to get index from database, instead of assigning it automatically using position in channel group... As sortOrder field starts with "0" position, you should assign "sortOrder" + 1 as index used inside MyTV...

    Thanks for considering!!!

    PD: Next stage would be to be able to change "sortOrder" field inside setuptv... But I don't mind doing it directly in MySQL database anyway...

    If you want non-consecutive numbers for your channels you should not use this feature. Instead you should assign a channel number to each channel and disable the "select channels by index" option.

    BTW: It could be that you will need 1.1.1 (that fixed http://mantis.team-mediaportal.com/view.php?id=2853) to be able to edit the channel number.
     

    peque

    Moderator - Spanish Forums
  • Premium Supporter
  • August 4, 2007
    861
    99
    Home Country
    Spain Spain
    Maybe... but this way, each channel has ONLY one "channel number" variable in database... while if a channel is present in 2 different channel groups, it has two "sortOrder" variables, one for each channel group... That's why I would like to use "sortOrder" variable inside groupmap table, instead of "ChannelNumber" variable inside tuningdetails table... this way, same channel can have one separate number for each channel group.

    Hope you can understand my little dirty idea... :p
     

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Home Country
    Netherlands Netherlands
    Maybe... but this way, each channel has ONLY one "channel number" variable in database... while if a channel is present in 2 different channel groups, it has two "sortOrder" variables, one for each channel group... That's why I would like to use "sortOrder" variable inside groupmap table, instead of "ChannelNumber" variable inside tuningdetails table... this way, same channel can have one separate number for each channel group.

    Hope you can understand my little dirty idea... :p

    I understand your idea now, but i am not going to make it for you. Your requested behavior is not as designed and i am not able to spend time on it.

    Being able to specify a channelnumber per-group seems a better solution to me, but that is for me currently too big to make. It may be even better to implement such a thing in a next big version of the TV Engine.

    But since this is an open source application anybody can of course alter the code and submit a patch for it (or just use it locally)
     

    peque

    Moderator - Spanish Forums
  • Premium Supporter
  • August 4, 2007
    861
    99
    Home Country
    Spain Spain
    That's right... Internet is best effort... I just ask, as I'm not able to do it, because my skills in programming are very low...

    Thanks anyway! We ll see in MP2!
     

    Users who are viewing this thread

    Top Bottom