bertbert72 / HomeAssistant_VirginTivo

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

Problem with 4 HD, channel 141 #65

Closed badguy99 closed 3 years ago

badguy99 commented 3 years ago

I keep seeing this in my logs when watching 4 HD:

2021-01-04 22:47:04 WARNING (SyncWorker_6) [custom_components.virgintivo.media_player] Virgin V6: incorrect channel configuration for channel [141]
2021-01-04 22:47:09 WARNING (SyncWorker_12) [custom_components.virgintivo.media_player] Virgin V6: incorrect channel configuration for channel [141]
2021-01-04 22:47:14 WARNING (SyncWorker_9) [custom_components.virgintivo.media_player] Virgin V6: incorrect channel configuration for channel [141]
2021-01-04 22:47:19 WARNING (SyncWorker_4) [custom_components.virgintivo.media_player] Virgin V6: incorrect channel configuration for channel [141]

My config is as follows:

media_player vm_tivo:
  - platform: virgintivo
    scan_interval: 5
    show_packages: Free-to-air,Player,Full House
    tivos:
      1:
        name: Virgin V6
        host: 192.168.xxx.yyy
        force_hd: true
    guide:
      enable_guide: True
      picture_refresh: 60
    tvchannellists:
      enable: True
bertbert72 commented 3 years ago

Channel 4 is probably the most awkward channel since the variation between regions is so severe. It's probably best to override it with your own specific region implementation rather than hoping the default will work. E.g.

    tvchannellists:
      enable: True
      override:
        104:
          name: Channel 4
          package: Player
          is_hd: False
        141:
          name: Channel 4 HD
          package: Player
          is_hd: True

Let me know if you still have a problem.

badguy99 commented 3 years ago

That's sorted it. Thanks!