Skip to content

Commit

Permalink
Fix videoproperties which were wrong after the schema change to 1362 …
Browse files Browse the repository at this point in the history
…in commit e79b8fc.
  • Loading branch information
kroseneg committed Mar 7, 2022
1 parent a44f7a8 commit 9292d74
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions modules/tv/classes/Program.php
Expand Up @@ -195,12 +195,14 @@ public function __construct($data) {
$this->dolby = $this->audioproperties & 0x08;
$this->audiohardhear = $this->audioproperties & 0x10;
$this->audiovisimpair = $this->audioproperties & 0x20;
$this->hdtv = $this->videoproperties & 0x01;
$this->widescreen = $this->videoproperties & 0x02;
$this->avc = $this->videoproperties & 0x04;
$this->hd_ready = $this->videoproperties & 0x08;
$this->fullhd = $this->videoproperties & 0x10;
$this->damaged = $this->videoproperties & 0x20;

$this->widescreen = $this->videoproperties & 0x0001;
$this->hdtv = $this->videoproperties & 0x0002;
$this->avc = $this->videoproperties & 0x0008;
$this->hd_ready = $this->videoproperties & 0x0020;
$this->fullhd = $this->videoproperties & 0x0040;
$this->damaged = $this->videoproperties & 0x0400;

$this->closecaptioned = $this->subtitletype & 0x01;
$this->has_subtitles = $this->subtitletype & 0x02;
$this->subtitled = $this->subtitletype & 0x04;
Expand Down

0 comments on commit 9292d74

Please sign in to comment.