[mythtv-users] Schedules Direct guide data for AU / NZ

Robert Kulagowski rkulagow at gmail.com
Wed Aug 31 18:17:17 UTC 2016


On Wed, Aug 31, 2016 at 8:17 AM, Phill Edwards <philledwards at gmail.com> wrote:
> - Some program descriptions were longer than what I already use (shepherd),
> and some were shorter.

Please open a ticket at the Schedules Direct website with the
programID and what the description should be, and I can see what we
have.

> - It doesn't always provide the program <length>.Probably not a problem for
> MythTV, though.

Do you mean the duration? That's part of the schedule item.

> - Program times are returned in UTC timezone. Haven't worked out yet if it
> can be configured with a time offset but again I doubt this is a problem in
> a MythTV setup.

Everything is in UTC on purpose. It's up to the grabber / application
to convert to localtime if you need it.

> - Some of the program ratings are a bit iffy. E.g. "Our Zoo" was rated as
> "L" by "Departamento de Justiça, Classificação, Títulos e Qualificação". No
> idea what "L" is or who they are.

ProgramIDs are global, so the ratings come along.

"contentRating": [
                    {
                        "body": "Australian Classification Board",
                        "code": "G",
                        "country": "AUS"
                    }
                ],

It's up to the application / grabber to filter if it's not interesting.


> - It provides episode information which could be a big plus. But it doesn't
> provide an sub-title. Eg. Title="The Bill", Sub-title="Plato For Policemen".
> Perhaps sub-titles aren't needed if the episode information is good?

Please open a ticket with the programID and I can see what's on the server.

> - Seems to be quite a few errors in <actor>, eg
> <actor>ARRAY(0x3fcc460)</actor>.

Since "actor" isn't an element in the JSON:

                "cast": [
                    {
                        "billingOrder": "01",
                        "role": "Voice",
                        "nameId": "524354",
                        "personId": "509506",
                        "name": "Ed Gaughan"
                    },
                    {
                        "billingOrder": "02",
                        "role": "Voice",
                        "nameId": "250122",
                        "personId": "246575",
                        "name": "Joanna Page"
                    },
                    {
                        "billingOrder": "03",
                        "role": "Voice",
                        "nameId": "915331",
                        "personId": "870347",
                        "name": "Steve Kynman"
                    },
                    {
                        "billingOrder": "04",
                        "role": "Voice",
                        "nameId": "169907",
                        "personId": "168853",
                        "name": "Richard Ridings"
                    },
                    {
                        "billingOrder": "05",
                        "role": "Voice",
                        "nameId": "564156",
                        "personId": "541554",
                        "name": "Ella Kenion"
                    }
                ],
                "crew": [
                    {
                        "billingOrder": "01",
                        "role": "Writer",
                        "nameId": "961142",
                        "personId": "910340",
                        "name": "Nick Butterworth"
                    },
                    {
                        "billingOrder": "02",
                        "role": "Director",
                        "nameId": "640813",
                        "personId": "619318",
                        "name": "Adam Shaw"
                    }
                ],

that must be a grabber issue.

> - <Date> (i.e. year of program) often seems to be missing.

It's the originalAirDate element:

{
            "programID": "EP017712820012",
            "md5": "xFaTfpVuKsFn9aW8594/qw",
            "airDateTime": "2016-09-01T02:57:00Z",
            "duration": 840,
            "repeat": true,
            "videoProperties": [
                "enhanced"
            ],
            "audioProperties": [
                "cc"
            ],
            "programData": {
                "programID": "EP017712820012",
                "resourceID": "10102661",
                "titles": [
                    {
                        "title120": "Q Pootle 5"
                    }
                ],
                "descriptions": {
                    "description1000": [
                        {
                            "descriptionLanguage": "en-GB",
                            "description": "When Groobie has a little
accident in his spaceship, he loses his confidence and can't fly
anymore. It's down to Q Pootle 5 to get him flying again."
                        }
                    ]
                },
                "originalAirDate": "2013-08-12",
                "genres": [
                    "Adventure",
                    "Entertainment",
                    "Animated",
                    "Children"
                ],


"2013-08-12" in this case. We don't always have an OAD, because OAD
isn't updated per-country; it's a global. So 2013-08-12 would be the
date that it was broadcast in the UK, not when it was first broadcast
in the US or AU.


More information about the mythtv-users mailing list