[mythtv] Possible bug, "Fix Scheduling Conflicts" not showing all programs programmed to record

Leandro Dardini ldardini at tiscali.it
Sun Mar 2 11:02:35 EST 2003


Setting some programs to record in "channel" mode (whenever the program
appear on the channel), I notice that not all programs are shown in the "Fix
Scheduling Conflict" screen. I try to select directly from "record" table
and here it is the result:

mysql> select * from record;
+----------+------+--------+-----------+------------+----------+------------
+---------+----------+------------------------------------------------------
----------------------------------------------------------------------------
---------------+---------+
| recordid | type | chanid | starttime | startdate  | endtime  | enddate
| title   | subtitle | description
| profile |
+----------+------+--------+-----------+------------+----------+------------
+---------+----------+------------------------------------------------------
----------------------------------------------------------------------------
---------------+---------+
|       16 |    3 |     31 | 18:55:00  | 2003-03-03 | 19:50:00 | 2003-03-03
| Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |       0 |
+----------+------+--------+-----------+------------+----------+------------
+---------+----------+------------------------------------------------------
----------------------------------------------------------------------------
---------------+---------+
1 row in set (0.00 sec)

Joining with program table I obtain:

mysql> select * from record,program where record.title=program.title;
+----------+------+--------+-----------+------------+----------+------------
+---------+----------+------------------------------------------------------
----------------------------------------------------------------------------
---------------+---------+--------+----------------+----------------+-------
--+----------+--------------------------------------------------------------
----------------------------------------------------------------------------
-------+----------+
| recordid | type | chanid | starttime | startdate  | endtime  | enddate
| title   | subtitle | description
| profile | chanid | starttime      | endtime        | title   | subtitle |
description
| category |
+----------+------+--------+-----------+------------+----------+------------
+---------+----------+------------------------------------------------------
----------------------------------------------------------------------------
---------------+---------+--------+----------------+----------------+-------
--+----------+--------------------------------------------------------------
----------------------------------------------------------------------------
-------+----------+
|       16 |    3 |     31 | 18:55:00  | 2003-03-03 | 19:50:00 | 2003-03-03
| Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |       0 |     31 | 20030303185500 | 20030303195000 |
Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |          |
|       16 |    3 |     31 | 18:55:00  | 2003-03-03 | 19:50:00 | 2003-03-03
| Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |       0 |     31 | 20030304185500 | 20030304195000 |
Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |          |
|       16 |    3 |     31 | 18:55:00  | 2003-03-03 | 19:50:00 | 2003-03-03
| Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |       0 |     31 | 20030305185500 | 20030305195000 |
Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |          |
|       16 |    3 |     31 | 18:55:00  | 2003-03-03 | 19:50:00 | 2003-03-03
| Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |       0 |     31 | 20030306185500 | 20030306195000 |
Streghe | Streghe  | Le tre sorelle Halliwell sono belle, intelligenti, e
sono un terzetto tenace, ma sono molto diverse dalle loro coetanee... sono
delle streghe!  |          |
+----------+------+--------+-----------+------------+----------+------------
+---------+----------+------------------------------------------------------
----------------------------------------------------------------------------
---------------+---------+--------+----------------+----------------+-------
--+----------+--------------------------------------------------------------
----------------------------------------------------------------------------
-------+----------+
4 rows in set (0.00 sec)

I have four happening of the program, but in "fix scheduling conflicts" I
read only TWO recording scheduled, the one from 2003-03-03 and the one from
2003-03-05.

Table "program" is loaded directly with sql statement. Here the ones used:

insert into program values ("31","2003-03-03 18:55","2003-03-03
19:50","Streghe","Streghe","Le tre sorelle Halliwell sono belle,
intelligenti, e sono un terzetto tenace, ma sono molto diverse dalle loro
coetanee... sono delle streghe! ","");
insert into program values ("31","2003-03-04 18:55","2003-03-04
19:50","Streghe","Streghe","Le tre sorelle Halliwell sono belle,
intelligenti, e sono un terzetto tenace, ma sono molto diverse dalle loro
coetanee... sono delle streghe! ","");
insert into program values ("31","2003-03-05 18:55","2003-03-05
19:50","Streghe","Streghe","Le tre sorelle Halliwell sono belle,
intelligenti, e sono un terzetto tenace, ma sono molto diverse dalle loro
coetanee... sono delle streghe! ","");
insert into program values ("31","2003-03-06 18:55","2003-03-06
19:50","Streghe","Streghe","Le tre sorelle Halliwell sono belle,
intelligenti, e sono un terzetto tenace, ma sono molto diverse dalle loro
coetanee... sono delle streghe! ","");

I was unable to find the select used by "Fix Scheduling Conflicts" and to
debug by myself. Is this a bug? Where is the select query?

Leandro



More information about the mythtv-dev mailing list