Mailing List Archive

1 2  View All
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
On 21/01/2024 14:18, Tom Dexter wrote:
> On Sat, Jan 20, 2024 at 2:08?PM Gary Buhrmaster
> <gary.buhrmaster@gmail.com> wrote:
>>
>> On Sun, Jan 14, 2024 at 5:32?PM Gary Buhrmaster
>> <gary.buhrmaster@gmail.com> wrote:
>>
>>> (*) And if you can create a reproducer, open a bug
>>> with that grabber (the usual problem is creating a
>>> reliable reproducer as anecdotal reports are
>>> rarely entirely helpful).
>>
>> It looks like someone (perhaps someone from
>> this thread?) opened a bug report with what
>> looks like a likely cause against that grabber.
>>
>> I presume the author of that grabber will
>> review the bug and work up a fix at some
>> point.
>
> Interesting. That definitely sounds like it explains what's happening.
> I wonder what exactly changed given that it was working.
>
> Now that I've switched to the sqlite version I'm fine with that. It
> seems to be working great in fact. I'm pretty comfortable with that,
> especially now that I know how to do things like manually enabling or
> disabling channels in its sqlite database without using the rather
> tedious method that the grabber itself has.
>
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.

--

Mike Perkins


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
On 21/01/2024 14:27, Mike Perkins wrote:

> On 21/01/2024 14:18, Tom Dexter wrote:
>> On Sat, Jan 20, 2024 at 2:08?PM Gary Buhrmaster
>> <gary.buhrmaster@gmail.com> wrote:
>>>
>>> On Sun, Jan 14, 2024 at 5:32?PM Gary Buhrmaster
>>> <gary.buhrmaster@gmail.com> wrote:
>>>
>>>> (*) And if you can create a reproducer, open a bug
>>>> with that grabber (the usual problem is creating a
>>>> reliable reproducer as anecdotal reports are
>>>> rarely entirely helpful).
>>>
>>> It looks like someone (perhaps someone from
>>> this thread?) opened a bug report with what
>>> looks like a likely cause against that grabber.
>>>
>>> I presume the author of that grabber will
>>> review the bug and work up a fix at some
>>> point.
>>
>> Interesting. That definitely sounds like it explains what's happening.
>> I wonder what exactly changed given that it was working.
>>
>> Now that I've switched to the sqlite version I'm fine with that. It
>> seems to be working great in fact. I'm pretty comfortable with that,
>> especially now that I know how to do things like manually enabling or
>> disabling channels in its sqlite database without using the rather
>> tedious method that the grabber itself has.
>>
> 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.


Paul H.


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
On Sun, Jan 21, 2024 at 2:29?PM Mike Perkins
<mikep@randomtraveller.org.uk> 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.

If one looks at the issue, picking up
the S/E will be somewhat random
(depends on the actual order of the
returned unordered array, which is
defined to be random).
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
On Sun, Jan 21, 2024 at 2:51?PM Paul Harrison <mythtv@mythqml.net> wrote:

> 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.

This is no real different than MythTV itself.
Some packagers for some distros pick up
interesting fixes between formal releases,
some wait for a formal release, and some
wait for someone to ask for an update.
If one has a need for the latest (and
sometimes greatest), one should be
prepared to run the upstream(s) version
rather than your distro's version.

FWIW, I believe the XMLTV project intends
to make a formal release in the near future
(at least that seems to be the consensus
on the developers list) for the same
reason that MythTV typically makes a
formal release about this time (to have
a new version ready for the upcoming
Canonical LTS release schedule).

That, of course, reminds me, when is
v34 planned to go gold?
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
On 21/01/2024 15:11, Gary Buhrmaster wrote:

> On Sun, Jan 21, 2024 at 2:51?PM Paul Harrison <mythtv@mythqml.net> wrote:
>
>> 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.
> This is no real different than MythTV itself.
> Some packagers for some distros pick up
> interesting fixes between formal releases,
> some wait for a formal release, and some
> wait for someone to ask for an update.
> If one has a need for the latest (and
> sometimes greatest), one should be
> prepared to run the upstream(s) version
> rather than your distro's version.
>
> FWIW, I believe the XMLTV project intends
> to make a formal release in the near future
> (at least that seems to be the consensus
> on the developers list) for the same
> reason that MythTV typically makes a
> formal release about this time (to have
> a new version ready for the upcoming
> Canonical LTS release schedule).
>
> That, of course, reminds me, when is
> v34 planned to go gold?


I did notice the last few XMLTV releases have been around the end of
February just in time for the Ubuntu feature freeze :)


Sounds like a jolly good idea wonder why we don't do that for MythTV!  ????


As for v34 I've washed my hand of it and just let the others fight it
out. The latest was we are going to attempt a release before the
February 29th feature freeze but it's far from a unanimous decision so I
wouldn't be surprised if it's a half-hearted attempt with some stuff
missing like release notes, web site announcements etc but I could be wrong.


The project really misses someone with authority to push stuff along
especially now Stuart A. appears to have has gone :(


Paul H.

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
On 1/21/24 10:43, Paul Harrison wrote:
> I did notice the last few XMLTV releases have been around the end of
> February just in time for the Ubuntu feature freeze ????
>
>
> Sounds like a jolly good idea wonder why we don't do that for MythTV!  ????
>
>
> As for v34 I've washed my hand of it and just let the others fight it
> out. The latest was we are going to attempt a release before the
> February 29th feature freeze but it's far from a unanimous decision so
> I wouldn't be surprised if it's a half-hearted attempt with some stuff
> missing like release notes, web site announcements etc but I could be
> wrong.
>
>
> The project really misses someone with authority to push stuff along
> especially now Stuart A. appears to have has gone ????
>
>
> Paul H.

David Hampton will create the new version before end of February.

Peter

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
Paul Harrison <mythtv@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

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: season and episode population from schedules direct json has been incomplete. [ In reply to ]
On 1/21/24 11:12, Peter Bennett wrote:
>
> David Hampton will create the new version before end of February.
>
This is excellent news.  It will be great for production MythMusic to
match its documentation!

-Tim


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org

1 2  View All