bertbert72 / HomeAssistant_VirginTivo

HomeAssistant component for control of Virgin Media Tivo boxes
GNU General Public License v3.0
27 stars 22 forks source link

BBC One HD (Channel 108) displays as BBC Scotland #53

Closed danielsmith89 closed 4 years ago

danielsmith89 commented 4 years ago
Image 2020-05-05 at 9 55 59 am
bertbert72 commented 4 years ago

That's not actually a defect. For some insane reason Virgin have different channels for different regions. So BBC One HD is channel 101 for everywhere apart from England, with 108 being BBC Scotland. There's no reliable way of working this out from the TV Channel Lists site so the component just works on the first entry for each channel.

To get around it, have a look at example1.yaml in the repository (https://github.com/bertbert72/HomeAssistant_VirginTivo/blob/master/example1.yaml).

Look at the override section and you'll see what you need to put in for BBC One to make it work correctly.

danielsmith89 commented 4 years ago

Ah, that would explain it!

Thanks for the quick reply and resolution.

eyelock commented 4 years ago

This worked for me today when I was going the opposite way to fix the issue reported in https://github.com/bertbert72/HomeAssistant_VirginTivo/issues/51. I'm in Scotland where the channels are a bit different, but might help:

  override:
    101:
      name: BBC One HD
      package: Player
      is_hd: True
    102:
      name: BBC Two HD
      package: Player
      is_hd: True
    103:
      name: STV HD
      package: Player
      is_hd: True
    104:
      name: Channel 4
      package: Player
      is_hd: False
    114:
      name: "STV +1"
      package: Player
      is_hd: False
    141:
      name: Channel 4 HD
      package: Player
      is_hd: True