[mythtv] Very long recordings

simpson100 at gmail.com simpson100 at gmail.com
Wed Feb 10 21:58:48 UTC 2021


Great catch! That explains why I have a problem and others don’t. My RecordOverTime is 5 minutes:

 

mysql> select * from settings where value = 'RecordOverTime';

+----------------+------+----------+

| value          | data | hostname |

+----------------+------+----------+

| RecordOverTime | 300  | NULL     |

+----------------+------+----------+

1 row in set (0.00 sec)

 

If interpreted as minutes it is 300/60 = 5 hours. That explains why my recordings last 6 hours.

 

From: mythtv-dev <mythtv-dev-bounces at mythtv.org> On Behalf Of Klaas de Waal
Sent: Wednesday, February 10, 2021 1:31 PM
To: Development of MythTV <mythtv-dev at mythtv.org>
Subject: Re: [mythtv] Very long recordings

 

I have just now found a bit of suspicious code in tv_rec.cpp.

This is the current code is this in tv_rec.cpp:159

 

    m_overRecordSecNrml = gCoreContext->GetDurSetting<std::chrono::minutes>("RecordOverTime");

 

My production system has a value in the database of 1200 seconds.

As I understand the code, the seconds value in the database is interpreted as minutes, which results in 72000 seconds record overtime.

My development system has record overtime 0 so there it does not make a difference.

 

This is in commit c2730942e325b393e589bb0b369c8e08bab3ea3c

 

Have not tested this yet but hope this helps.

 

Klaas.

 

 

 

 

 

 

On Wed, 10 Feb 2021 at 22:08, Scott Simpson <simpson100 at gmail.com <mailto:simpson100 at gmail.com> > wrote:

My MythTV packages are 64 bit also:

mythtv at mythtv:~$ dpkg-query --list |grep mythtv
ii  libmythtv-perl
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 all          Perl
library to access some MythTV features
ii  mythtv-backend
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 amd64        Personal
video recorder application (server)
ii  mythtv-common
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 amd64        Personal
video recorder application (common data)
ii  mythtv-database
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 all          Personal
video recorder application (database)
ii  mythtv-dbg
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 amd64        Debug
symbols for mythtv packages
ii  mythtv-doc
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 all          Personal
video recorder application (documentation)
ii  mythtv-frontend
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 amd64        Personal
video recorder application (client)
ii  mythtv-theme-mythbuntu
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 all          MythTV
Theme used in the Mythbuntu distribution
ii  mythtv-transcode-utils
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 amd64        Utilities
used for transcoding MythTV tasks
ii  php-mythtv
2:32.0~master.202102091135.9a790b3e91~ubuntu20.04.1 all          PHP
Bindings for MythTV
m

-----Original Message-----
From: mythtv-dev <mythtv-dev-bounces at mythtv.org <mailto:mythtv-dev-bounces at mythtv.org> > On Behalf Of Gary
Buhrmaster
Sent: Wednesday, February 10, 2021 12:12 PM
To: Development of MythTV <mythtv-dev at mythtv.org <mailto:mythtv-dev at mythtv.org> >
Subject: Re: [mythtv] Very long recordings

On Wed, Feb 10, 2021 at 6:31 PM David Hampton via mythtv-dev
<mythtv-dev at mythtv.org <mailto:mythtv-dev at mythtv.org> > wrote:

> Summarizing to see if there is a pattern. So far we have reports of:
>
> No problem:
....
> GaryB: external recorded, unknown OS, unknown Qt

To add to the info:

No problems seen at:

OS: Fedora 33
Qt: 5.15.2 (compile and runtime)
Kernel: 5.10.13
gcc: 10.2.1
Tuners: (3rd party) external recorder (mythhdhrrecorder) with HDHR Prime
MythTV master tested at both e3cafbc0b8 and 9a790b3e91
_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org <mailto:mythtv-dev at mythtv.org> 
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org

_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org <mailto:mythtv-dev at mythtv.org> 
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20210210/e58a0aa0/attachment.htm>


More information about the mythtv-dev mailing list