HAHASPORT - A DYNAMIC SPORTS STREAMS WEB RESOURCE
The attached video WebResource HAHASPORT.GROOVY provides access to this library of events, which due to its dynamic nature must be frequently refreshed.
It may be invoked as a video WebResource with the url http://www.hahasport.com for all events
or
http://www.hahasport.com/c-n.html where n indicates the sport.
ALL EVENTS http://www.hahasport.com
FOOTY http://www.hahasport.com/c-1.html
HOCKEY http://www.hahasport.com/c-3.html
TENNIS http://www.hahasport.com/c-4.html
BASKETBALL http://www.hahasport.com/c-6.html
GOLF http://www.hahasport.com/c-8.html
MOTORSPORTS http://www.hahasport.com/c-10.html
OTHER http://www.hahasport.com/c-11.html
The plugin includes a quick refresh feature as described in the wiki at http://wiki.serviio.org/doku.php?id=quick_refresh. The feature may be disabled using the parameter "genurls=0"
The default hahasport implementation with no parameters, will cause a refresh to occur 3 minutes prior to each scheduled event, and 10 minutes after each events completion.
If the parameter "refresh=nnn" is used, eg:http://www.hahasport.com/c-n.html?refresh=30 , refreshes will occur at a maximum every nnn minutes (or per the console refresh time if sooner.
The wiki entry http://wiki.serviio.org/doku.php?id=refresh_on_demand provides details on how to implement a "Refresh on Demand" capability from the client device online menu thereby eliminating the need to use the server or a remote console to "Force Refresh" these folders prior to their use.
The default hahasport implementation also only displays the first available decodable stream for each event. Since each event may have multiple streams available from different sources, the "estreams=m" parameter may also be used to cause multiple streams to be displayed for each live event as available. "estreams" may equal 1 thru 9 with 9 signifing that all available streams should be displayed, eg: %%http://www.hahasport.com/c-1.html?refresh=90&estreams=9%%
Note that the groovy only decodes the major sources used by hahasport and while that seems to cover most events there may be some the groovy does not decode and the event will not display. The groovy activity is logged in debug mode.
The groovy will also generate a "events" icon showing the time of the next scheduled refresh.
Edit 8/23/2012 V7 Update Castalba Extraction Code & remove 404 test to prevent Serviio 1.0 timeout
Edit 8/31/2012 V8 Update Castamp Extraction Code & Fix erroneous No Events final item.
Edit 10/29/2012 V9 New ilive IP.
Edit 11/10/2012 V10 Get URL Fixed
Edit 11/17/2012 V11 New Leton IP
Edit 12/12/2012 V12 New Leton IP
Edit 12/13/2012 V13 New Leton IP
Edit 12/20/2012 V14 Limit Parsing to 50 items
Edit 12/30/2012 V15 Correct Refresh times
Edit 12/31/2012 V16 Check Network Availability
Edit 1/07/2013 V17 New Web format and Leton & IliveIP's, Add hqfooty, frame2, nutjob, castasap and coolsport sources & add ETimers
Version 18 - Jan 11, 2013 - New web format
Version 19 - Jan 11, 2013 - Correct refresh timing error
Version 20 - Jan 12, 2013 - Tuned, Coolsport source change
Version 21 - Jan 13, 2013 - Liveall source change
Version 22 - Feb 3, 2013 - New source feeds and IP's, Add Quick Refresh
Version 23 - Skipped
Version 24 - Feb 4, 2013 - Improved Expiry time logic
Version 25 - Feb 9,2013 - Support Quick Refresh for subsets.
Version 26 - Feb 10,2013 - Skip bad source Urls
Version 27 - Feb 18,2013 - Support GZIP Source format
Version 28 - Feb 19,2013 - Support livego Source
Version 29 - Mar 8,2013 - Increase Extract Timeout to 60 seconds
Version 30 - Apr 15,2013 - update hdcast, ilive & leton uris
Version 31 - May 30, 2013 - add sawlive sources, adjust event end refreshes, support new web page, update ips, add featve redirect & token.