retrospect-addon / plugin.video.retrospect

Retrospect is a Kodi video add-on which allows you to watch streams of a number of free and publicly available online TV stream sites.
https://www.rieter.net/content/
GNU General Public License v3.0
111 stars 36 forks source link

no streams in uitzendinggemist #831

Closed basrieter closed 7 years ago

basrieter commented 7 years ago

Original report by TM55 (Bitbucket: Tm55, GitHub: Tm55).


hello, i have retrospect on a raspberry pi 3, using openelec 7.0.1

i have been using uitzendinggemist for 3 days now without a problem until now. I cannot see a single stream and get a retrospect error message. all other channels are woring fine. can you please check my log?

my standard ip adress is from belgium. i changed it to a dutch one with vpn, but same result. thank you for your help.

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Yes, I see they updated something. I will need some time to investigate

basrieter commented 7 years ago

Original comment by SyboltE (Bitbucket: SyboltE, ).


The other npo add-on has the same issues. hope you are able to fix this

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Due to time constraints, I only did a quick fix. For now, only the main videos work. No live streams yet.

It seems as if they have completely rewritten the streaming API. So this will take some effort.

Please let me know if this works.

basrieter commented 7 years ago

Original comment by SyboltE (Bitbucket: SyboltE, ).


Yes! This works. thank you for the quick fix

basrieter commented 7 years ago

Original comment by TM55 (Bitbucket: Tm55, GitHub: Tm55).


Can you explain where to put this file? Is it possible to do this from a windows pc or do you need linux to see alll partitions ?

I checked but cannot find the current .py files

basrieter commented 7 years ago

Original comment by SyboltE (Bitbucket: SyboltE, ).


On windows i might be hard to see to path on your Raspberry Pi /OpenElec etc. of you just try to open these in windows explorer you won't find them a good tool for windows user wanting to work with files on linux devices is 'http://www.sftpnetdrive.com/' You can mount the whole linux files system over SHH on you windows pc.

See list of locations on http://www.rieter.net/content/xot/troubleshooting/

basrieter commented 7 years ago

Original comment by TM55 (Bitbucket: Tm55, GitHub: Tm55).


Works again! thank you.

basrieter commented 7 years ago

Original comment by arie777 (Bitbucket: arie777, ).


Dear Bas. We love your add onn. Everday we watch the npo live streams on our cubox with kodi 16.3. But since yesterday it wont work anymore.....how many time you need to fix the live streams??? Thanx at forehand

basrieter commented 7 years ago

Original comment by ToonD (Bitbucket: Toondee, GitHub: Toondee).


Hallo Bas, wij hebben hetzelfde probleem met uitzending gemist ... Dan heb ik Nog n probleem; dat ik niet de juiste kennis heb om de fix die hier besproken is te installeren. :( wat kan ik doen om het probleem te verhelpen? Alvast dank voor je hulp!

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


I think I also fixed the live streams. Who can verify this?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


@Toondee Het installeren is enkel het vervangen van het bestaande bestand. Als je daar niet uit komt, dan is het wachten op de officiele update.

basrieter commented 7 years ago

Original comment by ToonD (Bitbucket: Toondee, GitHub: Toondee).


Bedankt voor de snelle reactie Bas! Ik ga nog even proberen het op te lossen.

basrieter commented 7 years ago

Original comment by SyboltE (Bitbucket: SyboltE, ).


Yes i can confirm that npo live streams are also fixed

basrieter commented 7 years ago

Original comment by arie777 (Bitbucket: arie777, ).


Official update takes probably days?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


No, as soon as some people confirm the fix, pushing an update takes about 15 minutes and then about 0-6 hours until all users received an update notification.

basrieter commented 7 years ago

Original comment by TM55 (Bitbucket: Tm55, GitHub: Tm55).


I can confirm the fix as Well

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Great! Will try to push an update as soon as possible.

basrieter commented 7 years ago

Original comment by Bram1nat0r (Bitbucket: Bram1nat0r, GitHub: Bram1nat0r).


Live channels are working OK. Thank you !

basrieter commented 7 years ago

Original comment by arie777 (Bitbucket: arie777, ).


Stil no update is dat correct. I can manually overwrite the channel list? In windows explorer with the ip of the kodi device? Wich version number will be the latest update??

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


No update yet. Tonight. This issue will have a status Fixed or Closed then.

basrieter commented 7 years ago

Original comment by ToonD (Bitbucket: Toondee, GitHub: Toondee).


Thank you in advance Bas, really appreciated!

basrieter commented 7 years ago

Original comment by arie777 (Bitbucket: arie777, ).


Thanx.

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Fixed: NPO changed their API (Fixes #831)

(cherry picked from commit 1b6ff5ba88e860094bb62939060409a382c4951c)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Fixed: NPO live streams (See #831)

(cherry picked from commit b58d5bd994d55381eeaccd143c17700cfeb41466)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Fixed: NPO changed their API (Fixes #831)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Fixed: NPO live streams (See #831)

basrieter commented 7 years ago

Original comment by arie777 (Bitbucket: arie777, ).


How can i update manually? Just copy the py file in de addondata/net.rieter.xot ?

basrieter commented 7 years ago

Original comment by ToonD (Bitbucket: Toondee, GitHub: Toondee).


Fantastisch! Bedankt!

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


An update with most streams fixed is being pushed over the next 6 hours. See http://www.rieter.net/content/2017/03/02/net-rieter-xot-channel-npo-4-1-3-2/

A more thorough fix will be out after the weekend

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


I fixed the radio stations and cleaned up the code. Anyone that can verify this? Only thing that is not working now is logging in to the site and list your NPO favourites.

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


I now also fixed the login. Who could verify this with a mijn.npo.nl account and who can verify the live channels (TV & Radio)?

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


I have no npo account, but it looks like uitzendinggemist doesn't work anymore. This morning I was able to view an recorded show, but now recorded videos and live stream don't work anymore. Maybe they (npo) fiddled with the streams again?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Please be a bit more detailed? At least mention what show, what episode? And attach a DEBUG retrospect log.

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


Okay, I found out that some streams are working, others are not. Live streams (NPO1 - 3) are not working. A few other examples: Working: Buitenhof last Sunday Not working: Avondgasten (yesterday)

I don't know how to attach a file with this comment, so I shared the log on my cloud storage space. The location: https://share.mailbox.org/ajax/share/0f44de070da11a4ff1d8fabda11a459eb35d89c9c6930dfa/1/8/MTE5/MTE5LzExNTI

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


@segil Please use the updated chn_nos2010.py that I attached 2 days ago. With that version, I was able to play all streams you mention.

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


I replaced the chn_nos2010.py file. Now it looks like all videos are working, except for the live streams (npo1-3 and the rest), they still give an error message. The new debug log: https://share.mailbox.org/ajax/share/0da6a4730a401243dfff5dfa401248f488db21727e28a99d/1/8/MTE5/MTE5LzExNTM

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Are you inside or outside NL?

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


Inside, Breda om precies te zijn :)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Could you switch the logging to TRACE level within Retrospect and try again? Then attach the log here (use the button at the top right: "More" -> "Attach Files")

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


Hi Bas, there is the trace log of a couple of attempts to open a live stream (npo 1, 2 and 3)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Thanks! It seems that you are on a KPN network? As it is redirecting you to a KPN streaming server. Could you attach a kodi.log to see why it can't play the KPN streams?

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


Yes, my ISP is xs4all. Attached the kodi.log file. Is this the right debug log level? Edit: what I did was reboot openelec, and started the 3 live streams (npo1-3). Then I copied the log file.

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Thanks, but this is an info level log. Within Kodi, enable debug logging and component logging for ffmpeg and try again.

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


Hi Bas, thanks again for looking into this. I've enabled the debug logging and attached the new log file.

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


And here's a debug logfile when successfully playing a video from last evening (episode "Pauw and Jinek") In case you wish to compare them. What I can see is that the url is different?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


It is the KPN url that is not working. I don't know how tech-savvy you are, but could you try this: open a browser and open it's development tools (F12). Firefox/Chrome/IE have this. They all have a "network" tab that shows what urls are opened.

With the "network" tab open, could you browse to the NPO site and play a live stream? It should result with some M3u8 streams in the list that starts with https://pedgewarer28b.video.kpnstreaming.nl. From those M3u8 streams I am interested in the Request HTTP headers. They should look something like this:

Host: pedgewarer28b.video.kpnstreaming.nl
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: http://www.npo.nl/live/npo-101
Origin: http://www.npo.nl
DNT: 1
Connection: keep-alive
basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


Hi, according to FF:

#!python

GET /session/28675da8-057c-11e7-8286-1458d0420170/fqimjj/b2b/live/npo/live/npo/tvlive/npo1/npo1.isml/npo1-audio=128000-video=1400000.m3u8 HTTP/1.1
Host: pedgewarea27b.video.kpnstreaming.nl
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: http://www.npo.nl/live/npo-1
Origin: http://www.npo.nl
Connection: keep-alive
basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Please try this version. I added the referrer header. If that does not work, I have another idea.

basrieter commented 7 years ago

Original comment by segil (Bitbucket: segil, GitHub: segil).


Hi Bas, sorry, not working. Same behavior. Do you want me to upload a log of this attempt?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Ok, I synced the HTTP headers, to rule out that issue.