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

fatal error: 404 #1051

Closed K-Ray closed 1 year ago

K-Ray commented 1 year ago

https://search7.vrt.be/ gives a 404 error and I can't find or play any video anymore since today. anything I can patch?

Log (if available)

2022-10-05 19:52:31.057 T:4353 FATAL : [plugin.video.vrt.nu] HTTP Error 404: Not Found 2022-10-05 19:52:31.535 T:4353 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

mediaminister commented 1 year ago

VRT removed the search API today. This means most menus stopped working. I'm working on a fix. Work in progress! I have already fixed the 'Most recent' and 'Favorite programs' menu. The TV guide menu and Live TV menu should work. You can test this: Kodi 19 Matrix: plugin.video.vrt.nu-2.5.17+matrix.1-menufix-6bad201.zip Kodi 18 Leia: plugin.video.vrt.nu-2.5.17-menufix-6bad201.zip

blowk commented 1 year ago

Thanks for the quick fix. Just tested it out and TV guide is working.

K-Ray commented 1 year ago

Thanks for the fix! Just what I needed :)

mediaminister commented 1 year ago

I fixed the categories menu. Test packages: Kodi 19 Matrix: plugin.video.vrt.nu-2.5.17+matrix.1-menufix-a774819.zip Kodi 18 Leia: plugin.video.vrt.nu-2.5.17-menufix-a774819.zip

david63236 commented 1 year ago

I tested a774819, still some https://search7.vrt.be/ problems present. Example: "Hotel Romantiek: de kijk van de kroost" (should be in "Uitgelicht aanbod - Exclusief online")

Temporary fix used : Added it to my favorites using the VRT Max website (favorites work in a774819)

mediaminister commented 1 year ago

Is "Hotel Romantiek: de kijk van de kroost" in one of the featured lists on the VRT MAX homepage?

I already fixed the featured menu. Test packages: Kodi 19 Matrix: plugin.video.vrt.nu-2.5.17+matrix.1-featured-d0e32f3.zip Kodi 18 Leia: plugin.video.vrt.nu-2.5.17-featured-d0e32f3.zip

david63236 commented 1 year ago

On VRT Max website homepage, it appears in "Nieuw toegevoegd" and the resulting URL is https://www.vrt.be/vrtnu/a-z/hotel-romantiek--de-kijk-van-de-kroost/ and has the "Human Interest" label, it is also available from the "Alle programma's" link on the homepage (categorie "Human Interest")

So I tested d0e32f3 and checked the Human Interest categorie, but this categorie gives an error : ...\Kodi 19-3 Matrix\portable_data\addons\plugin.video.vrt.nu\resources\lib\addon_entry.py", line 14 ...\Kodi 19-3 Matrix\portable_data\addons\plugin.video.vrt.nu\resources\lib\addon.py", line 337 ...\Kodi 19-3 Matrix\portable_data\addons\script.module.routing\lib\routing.py", line 130 ...\Kodi 19-3 Matrix\portable_data\addons\script.module.routing\lib\routing.py", line 141 ...\Kodi 19-3 Matrix\portable_data\addons\plugin.video.vrt.nu\resources\lib\addon.py", line 157 ...\Kodi 19-3 Matrix\portable_data\addons\plugin.video.vrt.nu\resources\lib\vrtplayer.py", line 208 ...\Kodi 19-3 Matrix\portable_data\addons\plugin.video.vrt.nu\resources\lib\api.py", line 632 ...\Kodi 19-3 Matrix\portable_data\addons\plugin.video.vrt.nu\resources\lib\api.py", line 433, in convert_programs fanart = program.get('program').get('posterImage').get('templateUrl') AttributeError: 'NoneType' object has no attribute 'get' After that i checked the "Alle programma's" item of d0e32f3, but this isn't working, it keeps searching, so I stopped it after 5 minutes

mediaminister commented 1 year ago

Yes, "Alle programma's" and "Zoeken" is still broken.

ghen2 commented 1 year ago

Latest test packages are working for me, thanks @mediaminister!

mediaminister commented 1 year ago

More fixes, search menu is working. Test packages: Kodi 19 Matrix: plugin.video.vrt.nu-2.5.17+matrix.1-search-c996557.zip Kodi 18 Leia: plugin.video.vrt.nu-2.5.17-search-c996557.zip

bart-fs1 commented 1 year ago

hier ook :-)

mediaminister commented 1 year ago

@bart-fs1 Make sure you have the latest test package. If you get an error, please post the relevant section of your Kodi log.

"All programs" menu is still broken, I didn't find an API method yet to get the complete program list. You can use "Categories" menu instead or the "Search" menu if you know the name of the program. I fixed "Soon offline" menu. Test packages: Kodi 19 Matrix: plugin.video.vrt.nu-2.5.17+matrix.1-offline-9ff172f.zip Kodi 18 Leia: plugin.video.vrt.nu-2.5.17-offline-9ff172f.zip

david63236 commented 1 year ago

9ff172f tested: I confirm that "Binnenkort offline", "Zoeken" and "Categorieen" (all categories) are working.

Concerning "All programs", maybe it is possible with

mediaminister commented 1 year ago

No solution for the "All programs" menu yet. Other menus are fixed in the new v2.5.18 release: https://github.com/add-ons/plugin.video.vrt.nu/releases/tag/v2.5.18 I'll close this, please open a new issue when you encounter an error with version v2.5.18