Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #471  
Old 03-11-2011, 03:55 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Anywho View Post
LOL! Yes! They're flipping between text and compressed... Probably watching this tread (hi guys!)
Yes, the catalog (index) is in text, but the series json file just now failed (on the GUI). I guess it's not too hard to try both uncompressed and compressed, but a PITA.
Reply With Quote
  #472  
Old 03-11-2011, 03:59 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Weird - Mr Moon titles have changed since a few days ago, and its latest show is downloading (I just luv the kids shows).

But ['The Midday Report 11-03-11'] doesn't work for me. [EDIT - OK now]

Seems they are doing a wholesale edit of show titles, at least for the kids / ABC3 stuff.

[EDIT - I think a lot is going on - the Midday Report glitch was probably a normal "show-missing, back in 5 minutes" situation]

Last edited by gxdata : 03-11-2011 at 04:14 AM. Reason: correction
Reply With Quote
  #473  
Old 03-11-2011, 04:09 AM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by gxdata View Post
Yes, the catalog (index) is in text, but the series json file just now failed (on the GUI). I guess it's not too hard to try both uncompressed and compressed, but a PITA.
I've just compiled a standalone gzipper that seems to work. It's the one from the ZLIB library (minigzip-static.exe if anyone wants to have a go at it). It compiles to about 61KB... I'm just "trimming the fat" off it at the moment - we don't need compression.
Reply With Quote
  #474  
Old 03-11-2011, 04:20 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Anywho View Post
I've just compiled a standalone gzipper that seems to work. It's the one from the ZLIB library (minigzip-static.exe if anyone wants to have a go at it). It compiles to about 61KB... I'm just "trimming the fat" off it at the moment - we don't need compression.
It should be possible (with .NET, otherwise) to work on the stream rather than save to disk, but I'm puzzled that my save of the stream is not convertible with gzip.exe, whereas if I point the online test tool (see post above) to the URL, it gets & unravels the json from [{ to }].

mce ?
Reply With Quote
  #475  
Old 03-11-2011, 04:24 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


There's a lot of house-keeping going on at iView - Lateline from 1 and 2 March have just appeared. And the RSS feeds were screwed up earlier in the day, fixed in the last 30-60 minutes.

And Anywho is right - they are switching the gzip of the catalog / index on & off - I wonder how the iView Player is managing? It's an interesting little problem to code around, from our end!
Reply With Quote
  #476  
Old 03-11-2011, 05:12 AM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by gxdata View Post
And Anywho is right - they are switching the gzip of the catalog / index on & off - I wonder how the iView Player is managing? It's an interesting little problem to code around, from our end!
Nah... Just look for the opening "[{" in the first two (non-space) characters for the json text file.

(If anyone wants the ungzip (Windows) executable, you can grab it from here )

Last edited by Anywho : 03-11-2011 at 05:15 AM. Reason: Boredom?
Reply With Quote
  #477  
Old 03-11-2011, 04:22 PM
mce mce is offline
Senior Membrane
 
Join Date: Jul 2010
Posts: 116
mce is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Just saw this thread.

Yep iVN fails at get catalog but iVNL seems to work 100% OK (at the moment).
Reply With Quote
  #478  
Old 03-11-2011, 10:33 PM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Sitting here coding, suddenly the catalog is back to text-based JSON!
12/03/2011_15:30 AEDT (UTC-11:00)
Reply With Quote
  #479  
Old 03-12-2011, 12:05 AM
Yansky Yansky is offline
Member
 
Join Date: May 2010
Posts: 92
Yansky is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by gxdata View Post
Sitting here coding, suddenly the catalog is back to text-based JSON!
12/03/2011_15:30 AEDT (UTC-11:00)
Are you able to set the request headers for you http request?

I think setting the accepted-encoding header "Accept-Encoding: gzip;q=0" will tell a server not to serve up the page using gzip.

http://www.w3.org/Protocols/rfc2616/...4.html#sec14.3
Reply With Quote
  #480  
Old 03-12-2011, 12:28 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Yansky View Post
Are you able to set the request headers for you http request?

I think setting the accepted-encoding header "Accept-Encoding: gzip;q=0" will tell a server not to serve up the page using gzip.

http://www.w3.org/Protocols/rfc2616/...4.html#sec14.3
The blog post from Rick Strahl indicates the same, I think. But I am using WebClient() in .NET and don't see similar switches. The stream that I read is UTF-8 encoded, and gzip.exe / ungzip.exe doesn't recognize its format. I'm having a mental block atm.

err - the .Downloadfile method of the WebClient class is probably what I need. Yep - all go now.


They seem to be switching from GZ to text mode quite often, so the test for the "[{" characters will be needed at each new catalog fetch. I'm not sure what they are doing with the Series JSON files.
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:45 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons