FAQ  •  Register  •  Login

REFRESH - "Force Refresh" from the Online Menu

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu May 03, 2012 11:40 pm

REFRESH - "Force Refresh" from the Online Menu

Refresh.groovy - a video WebResource
=================================
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.
Attachments
ffmpeg.bat.zip
ffmpeg.bat V2 for Serviio 1.0 Aug 6,2012
(2.06 KiB) Downloaded 496 times
Refresh.groovy
Refresh.groovy V1 May 3, 2012
(4.28 KiB) Downloaded 830 times
Last edited by jhb50 on Mon Aug 06, 2012 2:01 pm, edited 1 time in total.
<<

Trlbpgtjdomq

User avatar

Serviio newbie

Posts: 1

Joined: Thu May 10, 2012 3:49 am

Post Thu May 10, 2012 5:14 am

Re: REFRESH - "Force Refresh" from the Online Menu

"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.
----------------------Yeah,I think it really helps.
Look before, or you'll find yourself behind.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Aug 06, 2012 2:02 pm

Re: REFRESH - "Force Refresh" from the Online Menu

Version 2 of ffmpeg.bat has been posted to support the new ffmpeg parameters used by Serviio 1.0 (see post 1 or the wiki http://wiki.serviio.org/doku.php?id=refresh_on_demand)
<<

miksa

Serviio lover

Posts: 68

Joined: Fri Nov 09, 2012 2:30 am

Post Sun Nov 11, 2012 4:41 am

Re: REFRESH - "Force Refresh" from the Online Menu

Version 2 of Refresh plugin (without curl and ffmpeg.bat dependencies) posted here http://forum.serviio.org/viewtopic.php?f=6&p=55948#p55948
- Mike
<<

pjimmy74

Serviio newbie

Posts: 13

Joined: Wed Jul 17, 2013 3:17 pm

Post Tue Jul 23, 2013 6:34 pm

Re: REFRESH - "Force Refresh" from the Online Menu

Hello guys. I'm able to get ilive channels working fine on my sony bluray player. Is there any way I can adjust the screen size of format? The videos seem to lag a little but that's fine. Only thing is that the video quality seems very bad.

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 16 guests

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