REFRESH - "Force Refresh" from the Online Menu
=================================
This video WebResource groovy will allow you to "Force Refresh" any enabled WebResource from a Client Online Menu, rather than having to use the Serviio Console on the server or a 3rd party Remote console implementation.
For sites that change their content frequently, it is necessary to refresh Web Resources prior to use in order to reflect the latest changes.
If the Web Resource is programmed to perform those refreshes automatically it can result in the excessive use of resources to generate up to date folders that will never be used.
A better approach is to automatically refresh on a reasonable schedule and "Force Refresh" just prior to use to reflect the latest changes.
"Force Refresh" however can only be performed from the Serviio server console or from 3rd Party remote console implementations, not from the client menu itself when required.
The attached Refresh.groovy addresses this need and once installed along with its prerequisites allows the "Force Refresh" of any active "Web resource" groovy from within the Online Refresh menu.
Implement by installing the prerequisites as documented in the wiki http://wiki.serviio.org/doku.php?id=refresh_on_demand, and adding a video WebResource item "http:\\www.refresh.com" to the console, titled "Refresh on Demand"
An online menu item titled "Refresh on Demand" will then be created containing "Click to Refresh Folder" icons for each active Web Resource. You will then need to return to the online menu and wait for the folder to complete its refresh and reappear in the online menu. This can require up to 30 seconds per new item, and may be delayed by any default refreshes currently queued.
For Serviio 1.0, Version 2 of ffmpeg.bat is required to support the new ffmpeg parameters. It is attached here for convenience.