bosel / plugin.video.nederland24

Kodi Addon Nederland24
GNU General Public License v3.0
7 stars 14 forks source link

NPO live stream stopped working #38

Open EvyBongers opened 5 years ago

EvyBongers commented 5 years ago

Since a couple of days, the NPO [1,2,3] live streams no longer work. Possibly related to #33.

In the logs I found this exception:

18:54:07.424 T:1736041376   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--                                                                                                                                          
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!                                                                                                                                                                                    
                                            Error Type: <class 'urllib2.HTTPError'>                                                                                                                                                                                             
                                            Error Contents: HTTP Error 404: Not Found                                                                                                                                                                                           
                                            Traceback (most recent call last):                                                                                                                                                                                                  
                                              File "/storage/.kodi/addons/plugin.video.nederland24/nederland24.py", line 241, in <module>                                                                                                                                       
                                                playVideo(url)                                                                                                                                                                                                                  
                                              File "/storage/.kodi/addons/plugin.video.nederland24/nederland24.py", line 208, in playVideo                                                                                                                                      
                                                response = urllib2.urlopen(req)                                                                                                                                                                                                 
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen                                                                                                                                                                        
                                              File "/usr/lib/python2.7/urllib2.py", line 435, in open                                                                                                                                                                           
                                              File "/usr/lib/python2.7/urllib2.py", line 548, in http_response                                                                                                                                                                  
                                              File "/usr/lib/python2.7/urllib2.py", line 473, in error                                                                                                                                                                          
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain                                                                                                                                                                    
                                              File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default                                                                                                                                                             
                                            HTTPError: HTTP Error 404: Not Found                                                                                                                                                                                                
                                            -->End of Python script error report<--                                                                                                                                                                                             
18:54:07.566 T:1947332624   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.nederland24/?url=LI_NL2_824153&mode=playVideo]                                                                                                                     

So far I fail to come up with an explanation on why it fails. If you can give any hints to help me debug this issue, please let me know!

I run the plugin on OpenELEC on a raspberry pi.

sphaero commented 5 years ago

Since this morning the streams don't play here either. Although a different error is shown. So not sure if it is the same issue.

2019-03-30 06:48:55.245 T:1911837280   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.nederland24/?url=LI_NL2_4188105&mode=playVideo]
2019-03-30 06:49:02.524 T:1510994672   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.HTTPError'>
                                            Error Contents: HTTP Error 500: Internal Server Error
                                            Traceback (most recent call last):
                                              File "/home/xbian/.kodi/addons/plugin.video.nederland24/nederland24.py", line 241, in <module>
                                                playVideo(url)
                                              File "/home/xbian/.kodi/addons/plugin.video.nederland24/nederland24.py", line 197, in playVideo
                                                response = urllib2.urlopen(req)
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
                                                return opener.open(url, data, timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 435, in open
                                                response = meth(req, response)
                                              File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "/usr/lib/python2.7/urllib2.py", line 473, in error
                                                return self._call_chain(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
                                                raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
                                            HTTPError: HTTP Error 500: Internal Server Error
                                            -->End of Python script error report<--
ArthurBorsboom commented 5 years ago

I also noticed the "HTTP Error 500: Internal Server Error" in the kodi.log

Xorky commented 5 years ago

Same here...

RPI + LibreELEC

sciurius commented 5 years ago

It may be the case that NPO abandoned livestreams and switched to DRM only content.

ArthurBorsboom commented 5 years ago

Although not sure, I have the feeling the developer of the Uitzending Gemist plugin has implemented DRM capabilities for the same reason.

https://github.com/Opvolger/plugin.video.uzg

See the readme and change log

bosel commented 5 years ago

Thanks for reporting. I'll see if I can get the streams going again, hopefully soonish

Xorky commented 5 years ago

... and the NPO-Start livestreams within the Retrospect addon also functions...

https://github.com/dvdmunckhof/kodi-retrospect

ArthurBorsboom commented 5 years ago

Just to confirm, the plugin [Uitzending gemist (NPO)] works, even without VPN.

sattekop commented 5 years ago

Thanks for reporting. I'll see if I can get the streams going again, hopefully soonish

I hope you find the time and answer to repair.

Ghostbird commented 5 years ago

~Does the live stream functionality still exist? The URIs contained within the plugin yield 404 (Not Found) and 410 (Gone) results.~

The live-streams can be watched on https://www.npostart.nl/live/ nowadays. But they won't play for me as they require DRM.

sIRwa2 commented 5 years ago

Love to see the addon being updated if possible.

ArthurBorsboom commented 5 years ago

Me too. :+1: