PiRSquared17 / xot-uzg

Automatically exported from code.google.com/p/xot-uzg
0 stars 0 forks source link

beta.uitzendinggemist.nl doesn't work since 4-apr-2011 #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Did you search "All Issues" and not just the "Open Issues" to see if your
problems was already solved or discussed before?
Yes

What channel are you trying to watch?
Any

What episode are you trying to watch?
Any

What is the expected output? What do you see instead?

What steps will reproduce the problem?
Try to watch any show from the beta.uitzendinggemist.nl channel.

I noticed that the video URLs (example: 
http://beta.uitzendinggemist.nl/video_streams/TROS_1272506?quality=std) now 
result in a HTTP 400 error. This used to work before, and this appears to be 
the type of URL that the UZG script fetches to get the video. It looks like 
something changed at the beta.uitzendinggemist.nl site... Is this easy to fix?

What version of XBMC are you using? On what operating system?
iOS (Apple TV2)

Original issue reported on code.google.com by awsh...@gmail.com on 5 Apr 2011 at 5:20

GoogleCodeExporter commented 9 years ago
Checked here and it all works find. Could you please give me an example of what 
you tried to watch and a uzg.log (or uzgplugin.log).

Original comment by basrie...@gmail.com on 5 Apr 2011 at 5:36

GoogleCodeExporter commented 9 years ago
OK... Trying to watch 'Pauw en Witteman, 4 april 2011, 23:00. I get an error 
saying that an item failed to play.

Looks like the plugin points XBMC to 
http://beta.uitzendinggemist.nl/video_streams/VARA_101249806?quality=std , but 
there's no data there... When I try that URL manually (from a web browser), I 
don't get video either.

Logfiles are attached.

Original comment by awsh...@gmail.com on 5 Apr 2011 at 7:10

Attachments:

GoogleCodeExporter commented 9 years ago
If the website does not give you video, XOT won't either. Is that the only one 
that did not play?

Just tried here, and the Pauw & Witteman plays fine on Windows, which means XOT 
is not doing anything wrong. 

Original comment by basrie...@gmail.com on 5 Apr 2011 at 9:25

GoogleCodeExporter commented 9 years ago
No, none of the beta.uitzendinggemist.nl content seems to play.

Are you saying that you can open the above URL from a webbrowser/mediaplayer on 
Windows (i.e. outside XBMC), and get video? If so, then that is strange: I've 
tried it from a couple of machines at different geographical locations in The 
Netherlands, and all give me an error.

I understand that if the website doesn't give video, XOT can't play it. 
However, since all was good before yesterday (monday), I was wondering whether 
the NOS folks had made any changes on their end.

Original comment by awsh...@gmail.com on 5 Apr 2011 at 9:34

GoogleCodeExporter commented 9 years ago
The URL seems to be wrong: if I go to the episode using XOT it gives me: 

20110406 21:14:11 - DEBUG    - mediaitem.py         - 226 - Creating 
MediaListItem 'ma 04 apr 2011, 23:00 (04 Apr 2011)' for 
'mms://wm-ondemand06b.omroep.nl/public/ug-od/wm/2/media/wm2c6/ceres/1/vara/rest/
2011/VARA_101249806/bb.20110404.asf?wmt=4d9cbb8a&wmhash=227b3c93'
20110406 21:14:11 - DEBUG    - mmshelper.py         - 50  - Parsing 
http://odi.omroep.nl/video/embedplayer/wvc1_std/e344c4e4de6437b01b118ad085f83654
/4d9cbb89/VARA_101249806/?type=asx to find MMS
20110406 21:14:11 - INFO     - uriopener.py         - 180 - Opening requested 
uri Async: 
http://odi.omroep.nl/video/embedplayer/wvc1_std/e344c4e4de6437b01b118ad085f83654
/4d9cbb89/VARA_101249806/?type=asx (already 1 threads)
20110406 21:14:11 - INFO     - uriopener.py         - 451 - Determining which 
Progessbar to use....
20110406 21:14:11 - INFO     - uriopener.py         - 456 - FileSize is known 
(fileSize=207)
20110406 21:14:11 - INFO     - uriopener.py         - 227 - Url 
http://odi.omroep.nl/video/embedplayer/wvc1_std/e344c4e4de6437b01b118ad085f83654
/4d9cbb89/VARA_101249806/?type=asx was opened successfully
20110406 21:14:11 - DEBUG    - mediaitem.py         - 226 - Creating 
MediaListItem 'ma 04 apr 2011, 23:00 (04 Apr 2011)' for 
'mms://wm-ondemand13b.omroep.nl/public/ug-od/wm/2/media/wm2c13/ceres/1/vara/rest
/2011/VARA_101249806/std.20110404.wmv?wmt=4d9cbb8a&wmhash=3bc7dbd3'
20110406 21:14:11 - DEBUG    - chn_class.py         - 609 - Going to cache 
http://u.omroep.nl/n/a/2006-09/380x285_Pauw-%26-Witteman.png
20110406 21:14:11 - DEBUG    - chn_class.py         - 617 - Caching 
url=http://u.omroep.nl/n/a/2006-09/380x285_Pauw-%26-Witteman.png
20110406 21:14:11 - DEBUG    - plugin.py            - 292 - Updated MediaItem: 
ma 04 apr 2011, 23:00 (04 Apr 2011) [video (Complete = True, 
IsMultiBitrate=True): 
mms://fox.omroep.nl/public/ug-od/media1/00/ceres/1/vara/rest/2011/VARA_101249806
/sb.20110404.asf?wmt=4d9cbb89&wmhash=1471317d 
(bitrate=200),mms://wm-ondemand06b.omroep.nl/public/ug-od/wm/2/media/wm2c6/ceres
/1/vara/rest/2011/VARA_101249806/bb.20110404.asf?wmt=4d9cbb8a&wmhash=227b3c93 
(bitrate=400),mms://wm-ondemand13b.omroep.nl/public/ug-od/wm/2/media/wm2c13/cere
s/1/vara/rest/2011/VARA_101249806/std.20110404.wmv?wmt=4d9cbb8a&wmhash=3bc7dbd3 
(bitrate=900),]
20110406 21:14:11 - DEBUG    - mediaitem.py         - 243 - Creating XBMC 
ListItem 'ma 04 apr 2011, 23:00 (04 Apr 2011)'
20110406 21:14:11 - DEBUG    - plugin.py            - 306 - Adding item #1 
(Play Item: ma 04 apr 2011, 23:00 (04 Apr 2011) (1, 200 kbps)) with url ma 04 
apr 2011, 23:00 (04 Apr 2011) 
(mms://fox.omroep.nl/public/ug-od/media1/00/ceres/1/vara/rest/2011/VARA_10124980
6/sb.20110404.asf?wmt=4d9cbb89&wmhash=1471317d, bitrate=200)
20110406 21:14:11 - DEBUG    - mediaitem.py         - 243 - Creating XBMC 
ListItem 'ma 04 apr 2011, 23:00 (04 Apr 2011)'
20110406 21:14:11 - DEBUG    - plugin.py            - 306 - Adding item #2 
(Play Item: ma 04 apr 2011, 23:00 (04 Apr 2011) (2, 400 kbps)) with url ma 04 
apr 2011, 23:00 (04 Apr 2011) 
(mms://wm-ondemand06b.omroep.nl/public/ug-od/wm/2/media/wm2c6/ceres/1/vara/rest/
2011/VARA_101249806/bb.20110404.asf?wmt=4d9cbb8a&wmhash=227b3c93, bitrate=400)
20110406 21:14:11 - DEBUG    - mediaitem.py         - 243 - Creating XBMC 
ListItem 'ma 04 apr 2011, 23:00 (04 Apr 2011)'
20110406 21:14:11 - DEBUG    - plugin.py            - 306 - Adding item #3 
(Play Item: ma 04 apr 2011, 23:00 (04 Apr 2011) (3, 900 kbps)) with url ma 04 
apr 2011, 23:00 (04 Apr 2011) 
(mms://wm-ondemand13b.omroep.nl/public/ug-od/wm/2/media/wm2c13/ceres/1/vara/rest
/2011/VARA_101249806/std.20110404.wmv?wmt=4d9cbb8a&wmhash=3bc7dbd3, bitrate=900)

So perhaps it was wrong on their site? Could you try again?

Original comment by basrie...@gmail.com on 6 Apr 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Bas,

I'm using XBMC on an ATV2, so the MMS streams don't work for me.

That is the reason that I'm relying on the beta.uitzendinggemist.nl site, which 
(at least until last monday) was providing H264/MP4 streams which played fine 
on the ATV2.

I just tried it again, using yesterday's Pauw&Witteman (i.e. "di 05 apr 2011, 
23:05" - http://beta.uitzendinggemist.nl/afleveringen/1091899). Still not 
getting any video... Logfiles are attached.

Original comment by awsh...@gmail.com on 6 Apr 2011 at 10:26

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, please try it using the XOT script version (under programs instead of 
video). It has more logging. I don't need the xbmc.log.

Original comment by basrie...@gmail.com on 7 Apr 2011 at 1:29

GoogleCodeExporter commented 9 years ago
OK... See attached. I tried playing the 'Pauw en Witteman' episode from last 
friday (8-apr) using the XOT script version.

I'm still under the impression that the Beta.uitzendinggemist.nl site changed 
something, which means that video URL's that UZG requests (i.e., the 
http://beta.uitzendinggemist.nl/video_streams/... url's) no longer work. Am I 
wrong?

Original comment by awsh...@gmail.com on 10 Apr 2011 at 4:26

Attachments:

GoogleCodeExporter commented 9 years ago
Well, what I just did was:

- delete XOT from my XBMC
- clear the /packages/ folder in the user addon folder of XBMC
- redownloaded XOT from my own website (or from repository)
- Install XOT
- Run XOT (essential)
- Install the NOS channel update that is available in the repository
- Run XOT and I could play without any issues. 

So could you please do the same? The site did not change, so  could you try 
re-installing XOT from scratch?

Original comment by basrie...@gmail.com on 10 Apr 2011 at 6:13

GoogleCodeExporter commented 9 years ago
Before I do that, could you please confirm that you are talking about the 
H264-videos on the beta.uitzendinggemist.nl channel? Note that the log you 
posted earlier points only to mms:// links (i.e., not H264), which don't work 
on an Apple TV2 (which is what I'm using).

Also, you can see the URL's that XOT is retrieving from the last log I posted 
(for example: 
http://beta.uitzendinggemist.nl/video_streams/VARA_101249798?quality=std ). Can 
you confirm that that is a valid URL that works for you? It doesn't for me...

Original comment by awsh...@gmail.com on 10 Apr 2011 at 7:43

GoogleCodeExporter commented 9 years ago
Ok, apparently the MOV url changed. As I don't have an ATV, I cannot find out 
the new URL's.

Is there by any chance a tool that you could use to monitor the network data on 
your ATV and find an URL? A fiddler tool for ATV?

Original comment by basrie...@gmail.com on 10 Apr 2011 at 8:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Dear Bas,

I am having some troubles with uitzending gemist on my new ATV 2. As I have 
only owned it for a few days now, I haven't got it working yet. Can this be 
because of the changing of the Mov url's? You mentioned that you don't own a 
ATV 2. Can I assist you with sending you some data in any way?

Thank you

Original comment by bobby...@gmail.com on 11 Apr 2011 at 8:11

GoogleCodeExporter commented 9 years ago
The problem is that they encoded the urls in some way. It's hard to figure it 
out, because there is no clientside code to analyse (with Silverlight that is 
just easy). 

Is there by any chance a tool like Fiddler or Wireshark for ATV that allows you 
to save a number of HTTP requests? That way you could send me the HTTP data 
that was received and send while browsing beta.uitzendinggemist.nl and I can 
perhaps use that?

Original comment by basrie...@gmail.com on 11 Apr 2011 at 8:32

GoogleCodeExporter commented 9 years ago
I doubt that monitoring ATV2 traffic would help, since there's no "normal" way 
in which the ATV2 can play the uitzendinggemist content.

I'll try and see if I can do some analysis another way.

Original comment by awsh...@gmail.com on 12 Apr 2011 at 2:21

GoogleCodeExporter commented 9 years ago
There is no chance that MMS works in ATV? That would make stuff easier. To 
check edit the chn_nos2010.py file and change this line (somewhere near 273):

isApple = self.environmentController.IsPlatform("os x")

into 

isApple = False# #self.environmentController.IsPlatform("os x")

and then try again.

Original comment by basrie...@gmail.com on 12 Apr 2011 at 7:30

GoogleCodeExporter commented 9 years ago
Dear Bas,
Same issue here. since a couple of days beta.uitzendinggemist.nl isn't working 
on the ATV2.
I compared 2 logfiles, one from xbmc for OSX and one for iOS.
I pasted the differences below:
Log from OSX:
20110412 20:25:27 - DEBUG    - xmlhelper.py         - 34  - XmlRegex = 
<station[^>]*>([^<]+)</station>
20110412 20:25:27 - DEBUG    - chn_nos2010.py       - 256 - Icon for station 
nederland_3_zpp = /Users/JWBdata/Library/Application 
Support/XBMC/addons/net.rieter.xot.channel.nos/nos2010/3icon.png
20110412 20:25:27 - DEBUG    - mmshelper.py         - 50  - Parsing 
http://odi.omroep.nl/video/embedplayer/wmv_sb/70f1fee93250510d51b3175059432648/4
da49917/VARA_101251049/?type=asx to find MMS
20110412 20:25:27 - INFO     - uriopener.py         - 173 - Opening requested 
uri Async: 
http://odi.omroep.nl/video/embedplayer/wmv_sb/70f1fee93250510d51b3175059432648/4
da49917/VARA_101251049/?type=asx (already 1 threads)
20110412 20:25:28 - INFO     - uriopener.py         - 444 - Determining which 
Progessbar to use....
20110412 20:25:28 - INFO     - uriopener.py         - 449 - FileSize is known 
(fileSize=216)
20110412 20:25:28 - INFO     - uriopener.py         - 220 - Url 
http://odi.omroep.nl/video/embedplayer/wmv_sb/70f1fee93250510d51b3175059432648/4
da49917/VARA_101251049/?type=asx was opened successfully
20110412 20:25:28 - DEBUG    - mediaitem.py         - 176 - Creating 
MediaListItem 'ma 11 apr 2011, 23:40 (11 Apr 2011)' for 
'mms://wm-ondemand06a.omroep.nl/public/ug-od/wm/2/media/wm2c6/ceres/1/vara/serie
/VARA_101250970/VARA_101251049/sb.20110411.asf?wmt=4da49918&wmhash=734f3c93'
20110412 20:25:28 - DEBUG    - mmshelper.py         - 50  - Parsing 
http://odi.omroep.nl/video/embedplayer/wmv_bb/d89f401450e9bbb17cf522351b6a7767/4
da49917/VARA_101251049/?type=asx to find MMS
20110412 20:25:28 - INFO     - uriopener.py         - 173 - Opening requested 
uri Async: 
http://odi.omroep.nl/video/embedplayer/wmv_bb/d89f401450e9bbb17cf522351b6a7767/4
da49917/VARA_101251049/?type=asx (already 1 threads)
20110412 20:25:28 - INFO     - uriopener.py         - 444 - Determining which 
Progessbar to use....
20110412 20:25:28 - INFO     - uriopener.py         - 449 - FileSize is known 
(fileSize=216)
20110412 20:25:28 - INFO     - uriopener.py         - 220 - Url 
http://odi.omroep.nl/video/embedplayer/wmv_bb/d89f401450e9bbb17cf522351b6a7767/4
da49917/VARA_101251049/?type=asx was opened successfully
20110412 20:25:28 - DEBUG    - mediaitem.py         - 176 - Creating 
MediaListItem 'ma 11 apr 2011, 23:40 (11 Apr 2011)' for 
'mms://wm-ondemand01b.omroep.nl/public/ug-od/wm/3/media/wm3c1/ceres/1/vara/serie
/VARA_101250970/VARA_101251049/bb.20110411.asf?wmt=4da49918&wmhash=4b5dc89a'
20110412 20:25:28 - DEBUG    - mmshelper.py         - 50  - Parsing 
http://odi.omroep.nl/video/embedplayer/wvc1_std/99521aa357788711e8192697249509b1
/4da49917/VARA_101251049/?type=asx to find MMS
20110412 20:25:28 - INFO     - uriopener.py         - 173 - Opening requested 
uri Async: 
http://odi.omroep.nl/video/embedplayer/wvc1_std/99521aa357788711e8192697249509b1
/4da49917/VARA_101251049/?type=asx (already 1 threads)
20110412 20:25:28 - INFO     - uriopener.py         - 444 - Determining which 
Progessbar to use....
20110412 20:25:28 - INFO     - uriopener.py         - 449 - FileSize is known 
(fileSize=217)
20110412 20:25:28 - INFO     - uriopener.py         - 220 - Url 
http://odi.omroep.nl/video/embedplayer/wvc1_std/99521aa357788711e8192697249509b1
/4da49917/VARA_101251049/?type=asx was opened successfully
20110412 20:25:28 - DEBUG    - mediaitem.py         - 176 - Creating 
MediaListItem 'ma 11 apr 2011, 23:40 (11 Apr 2011)' for 
'mms://wm-ondemand12a.omroep.nl/public/ug-od/wm/3/media/wm3c2/ceres/1/vara/serie
/VARA_101250970/VARA_101251049/std.20110411.wmv?wmt=4da49918&wmhash=59551e4a'
20110412 20:25:28 - DEBUG    - xmlhelper.py         - 34  - XmlRegex = 
<image[^>]*size\W*=\W*"380x285"[^>]*ratio\W*=\W*"4:3"[^>]*>([^<]+)</image>

Log from iOS:
20110412 19:58:15 - DEBUG    - xmlhelper.py         - 34  - XmlRegex = 
<station[^>]*>([^<]+)</station>
20110412 19:58:15 - DEBUG    - chn_nos2010.py       - 258 - Icon for station 
nederland_3_zpp = 
/private/var/mobile/Library/Preferences/XBMC/addons/net.rieter.xot.channel.nos/n
os2010/3icon.png
20110412 19:58:15 - DEBUG    - mediaitem.py         - 176 - Creating 
MediaListItem 'za 19 mrt 2011, 01:40 (19 Mar 2011)' for 
'http://beta.uitzendinggemist.nl/video_streams/VARA_101251089?quality=sb'
20110412 19:58:15 - DEBUG    - mediaitem.py         - 176 - Creating 
MediaListItem 'za 19 mrt 2011, 01:40 (19 Mar 2011)' for 
'http://beta.uitzendinggemist.nl/video_streams/VARA_101251089?quality=bb'
20110412 19:58:15 - DEBUG    - mediaitem.py         - 176 - Creating 
MediaListItem 'za 19 mrt 2011, 01:40 (19 Mar 2011)' for 
'http://beta.uitzendinggemist.nl/video_streams/VARA_101251089?quality=std'
20110412 19:58:15 - DEBUG    - xmlhelper.py         - 34  - XmlRegex = 
<image[^>]*size\W*=\W*"380x285"[^>]*ratio\W*=\W*"4:3"[^>]*>([^<]+)</image>

It looks like the beta.uitzendinggemist.nl on OSX is using wmv (which is not 
supported on the ATV2) [Parsing 
http://odi.omroep.nl/video/embedplayer/wmv_sb/70f1fee93250510d51b3175059432648/4
da49917/VARA_101251049/?type=asx to find MMS]. Yet the iOS version isn't 
parsing anything....

Hope this helps.

JW

Original comment by jwbaalbe...@gmail.com on 12 Apr 2011 at 7:01

GoogleCodeExporter commented 9 years ago
Well, I only use XBMC to detect what OS is running, it does not distinguish 
between IOS and OSX. So I think I cannot help you with the distinction between 
IOS and OSX.  

But please, attach both complete uzg.log files from the IOS and OSX system 
(don't use the uzgplugin.log or truncate them) and perhaps I can figure some 
thing out. 

The IOS is not working because the NOS changed some stuff for MOV's and it's 
not straight forward to figure it out. I would be interested in a Wireshark 
capture (or similar tool for OSX or IOS) that shows what URLS are retrieved 
when playing the MOV files from the beta.uitzendinggemist.nl site. Without that 
information I cannot figure this out. 

Original comment by basrie...@gmail.com on 12 Apr 2011 at 8:15

GoogleCodeExporter commented 9 years ago
I fixed it. Thanks to some people for figuring out the algorithm. It will be in 
the next release.

Original comment by basrie...@gmail.com on 19 Apr 2011 at 6:34

GoogleCodeExporter commented 9 years ago
Excellent... thanx!!

Original comment by awsh...@gmail.com on 20 Apr 2011 at 4:37

GoogleCodeExporter commented 9 years ago
Hi,

I found out that the quicktime mov video streams are located at 
rtsp://mp4streams.omroep.nl/ceres/...

To manage to get beta.uitzendinggemist.nl working on ATV2, I changed a few 
lines in chn_nos2010.py:

---
isApple = True

urls = common.DoRegexFindAll('<stream compressie_formaat="(mov)" 
compressie_kwaliteit="(sb|bb|std)">\W+<serviceurl>[^>]+</serviceurl>\W+<streamur
l>\W+/ceresflash/h264/+(1/[^m]+.m4v)', streamData)

realUrl = "rtsp://mp4streams.omroep.nl/ceres/%s" % url[2]
---

For the "urls =" part I presume there is no 'm' in the line before "m4v" (not 
the best method but it's working for now).
Unfortunately, most of the time the XBMC on ATV2 crashes before the stream has 
finished, and it's guaranteed to crash at the end.

Original comment by wouterba...@gmail.com on 7 May 2011 at 5:41

GoogleCodeExporter commented 9 years ago
Thanks for the info. Not all streams are working for me with these URLs, but I 
will look into it a bit more.

Original comment by basrie...@gmail.com on 7 May 2011 at 8:32

GoogleCodeExporter commented 9 years ago
After trying to get the reason of the XBMC crashes (official XBMC release), I 
found out that using an unofficial nightly XBMC build (e.g. 7 May version) 
solved many issues. The ATV2 even plays other streams now! It's not crash-free, 
but it works. So I can use more programs of the xot-uzg addon now :-)

Original comment by wouterba...@gmail.com on 10 May 2011 at 4:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Changed status to Done

Original comment by basrie...@gmail.com on 24 Jun 2012 at 11:43