edit4ever / script.module.zap2epg

zap2epg - EPG grabber for USA/Canada
GNU General Public License v3.0
41 stars 25 forks source link

Movie year to subtitle #18

Closed mathieugouin closed 4 years ago

mathieugouin commented 4 years ago

Hello,

The original zap2xml.pl script supported an option (-M): -M = copy movie_year to empty movie sub-title tags

Is the option still available?

edit4ever commented 4 years ago

zap2epg doesn't have that option. Instead it has the option to add whatever content details you want to the the details string. You can build that layout order anyway you like - which is helpful as different kodi skins handle the epg display differently.

mathieugouin commented 4 years ago

Can you confirm if to enable the details string it forces to download an additional request per program?

edit4ever commented 4 years ago

Yes - as that is the way the information is stored on the server - full episode info can only be requested with an additional post request - basic episode info is available without it.

mathieugouin commented 4 years ago

That is strange, I was able to get the following. See "releaseYear": "1971",

    {
      "callSign": "WCAXDT2",
      "affiliateCallSign": "null",
      "channelId": "53498",
      "channelNo": "3.2",
      "events": [
        {
          "callSign": "WCAXDT2",
          "duration": "140",
          "startTime": "2020-01-21T01:00:00Z",
          "endTime": "2020-01-21T03:20:00Z",
          "thumbnail": "p38974_p_v8_aa",
          "channelNo": "3.2",
          "filter": [
            "filter-movie"
          ],
          "seriesId": "MV00006109",
          "rating": "TV-14",
          "flag": [],
          "tags": [],
          "program": {
            "title": "Something Big",
            "id": "MV000061090000",
            "tmsId": "MV000061090000",
            "shortDesc": "An outlaw (Dean Martin) plans to swap a cavalry colonel's (Brian Keith) wife (Honor Blackman) for a Gatling gun needed to rob a Mexican bandit.",
            "season": null,
            "releaseYear": "1971",
            "episode": null,
            "episodeTitle": null,
            "seriesId": "MV00006109",
            "isGeneric": "0"
          }
        },
mathieugouin commented 4 years ago

Also, I have in my settings:

    <setting id="xdetails" default="true">false</setting>
edit4ever commented 4 years ago

Go ahead and set this to true and pull one day of info. Then you will see the extra data that is downloaded for each episode. I'm guessing you are not using the Kodi interface?

mathieugouin commented 4 years ago

Yes, both interfaces. But for debugging at my PC, I prefer direct editing of files ;)

It's ok... I was just hoping to get the info I like without having the big download overhead of extra data. I'm downloading 14 days of data...