User Tools

Site Tools



Please read __THE NEED FOR REFRESH ON DEMAND__ article for the background.

The ability to implement “Force Refresh” feed items in the Refresh.groovy is based on 6 prerequisite one time implementations. These steps have been explained in detail in the link provided above.

Below are only the steps that differ in linux.

1) Install curl (libcurl) with ssl enabled using apt-get/yum/rpm based on the Unix/Linux flavor you are using, if its not already installed.

2) Same as in the article linked above.

3) Same as in the article linked above.

4) In your linux console/ssh, logged in as root, go to $SERVIIO_HOME/bin/ directory. Look for the following files: and In both files, search for JAVA_OPTS=.

Add/Update -Dffmpeg.location=$SERVIIO_HOME/bin/ within the double-quotes after JAVA_OPTS=.

Note: There are other options within double-quotes after JAVA_OPTS= as well. Do not change any other option, just add the above option.

5) Download the attached file and save/overwrite it in $SERVIIO_HOME/bin/ Make it executable. Open it is a text editor and save it with linux line termination (or use dos2Unix).

6) Same as in the article linked above.

Restart Serviio and ENJOY!!! for Linux/Synology:

Here is a modified version of this script in which a few things have been fixed

Note: Most the code of is from the Serviio for Synology available from I have only made a few changes to enable support for Refresh.groovy.

Note: It would appear that if the contentUrl that the plugin returns contains special characters like & then the does not work properly. The shell consumes the & characters. The solution is to have the plugin return a contentUrl inclosed by single quotes ('). The contentUrl is then passed to the inside the single quotes and the & are not destroyed. However, adding the single quotes around the contentUrl appears to break plugins when they are not using - ttguy

refresh_on_demand_linux.txt · Last modified: 2012/10/05 13:57 by ttguy