FAQ  •  Register  •  Login

Expires On being ignored.

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Apr 01, 2012 1:01 pm

Expires On being ignored.

It seems that if all items in a web resource specify an expiresOn value that is greater than the console defined expiry period, that the WebResource values are being ignored and the console value used instead.

This makes it impossible to create a groovy that will only refresh at a specific time each day or refresh a month from now which would effectively prevent any automatic refreshes.

Can this be confirmed before I create a ticket?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 01, 2012 5:54 pm

Re: Expires On being ignored.

Yes, that's correct. The flow is following:

1) check if the feed expired based on the console value
2) if not, check expiresOn for each items, if at least one is expired, expire the whole feed

I'd like to leave it like that to give the user the power to enforce refreshes. As most information is cached anyway it'll not make much difference if the feed itself is refreshed.

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 10 guests

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