FAQ  •  Register  •  Login

STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jan 08, 2013 6:42 am

STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

NOTE: This STOPSTREAM groovy is the functional equivalent of the HAHASPORT groovy. It was created when HAHASPORT shut down for a short period and so will be maintained in parallel with HAHASPORT. As such the first release began at V17.
--------------------------------------------------------------------------------------
STOPSTREAM.COM is an aggregator site which maintains a dynamic list of upcoming sports events, and provides links to currently live event player streams. Consider it a Library of Sports events.

The attached video WebResource STOPSTREAM.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.stopstream.com for all events
or
http://www.stopstream.com/n where n indicates the sport.
Note: http://www.stopstream.tv may also be used for backward compatibility.

ALL EVENTS http://www.stopstream.com
FOOTY http://www.stopstream.com/1
HOCKEY http://www.stopstream.com/3
TENNIS http://www.stopstream.com/4
BASKETBALL http://www.stopstream.com/6
GOLF http://www.stopstream.com/8
MOTORSPORTS http://www.stopstream.com/10
OTHER http://www.stopstream.com/11

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 stopstream 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.stopstream.com/n?refresh=300 , 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 stopstream 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.stopstream.com/1?refresh=90&estreams=9

Note that the groovy only decodes the major sources used by stopstream 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.

Version 17 - Jan 7, 2013 - First version equivalent to hahasport V17
Version 18 - Jan 11, 2013 - Equivalent to hahasport V18
Version 19 - Jan 11, 2013 - Correct refresh time error
Version 20 - Jan 12,2012 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 - Feb 4, 2013 - Support change to http://www.stopstream.com
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 - Update source links
Version 28 - Feb 19,2013 - support livego source
Version 29 - Mar 8,2013 - Increase Extract Timeout to 60 seconds
Version 30 - Apr 19,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.
Attachments
Stopstream.groovy
stopstream.groovy V31 May 30, 2013
(58.6 KiB) Downloaded 927 times
Last edited by jhb50 on Thu May 30, 2013 10:00 pm, edited 18 times in total.
<<

newborn

Streaming enthusiast

Posts: 39

Joined: Sun Dec 23, 2012 2:38 pm

Post Tue Jan 08, 2013 7:23 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

oh brill. Cheers for finishing it. I think stopstream has always been there actually, often a hahasport stream has carried a stopstream banner in the corner of its broadcast.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jan 11, 2013 11:48 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 19 posted to correct refresh timing error
<<

newborn

Streaming enthusiast

Posts: 39

Joined: Sun Dec 23, 2012 2:38 pm

Post Sat Jan 12, 2013 7:47 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

I don't think any of those links are vaild buddy. using the .com links as an example you get a page not found. The actually tld is tv and then the pages are referenced by for example /1/ rather than 1.html
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jan 12, 2013 7:51 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Thanks for pointing that out.. post 1 corrected.
<<

newborn

Streaming enthusiast

Posts: 39

Joined: Sun Dec 23, 2012 2:38 pm

Post Sat Jan 12, 2013 8:02 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Will it work though?

I have

  Code:
2013-01-12 17:39:10,417 INFO  [PluginCompilerThread] Added Web Resouce plugin Stopstream (Stopstream.groovy), version: 19

But then...

  Code:
java.io.IOException: Cannot parse resource from http://www.stopstream.com/1. Message: No plugin for web resource http://www.stopstream.com/1 has been found.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jan 12, 2013 8:14 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

As you noted earlier the correct form is .tv not .com
All left over from copying the post from hahasport.
I've updated post 1 again.
<<

newborn

Streaming enthusiast

Posts: 39

Joined: Sun Dec 23, 2012 2:38 pm

Post Sat Jan 12, 2013 8:16 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Ah OK, will try that now, I wasn't sure if the plugin would fire at all though! Will feed back in a few moments :)
<<

newborn

Streaming enthusiast

Posts: 39

Joined: Sun Dec 23, 2012 2:38 pm

Post Sat Jan 12, 2013 8:19 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Yep thats working, nice one.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Jan 13, 2013 3:56 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 20 posted. Groovy tuned to run faster, coolsport source extracts updated.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 14, 2013 6:08 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 21 posted with Liveall source change
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Feb 04, 2013 4:58 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 22 posted with new source feeds and ips.

This is a major upgrade of the plugin and features a new quick refresh capability as described in the wiki at http://wiki.serviio.org/doku.php?id=quick_refresh.

This makes it practical to do refreshes frequently using the refresh parameter and keep the list of items up to date without the overhead of re-extracting the existing items. Refreshes that previously took many minutes are now done in one or two seconds.

NOTE: Recent changes to the Stopstream web site has introduced errors which the plugin is able to detect and skip however the available list of items will be fewer than those provided by the hahasport plugin.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Feb 04, 2013 6:24 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 23 is posted to support the change of the site to www.stopstream.com

The groovy will continue to accept source urls of the form stopstream.tv for backward compatibility, but new source requests should use stopstream.com

The previously referenced errors on the site seem to have been corrected.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Feb 04, 2013 9:19 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 24 posted with improved Expiry time logic for faster refreshes
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Feb 10, 2013 6:06 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 25 posted to Support Quick Refresh for subsets.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Feb 10, 2013 7:08 pm

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 26 posted to skip bad source urls.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Feb 19, 2013 6:40 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

V27 posted
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Feb 20, 2013 12:07 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

V28 posted to support livego source
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Mar 09, 2013 5:27 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 29 posted to increase extract timeout. Serviio 1.2 is prereq.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Apr 20, 2013 3:27 am

Re: STOPSTREAM - A DYNAMIC SPORTS STREAMS WEB RESOURCE

Version 30 posted with updated uri's
Next

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.