Since each event may have multiple streams available each from a different source, the estreams parameter may be used to cause multiple streams to be displayed for each event if available. estreams may equal 1 thru 9 with 9 signifing that all available streams should be displayed, for example http://www.hahasport.com/c-1.html?estreams=9

Note also that since HAHASPORT.COM sources its streams from many different sources that there may be streams the groovy does not decode for display in the Serviio menu. For details on the stream decoding set the onlinelibrary log to debug mode.

To access the current events for a given sport, open the menu and click on the Refresh menu item which will initiate a refresh of the online source while the Refresh Menu Item stream plays. Wait for at least a minute for the refresh to execute before stopping playback and the refreshed menu will be displayed on return and the desired item selected for playback. If playback of the Refresh Menu Item stream is stopped before the refresh is complete the menu will be unavailable on return and Serviio will exit and require a restart to access the updated menu once available.

Note that if you do not to implement changes required to support the Refresh On Demand menu item, you must use the Serviio console or a remote console to force the refresh of each sport in order to obtain the current live stream event menu.

jhb50 - I tried copying your hahasports plug in and changed all the references to hahsports.com to firstrow sports.eu but it fails with the following. Guess it's not that simple! Would be grateful if you could point out where I'm going wrong

cheers

Code:

2012-05-01 14:33:36,815 WARN [PluginCompilerThread] Plugin firstrowsports.groovy failed to compile: startup failed:/Applications/serviio-0.6.2-osx/Serviio.app/Contents/Resources/Java/plugins/firstrowsports.groovy: 495: Apparent variable 'extractor' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes:You attempted to reference a variable in the binding or an instance variable from a static context.You misspelled a classname or statically imported field. Please check the spelling.You attempted to use a method 'extractor' but left out brackets in a place not allowed by the grammar. @ line 495, column 18. firstrowsports extractor = new firstrowsports() ^

/Applications/serviio-0.6.2-osx/Serviio.app/Contents/Resources/Java/plugins/firstrowsports.groovy: 496: Apparent variable 'extractor' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes:You attempted to reference a variable in the binding or an instance variable from a static context.You misspelled a classname or statically imported field. Please check the spelling.You attempted to use a method 'extractor' but left out brackets in a place not allowed by the grammar. @ line 496, column 10. assert extractor.extractorMatches( new URL("http://www.firstrowsports.eu") ) ^

/Applications/serviio-0.6.2-osx/Serviio.app/Contents/Resources/Java/plugins/firstrowsports.groovy: 497: Apparent variable 'extractor' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes:You attempted to reference a variable in the binding or an instance variable from a static context.You misspelled a classname or statically imported field. Please check the spelling.You attempted to use a method 'extractor' but left out brackets in a place not allowed by the grammar. @ line 497, column 11. assert !extractor.extractorMatches( new URL("http://google.com/feeds/api/standardfeeds/top_rated?time=today") ) ^

/Applications/serviio-0.6.2-osx/Serviio.app/Contents/Resources/Java/plugins/firstrowsports.groovy: 498: Apparent variable 'extractor' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes:You attempted to reference a variable in the binding or an instance variable from a static context.You misspelled a classname or statically imported field. Please check the spelling.You attempted to use a method 'extractor' but left out brackets in a place not allowed by the grammar. @ line 498, column 37. WebResourceContainer container = extractor.extractItems( new URL("http://firstrowsports.eu?&estreams=4"), -1) ^

/Applications/serviio-0.6.2-osx/Serviio.app/Contents/Resources/Java/plugins/firstrowsports.groovy: 500: Apparent variable 'extractor' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes:You attempted to reference a variable in the binding or an instance variable from a static context.You misspelled a classname or statically imported field. Please check the spelling.You attempted to use a method 'extractor' but left out brackets in a place not allowed by the grammar. @ line 500, column 32. ContentURLContainer result = extractor.extractUrl(container.getItems()[1], PreferredQuality.MEDIUM) ^

You need to learn how to write a valid groovy. Your errors have nothing to do with the site being extracted. Also need to use a site that works..firstrowsports.eu does not respond/probably has been seized like firstrowsports.tv, and then you will have to learn how that site extracts its urls and then maintain the code as they change their methods to keep others from using their streams. Simple if you have 3 months+ to work on it.

I'm completely new to this, and I thought that I understood this tutorial as it was very well written (so thank you!).However I can't seem to get it to work.I've moved the GROOVY file to the plugins folder. I added http://www.hahasport.com/c-3.html?estreams=9 as a WebResource.I can't download the Refresh On Demand because I'm using Mac, but with V2 of HAHASPORT, I shouldn't need to correct? At least not to see the streams initially.I keep looking in my "Online" folder and can't find anything (nor in other folders). Any help for a complete Serviio/streaming newbie? Thanks!

GoingCommando18 wrote:I'm completely new to this, and I thought that I understood this tutorial as it was very well written (so thank you!).However I can't seem to get it to work.I've moved the GROOVY file to the plugins folder. I added http://www.hahasport.com/c-3.html?estreams=9 as a WebResource.I can't download the Refresh On Demand because I'm using Mac, but with V2 of HAHASPORT, I shouldn't need to correct? At least not to see the streams initially.I keep looking in my "Online" folder and can't find anything (nor in other folders). Any help for a complete Serviio/streaming newbie? Thanks!

This does not work anymore. Along with all the other sports plugins for Serviio, unfortunately.