add-ons / plugin.video.vrt.nu

Kodi add-on to watch content from VRT MAX
https://www.facebook.com/groups/kodivlaanderen
GNU General Public License v3.0
110 stars 20 forks source link

Categories are empty #1061

Closed davidbe closed 1 year ago

davidbe commented 1 year ago

Describe the bug

When entering one of the categories in the menu, the result is always the same: an empty list.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Categories
  2. Go to any category, e.g. Series
  3. I see only "..."

Additional context

Live tv is possible. I cleared the cache before running a test with the logs below.

What can I do the investigate this more?

Log

Log files are not that clear. There is no ERROR message in log.

2022-10-09 19:21:34.178 T:1519162240  NOTICE: [plugin.video.vrt.nu] URL get: https://www.vrt.be/vrtmax/categorieen/jcr:content/par/categories.model.json
2022-10-09 19:21:34.570 T:1519162240  NOTICE: [plugin.video.vrt.nu] Write cache '/storage/.kodi/userdata/addon_data/plugin.video.vrt.nu/cache/categories.json'.
2022-10-09 19:21:45.261 T:1519162240  NOTICE: [plugin.video.vrt.nu] Access: plugin://plugin.video.vrt.nu/categories/docu
2022-10-09 19:21:45.265 T:1519162240  NOTICE: [plugin.video.vrt.nu] Got item from cache '/storage/.kodi/userdata/addon_data/plugin.video.vrt.nu/cache/favorites.json'
2022-10-09 19:21:45.268 T:1519162240  NOTICE: [plugin.video.vrt.nu] Cache '/storage/.kodi/userdata/addon_data/plugin.video.vrt.nu/cache/favorites.json' has not changed, updating mtime only.
2022-10-09 19:21:45.297 T:1519162240  NOTICE: [plugin.video.vrt.nu] Got item from cache '/storage/.kodi/userdata/addon_data/plugin.video.vrt.nu/cache/resume_points.json'
2022-10-09 19:21:45.300 T:1519162240  NOTICE: [plugin.video.vrt.nu] Got item from cache '/storage/.kodi/userdata/addon_data/plugin.video.vrt.nu/cache/continue.json'
2022-10-09 19:21:45.302 T:1519162240  NOTICE: [plugin.video.vrt.nu] Write cache '/storage/.kodi/userdata/addon_data/plugin.video.vrt.nu/cache/continue.json'.
2022-10-09 19:21:45.308 T:1519162240  NOTICE: [plugin.video.vrt.nu] Got item from cache '/storage/.kodi/userdata/addon_data/plugin.video.vrt.nu/tokens/vrtnusite_profile_at.tkn'
2022-10-09 19:21:45.311 T:1519162240  NOTICE: [plugin.video.vrt.nu] URL post: https://www.vrt.be/vrtnu-api/graphql/v1
2022-10-09 19:21:45.312 T:1519162240  NOTICE: [plugin.video.vrt.nu] URL post data: {"query": "\n            query PaginatedPrograms(\n              $listId: ID!\n              $endCursor: ID!\n              $pageSize: Int!\n            ) {\n              list(listId: $listId) {\n                __typename\n                ... on PaginatedTileList {\n                  paginated: paginatedItems(first: $pageSize, after: $endCursor) {\n                    edges {\n                      node {\n                        __typename\n                        ...ep\n                      }\n                    }\n                    pageInfo {\n                      startCursor\n                      endCursor\n                      hasNextPage\n                      hasPreviousPage\n                      __typename\n                    }\n                  }\n                }\n              }\n            }\n            fragment ep on ProgramTile {\n              __typename\n              objectId\n              id\n              link\n              tileType\n              image {\n                alt\n                templateUrl\n              }\n              title\n              program {\n                title\n                id\n                link\n                programType\n                description\n                shortDescription\n                subtitle\n                announcementType\n                announcementValue\n                whatsonId\n                image {\n                  alt\n                  templateUrl\n                }\n                posterImage {\n                  alt\n                  templateUrl\n                }\n              }\n            }\n        ", "variables": {"listId": "uisearch:searchdata@eyJyZXN1bHRUeXBlIjogIndhdGNoIiwgImZhY2V0cyI6IFt7InZhbHVlcyI6IFsiZG9jdSJdLCAibmFtZSI6ICJjYXRlZ29yaWVzIn1dLCAicXVlcnlTdHJpbmciOiBudWxsfQ==", "endCursor": "", "pageSize": 50}, "operationName": "PaginatedPrograms"}
mediaminister commented 1 year ago

I can't reproduce this problem. I installed LibreELEC 9.2.6 in a virtual machine, but everything works.

Maybe you can provide a full debug log:

More info: https://kodi.wiki/view/Log_file/Easy

davidbe commented 1 year ago

I had other SBC lying around and just put Kodi on it and it finds entries without issues. I guess maybe image got a bit crazy.

I'm sorry bothering you with it.

blowk commented 1 year ago

From yesterday the categories are empty again. Maybe VRT changed the endpoints again?

mediaminister commented 1 year ago

Yes, VRT changed the categories variable: fixed in https://github.com/add-ons/plugin.video.vrt.nu/commit/56a1c5beaa4c4727852ba9fdee3d75e068333018 Test packages: Kodi 19 Matrix: plugin.video.vrt.nu-2.5.18+matrix.1-master-bcb4382.zip Kodi 18 Leia: plugin.video.vrt.nu-2.5.18-master-bcb4382.zip

blowk commented 1 year ago

@mediaminister : Thanks for the quick fix. The categories are working again.

The channels are also broken and only shows the live feed link. Maybe the changed the endpoint from this as well?

mediaminister commented 1 year ago

I fixed the channels menu. Test packages: Kodi 19 Matrix: plugin.video.vrt.nu-2.5.18+matrix.1-master-cdba144.zip Kodi 18 Leia: plugin.video.vrt.nu-2.5.18-master-cdba144.zip