v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2017-10-11, 01:34)Milhouse Wrote:
(2017-10-11, 00:28)pyrodex Wrote: Any thoughts?

Did you check what Kodi thinks the runtime should be?
Code:
texturecache.py Jd tvshows nation @extrajson.tvshows.episode=playcount,resume,runtime,streamdetails

You may have both runtime and streamdetails.video.duration.

Other than that, I would suggest starting a separate thread as it may catch the eye of a developer that knows more about this. I'm really sure this is not something specific to these LibreELEC builds.

Looks like they are all the same as resume.total.

Code:
denhtpc:~ # texturecache.py Jd tvshows nation @extrajson.tvshows.episode=playcount,resume,runtime,streamdetails

[
  {
    "art": {
      "banner": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/banner.jpg/",
      "fanart": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/fanart.jpg/",
      "poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/poster.jpg/"
    },
    "file": "nfs://192.168.14.32/storage/media/tv/Z Nation/",
    "label": "Z Nation",
    "seasons": [
      {
        "art": {
          "poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/season04-poster.jpg/",
          "season.poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/season04-poster.jpg/",
          "tvshow.banner": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/banner.jpg/",
          "tvshow.fanart": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/fanart.jpg/",
          "tvshow.poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/poster.jpg/"
        },
        "episodes": [
          {
            "art": {
              "season.poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/season04-poster.jpg/",
              "thumb": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/Z.Nation.S04E01.Black.Rainbow.1080p.AMZN.WEB-DL.DDP5.1.H.264-KiNGS-thumb.jpg/",
              "tvshow.banner": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/banner.jpg/",
              "tvshow.fanart": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/fanart.jpg/",
              "tvshow.poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/poster.jpg/"
            },
            "episodeid": 41,
            "file": "nfs://192.168.14.32/storage/media/tv/Z Nation/Z.Nation.S04E01.Black.Rainbow.1080p.AMZN.WEB-DL.DDP5.1.H.264-KiNGS.mkv",
            "label": "4x01. Warren's Dream",
            "playcount": 2,
            "resume": {
              "position": 0.0,
              "total": 0.0
            },
            "runtime": 2589,
            "streamdetails": {
              "audio": [
                {
                  "channels": 6,
                  "codec": "eac3",
                  "language": "eng"
                }
              ],
              "subtitle": [
                {
                  "language": "eng"
                }
              ],
              "video": [
                {
                  "aspect": 1.7777800559997559,
                  "codec": "h264",
                  "duration": 2589,
                  "height": 1080,
                  "language": "",
                  "stereomode": "",
                  "width": 1920
                }
              ]
            }
          },
          {
            "art": {
              "season.poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/season04-poster.jpg/",
              "thumb": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/Z.Nation.S04E02.Escape.from.Zona.1080p.AMZN.WEB-DL.DDP5.1.H.264-KiNGS-thumb.jpg/",
              "tvshow.banner": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/banner.jpg/",
              "tvshow.fanart": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/fanart.jpg/",
              "tvshow.poster": "image://nfs://192.168.14.32/storage/media/tv/Z Nation/poster.jpg/"
            },
            "episodeid": 42,
            "file": "nfs://192.168.14.32/storage/media/tv/Z Nation/Z.Nation.S04E02.Escape.from.Zona.1080p.AMZN.WEB-DL.DDP5.1.H.264-KiNGS.mkv",
            "label": "4x02. Escape from Zona",
            "playcount": 0,
            "resume": {
              "position": 1807.0,
              "total": 2559.0
            },
            "runtime": 2559,
            "streamdetails": {
              "audio": [
                {
                  "channels": 6,
                  "codec": "eac3",
                  "language": "eng"
                }
              ],
              "subtitle": [
                {
                  "language": "eng"
                }
              ],
              "video": [
                {
                  "aspect": 1.7777800559997559,
                  "codec": "h264",
                  "duration": 2559,
                  "height": 1080,
                  "language": "",
                  "stereomode": "",
                  "width": 1920
                }
              ]
            }
          }
        ],
        "label": "Season 4",
        "season": 4,
        "seasonid": 418
      }
    ],
    "title": "Z Nation",
    "tvshowid": 75
  }
]

What sub-forum do you recommend I create a thread on this for a DEV to look into?
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by pyrodex - 2017-10-11, 02:24
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24