NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) UbuStream, Web Radio and Universe v
« Previous 1 … 4 5 6 7 8 Next »
SkyNews DynSource app to replace broken BBC one

 
  • 0 Vote(s) - 0 Average
SkyNews DynSource app to replace broken BBC one
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#1
2007-02-23, 10:45 AM
You may have noticed that the video links downloaded by the BBC DynSource app seem a bit out of date. That's because the BBC have completely revamped their audio/video stream pages and, as a result, the pages the app are reading are no longer being updated. (I think some of the more static links are still working - the 10 O'Clock News, Newsnight, etc. - but not the news clips.)

It'll require major surgery to get the app working with the new format and I'm kinda busy, so it might be a few weeks before I release a fix.

So here's a SkyNews DynSource app I wrote that you can entertain yourself with in the meantime. [ATTACHMENT NOT FOUND]
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
ralphy
Offline

Senior Member

Posts: 255
Threads: 51
Joined: Nov 2006
#2
2007-03-01, 11:59 AM
Looks like somethings gone awry here too in the last 48 hours with SkyNews throwing the following exception.

Quote:EventType : clr20r3 P1 : skynewsdynsource.exe P2 : 1.0.0.0
P3 : 45bb2060 P4 : system P5 : 2.0.0.0 P6 : 4333ae87 P7 : 1f2e
P8 : 1bd P9 : system.net.webexception
[SIZE="1"]Silverstone GD01S-MXR (three dead rows of pixels in the LCD and defective remote control), Power: Zalman ZM460B-APS (blew up - can't remember what's there now); CPU: Pentium D 3.2 GHz with Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB,
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#3
2007-03-01, 09:12 PM
ralphy Wrote:Looks like somethings gone awry here too in the last 48 hours with SkyNews throwing the following exception.
I can't reproduce the problem. Maybe it's fixed itself?

This does point up the fact that the DynSource error handling is a bit rudimentary for the actual Web Request/Response. I should probably add code to the DynSource library that differentiates between different kinds of error.
eg:

"Cannot connect to <target site>"
"<Target site> not responding"
"Invalid page format returned from <target site>"
Etc.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
ralphy
Offline

Senior Member

Posts: 255
Threads: 51
Joined: Nov 2006
#4
2007-03-01, 11:34 PM
You're right - looks like a transient problem.

ubu Wrote:I should probably add code to the DynSource library that differentiates between different kinds of error.

I noted that your DLL comments specifically left error handling to the calling app. Not knowing anything about C#, if I have a try {readHTML()} in the exe (as I do in my OzABCDynSource), would a nested try{} cause problems? Not really looking for an answer here, but I am am just questioning where the error handling is best handled - in the exe as you had originally intended, or in the library?
[SIZE="1"]Silverstone GD01S-MXR (three dead rows of pixels in the LCD and defective remote control), Power: Zalman ZM460B-APS (blew up - can't remember what's there now); CPU: Pentium D 3.2 GHz with Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB,
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#5
2007-03-02, 01:12 AM
ralphy Wrote:You're right - looks like a transient problem.
SkyNews seems to be having problems. Up one moment, down the next.

Quote:I noted that your DLL comments specifically left error handling to the calling app. Not knowing anything about C#, if I have a try {readHTML()} in the exe (as I do in my OzABCDynSource), would a nested try{} cause problems? Not really looking for an answer here, but I am am just questioning where the error handling is best handled - in the exe as you had originally intended, or in the library?
I'm playing around with putting basic WebError error handling in the dll and then passing back "No page found" in the html page string. That way the web error will show up in the log file but it'll be up to the app to deal with an empty page (Should just fall through the regex check and return 0 items, for existing apps, I think).

Btw - here's the standalone DynSource update app you wanted: [ATTACHMENT NOT FOUND]
Just copy it into your Plugins directory and run it from there (it needs UbuStreamPlugin.dll to be in the same directory). If you get it working with the Windows scheduler, can you give me a little write up on the steps required to do this, so I can add it to the wiki (eventually Wink ).
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
ralphy
Offline

Senior Member

Posts: 255
Threads: 51
Joined: Nov 2006
#6
2007-03-03, 06:35 AM
Thanks for this wrapper Ubu.

Please refer to http://forums.nextpvr.com/showthread.php...post180761 for some notes on how I set up UbuDynSourceUpdate to run with Windows Scheduler.
[SIZE="1"]Silverstone GD01S-MXR (three dead rows of pixels in the LCD and defective remote control), Power: Zalman ZM460B-APS (blew up - can't remember what's there now); CPU: Pentium D 3.2 GHz with Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB,
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]
ralphy
Offline

Senior Member

Posts: 255
Threads: 51
Joined: Nov 2006
#7
2007-03-16, 01:06 AM
Ubu,

I got a problem that might be transient causing an indexoutofrange error with ubustreamupdate. The last message I get before the exception error is 'importing BBCPlaylist.plx', so I guess the BBC might have changed things.

Perhaps you can see something in the plx file attached that I think is causing the problem.
[SIZE="1"]Silverstone GD01S-MXR (three dead rows of pixels in the LCD and defective remote control), Power: Zalman ZM460B-APS (blew up - can't remember what's there now); CPU: Pentium D 3.2 GHz with Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB,
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#8
2007-03-28, 07:38 PM
ralphy Wrote:Ubu,

I got a problem that might be transient causing an indexoutofrange error with ubustreamupdate. The last message I get before the exception error is 'importing BBCPlaylist.plx', so I guess the BBC might have changed things.

Perhaps you can see something in the plx file attached that I think is causing the problem.
Well, as I mentioned at the beginning of this thread, the BBC pages that the BBC DynSource app uses are no longer being updated by the BBC so they could well be causing this error. I suggest you disable the DynSource app (right click the DynSource in the config app and select Delete) or uncheck Enable AutoSynch so it doesn't get picked up by the update app.

I haven't had time to change the app to use the new BBC pages (pretty much involves a complete re-write, as you can probably imagine). Maybe someone else will volunteer to write a new app. Smile
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  CNN Dynsource - New Version HTPCGB 0 1,860 2007-07-15, 10:42 PM
Last Post: HTPCGB
  CNN Dynsource Update - Now with images HTPCGB 0 1,926 2007-07-12, 11:17 PM
Last Post: HTPCGB
  DynSource authors - I need your input ubu 0 1,627 2007-05-04, 05:17 AM
Last Post: ubu
  BBC DynSource Updated ralphy 3 2,865 2007-04-21, 07:50 AM
Last Post: ubu
  New DynSource App - NineMSN.com.au ralphy 0 1,839 2007-03-18, 10:25 AM
Last Post: ralphy
  New DynSource App - ABC Australia Video On Demand ralphy 4 2,940 2007-02-20, 12:20 PM
Last Post: ralphy
  CNN Dynsource - system.argumentoutofrange Error ralphy 3 2,491 2007-02-19, 12:18 AM
Last Post: ralphy
  CNN Dynsource Fix HTPCGB 0 1,938 2007-02-18, 06:14 PM
Last Post: HTPCGB
  New "broadband" version of the BBC DynSource mini-plugin ubu 4 3,382 2006-12-22, 07:02 AM
Last Post: ubu

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode