2007-02-18, 10:25 AM
After learning some basic C# and scouring through http://www.abc.net.au html pages and using Norton's Internet Security's web history and finding out what pages were being called I've managed to get a new DynSource app to scrape Australia's ABC video on demand pages for content with the help of ubu's developer kit. http://forums.gbpvr.com//attachment.php?...1165135749 http://forums.nextpvr.com/showthread.php?t=21424&page=6
As best I can tell, the app works ok, but has a couple of problems have been noticed that may be ubustream related.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at UbuStreamPlugin.UbuStreamImporter.read_PLS_File(String playlistFile, String myMediaPlayer, String myStreamType, String myGroup, Boolean addGroups)
at UbuStreamPlugin.UbuStreamImporter.Import(String playlistFile, ImportFileType playlistFileType, StreamType defaultStreamType, String defaultMediaPlayer, String UbuStreamXmlFile, String groupName, Boolean addGroups)
at UbuStreamPlugin.UbuStreamConfigForm.backgroundWorker1_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
[/INDENT]
In the interim, I think the app is fairly robust, but consider it beta! Enjoy
As with all DynSource apps, extract the attachment into the ../plugins/ubstream/Dynsource subfolder, run ubuconfig and select the sections you want to scrape (But do not include playschool40 for reasons mentioned above).
As best I can tell, the app works ok, but has a couple of problems have been noticed that may be ubustream related.
- the 'playschool40' scrape is no longer available at abc.net.au, however, it picks up duplicate information from the 'healthmatters' scrape. If all the sections are selected as groups in ubuconfig, Ubustream2 seems to get confused, and the 'healthmatters' sections (and after) point to the incorrect URL's in GBPVR. My solution is not to select playschool40 for grouping in ubuconfig. (Interestingly, the playschool site seems to have been changed/removed only in the last 96 hours. Maybe ABC will fix their web page shortly)
- I haven't found the ability to list the playlist within a group in a non-alphabetical order. I want to do this to preserve the playlist order of the scrape, since the order of the playlist is sometimes important for continuity. My solution was to insert a playlist number to preserve the ordering. This will fail to work properly if there are more than 99 items in the playlist (unlikely). An 'order by' option in ubuconfig for the group would be nice to enable a 'natural' order (as scraped) or 'alphabetical'
- I tried to add the duration of the clip to the title description, but this caused ubustream to crash as below.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at UbuStreamPlugin.UbuStreamImporter.read_PLS_File(String playlistFile, String myMediaPlayer, String myStreamType, String myGroup, Boolean addGroups)
at UbuStreamPlugin.UbuStreamImporter.Import(String playlistFile, ImportFileType playlistFileType, StreamType defaultStreamType, String defaultMediaPlayer, String UbuStreamXmlFile, String groupName, Boolean addGroups)
at UbuStreamPlugin.UbuStreamConfigForm.backgroundWorker1_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
[/INDENT]
In the interim, I think the app is fairly robust, but consider it beta! Enjoy
As with all DynSource apps, extract the attachment into the ../plugins/ubstream/Dynsource subfolder, run ubuconfig and select the sections you want to scrape (But do not include playschool40 for reasons mentioned above).
[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]
WDC WD10EADS 1TB Data, 320GB System, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300,
XP Home SP3, GB-PVR 2.0, ExternalDisplay v0.3[/SIZE]