AdvancedProfanityFilter icon indicating copy to clipboard operation
AdvancedProfanityFilter copied to clipboard

HBO Max Audio Muting Broken

Open richardfrost opened this issue 2 years ago • 1 comments

:bug: HBO Max Audio Muting Broken

:pencil: Additional context

It appears there was an update to their website which has broken the ability for the filter to properly detect captions/subtitles.

richardfrost avatar Jul 22 '22 15:07 richardfrost

This isn't a proper fix, but it does seem like it works at a bare minimum:

{ 
  "play.hbomax.com": [
    {
      "displaySelector": "div[data-testid='CueBoxContainer']",
      "mode": "watcher",
      "subtitleSelector": "div[data-testid='CueBoxContainer'] > div > div > div"
    }
  ]
}

Hiding captions likely won't work very well and they will flash, but muting does seem to work.

To test/use this config, copy/paste it into APF's Options page > Audio tab > Custom Sites config (right-side) and then click the blue "Save" button underneath. Don't forget to refresh your HBO Max tab for the change to take effect.

IMPORTANT: If you use this config, you will need to remember to erase it after the official release gets updated to work with it so you can get the updated config for HBO Max. This is just provided as a temporary solution, or as a way to test out new functionality.

richardfrost avatar Jul 23 '22 22:07 richardfrost