[mythtv-users] HDTV, Damaged on Schedule Direct Listings
Bill Meek
keemllib at gmail.com
Mon Apr 24 01:56:53 UTC 2017
On 04/23/2017 08:15 PM, Jerome Yuzyk wrote:
...
> The 'hdtv' column is all '0's.
>
> The 'title', etc. fields don't have the 'Damaged' text.
>
> I use SchedulesDirect through mythfilldatabase.
>
You can try the attached to search for recordings actually
marked as damaged in recordedprogram.videoprop or, this:
SELECT title,chanid,starttime FROM recordedprogram WHERE FIND_IN_SET('DAMAGED', videoprop);
But:
This try this and see if you get the same response as I do
(29-pre.) Probably adjusting the path for your host. Mostly
interested in the $data[43].
grep "this->videoproperties" /var/www/mythweb/modules/tv/classes/Program.php
$this->videoproperties = $data[43];
$this->videoproperties = $data['hdtv'];
$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->videoproperties, // 42 videoprop
--
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: damaged.py
Type: text/x-python
Size: 721 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170423/1df66a49/attachment.py>
More information about the mythtv-users
mailing list