[mythtv-users] season and episode population from schedules direct json has been incomplete.

Simon linux at thehobsons.co.uk
Sun Jan 21 17:27:23 UTC 2024


Paul Harrison <mythtv at mythqml.net> wrote:

>> Actually it looks like a fix may already have been made. I have noticed that some, but not all, of the programs which were missing SxxExx info now have them. I assume that many of the rest will be updated as the records are refreshed or replaced.
>> 
> 
> The author of the grabber has only just fixed the problem in his fork of xmltv
> 
> https://github.com/kgroeneveld/xmltv/commit/a0c8c88341ab0a3b9919135b424ef1470dc4d490
> 
> 
> There is a pull request for the issue but as of the time of writing this message it hasn't yet been pulled into xmltv yet so unless you are using kgroeneveld fork of xmltv it's still broken.
> 
> https://github.com/XMLTV/xmltv/pull/222
> 
> 
> It will be some time before this makes it into the various distro's as well. xmltv will likely have to do a release before they pick up the fix.

Interesting

I came here to see if anyone else had seen the same problem - I’m on UK Freeview using SD and tv_grab_zz_sdjson.
I’d noticed I wasn’t seeing series/episode numbers, but while looking at the data I see they are back (the first entry is a different series - Christmas/New Year special of the UK version, the rest are the US version:

> > select subtitle, season, episode, starttime from recorded where title="Ghosts" order by starttime;
> +------------------+--------+---------+---------------------+
> | subtitle         | season | episode | starttime           |
> +------------------+--------+---------+---------------------+
> | He Came!         |      0 |       0 | 2023-12-29 19:58:00 |
> | Pilot            |      1 |       1 | 2024-01-11 19:58:00 |
> | Hello!           |      1 |       2 | 2024-01-11 20:18:00 |
> | Viking Funeral   |      1 |       3 | 2024-01-11 20:38:00 |
> | Dinner Party     |      1 |       4 | 2024-01-16 19:58:00 |
> | Halloween        |      1 |       5 | 2024-01-16 20:18:00 |
> | Pete's Wife      |      1 |       6 | 2024-01-16 20:38:00 |
> | Flower's Article |      1 |       7 | 2024-01-17 19:58:00 |
> | D&D              |      1 |       8 | 2024-01-17 20:18:00 |
> | Alberta's Fan    |      0 |       0 | 2024-01-17 20:38:00 |
> | Possession       |      0 |       0 | 2024-01-19 19:58:00 |
> | Sam's Mom        |      0 |       0 | 2024-01-19 20:18:00 |
> | Jay's Sister     |      0 |       0 | 2024-01-19 20:38:00 |
> | The Vault        |      0 |       0 | 2024-01-20 19:59:00 |
> | Ghostwriter      |      0 |       0 | 2024-01-20 20:18:00 |
> | Thorapy          |      1 |      15 | 2024-01-20 20:38:00 |
> +------------------+--------+---------+——————————+



Looking at future showings :
> > select subtitle, season, episode, starttime from program where title="Ghosts" order by starttime ;
> +----------------------------------------+--------+---------+---------------------+
> | subtitle                               | season | episode | starttime           |
> +----------------------------------------+--------+---------+---------------------+
> | Pilot                                  |      1 |       1 | 2024-01-11 20:00:00 |
> | Hello!                                 |      1 |       2 | 2024-01-11 20:20:00 |
> | Viking Funeral                         |      1 |       3 | 2024-01-11 20:40:00 |
> | Pilot                                  |      1 |       1 | 2024-01-14 20:00:00 |
> | Hello!                                 |      1 |       2 | 2024-01-14 20:20:00 |
> | Viking Funeral                         |      1 |       3 | 2024-01-14 20:40:00 |
> | Dinner Party                           |      1 |       4 | 2024-01-16 20:00:00 |
> | Halloween                              |      1 |       5 | 2024-01-16 20:20:00 |
> | Pete's Wife                            |      1 |       6 | 2024-01-16 20:40:00 |
> | Flower's Article                       |      1 |       7 | 2024-01-17 20:00:00 |
> | D&D                                    |      1 |       8 | 2024-01-17 20:20:00 |
> | Alberta's Fan                          |      0 |       0 | 2024-01-17 20:40:00 |
> | Possession                             |      0 |       0 | 2024-01-19 20:00:00 |
> | Sam's Mom                              |      0 |       0 | 2024-01-19 20:20:00 |
> | Jay's Sister                           |      0 |       0 | 2024-01-19 20:40:00 |
> | The Vault                              |      0 |       0 | 2024-01-20 20:00:00 |
> | Ghostwriter                            |      0 |       0 | 2024-01-20 20:20:00 |
> | Thorapy                                |      1 |      15 | 2024-01-20 20:40:00 |
> | Trevor's Pants                         |      0 |       0 | 2024-01-21 20:00:00 |
> | Attic Girl                             |      0 |       0 | 2024-01-21 20:20:00 |
> | Farnsby & B                            |      0 |       0 | 2024-01-21 20:40:00 |
> | Spies                                  |      0 |       0 | 2024-01-23 20:00:00 |
> | Alberta's Podcast                      |      2 |       2 | 2024-01-23 20:20:00 |
> | Jay's Friends                          |      0 |       0 | 2024-01-23 20:40:00 |
> | The Tree                               |      0 |       0 | 2024-01-25 20:00:00 |
> | Halloween 2: The Ghost of Hetty's Past |      0 |       0 | 2024-01-25 20:20:00 |
> | The Baby Bjorn                         |      0 |       0 | 2024-01-25 20:40:00 |
> | Dumb Deaths                            |      0 |       0 | 2024-01-26 20:00:00 |
> | The Liquor License                     |      0 |       0 | 2024-01-26 20:20:00 |
> | The Christmas Spirit, Part One         |      0 |       0 | 2024-01-26 20:40:00 |
> | Ghost Hunter                           |      2 |      13 | 2024-01-28 20:00:00 |
> | Trevor's Body                          |      2 |      14 | 2024-01-28 20:20:00 |
> | A Date to Remember                     |      2 |      15 | 2024-01-28 20:40:00 |
> | The Christmas Spirit, Part Two         |      0 |       0 | 2024-01-31 20:15:00 |
> | The Perfect Assistant                  |      0 |       0 | 2024-01-31 20:40:00 |
> | The Family Business                    |      2 |      12 | 2024-02-01 20:15:00 |
> | Ghost Hunter                           |      2 |      13 | 2024-02-01 20:35:00 |
> +----------------------------------------+--------+---------+——————————+


It does look like it’s attached to the program, rather than a timeframe since there’s showings in the future which would only have had their listings pulled after the problem appeared to disappear.

I’ve tried deleting the grabber cache and the entries from the program table, but the results are the same after re-running the grabber. Actually, I should have looked first as this is a source data issue at SD. Checking the listings file, entries with S&E have both     <episode-num system="xmltv_ns">1.13.</episode-num> and <episode-num system="dd_progid">EP038741250040</episode-num> style entries, while those without don’t have the xmltv_ns one.


Simon



More information about the mythtv-users mailing list