ILIVE - A Video Livestreams Server Collection
==============================
ILive is a video livestreams service provider. The service is used by users with capture cards who wish to stream various tv progams to the web.
This video Webresource groovy will generate a menu of all video streams available from ILive's multiple pages as of the last refresh, regardless of the limit set in the console. Note that the additional streams available to Premium Users are not included.
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 implementation with no parameters, will cause a refresh to occur at the console default time.
If the parameter "refresh=nnn" is used, eg:http://www.ilive.to/channels?refresh=120 , refreshes will occur every nnn minutes if more frequent than the console refresh time, and/or a "Force Refresh" may used to initiate an update to get the latest changes just prior to using the folder. (Note that it can take in the order of 30 seconds for Serviio to refresh each new item.)
The groovy supports the sorting of streams into the default, current viewers, or total views sequence using the parameter sort=0 , 1 or 2. Beginning with Version 15 the default sort is alpha by title.
It also allows the streams to be limited to one of the valid subsets as shown below.
Implement as a video WebResource with the following urls: http://www.ilive.to/channels for all streams
http://www.ilive.to/channels/xxxxxx for subset streams where xxxxxx is:
Live%20Sport, Entertainment, Animation, Lifecaster, Gaming, General, News, Music, Mobile, Family, Religion, Radio, or Movies
Also beginning with V15, the parameter terms= may be used to select all streams containing the specified comma separated terms. For example terms=CBS,NBC,ABC,ESPN Asia&sort=2 will display all streams with any of those terms in the title in Total Views order.
V2: Aug 5, 2012 - required with Serviio 1.0
V3: Aug 13, 2012 - added version logging
V4: Aug 23, 2012 - corrected for ilive code change.
V5: Oct 16, 2012 - new ip address
V6: Oct 21, 2012 - new ip address again, display all videos regardless of console limit.
V7: Nov 10, 2012 - subset support
V8: Jan 7, 2013 - New IP Address, expires immediately, sort option
V9: Feb 3, 2013 - Support Web Changes, add Quick Refresh
V10: Feb. 9, 2013 - Support Quick Refresh for subsets.
V11: Feb.10, 2013 - update refresh logic
V12: Mar.11, 2013 - New IP Address
V13: Apr 18, 2013 - New web format
V14: Apr.30, 2013 - Fix web format code
V15: May 14, 2013 - Detect Site Unavailable, Default Title Sort, add Terms
V16: May 28,2013 - minor bug fix.