User Tools

Site Tools


servio_plugins

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
servio_plugins [2014/06/19 08:42]
illico [Development] remove Spam
servio_plugins [2017/06/24 22:44]
techwhizz Just a minor change for users to be aware if they have the Serviio patch correct or not.
Line 42: Line 42:
  
 __On Windows:__ __On Windows:__
 +Please make sure the Serviio folder is located in either Program Files or Program Files (x86).
 +
 groovy -cp "​C:​\Program Files (x86)\Serviio\lib\serviio.jar;​C:​\Program Files (x86)\Serviio\lib\slf4j-api.jar;​C:​\Program Files (x86)\Serviio\lib\slf4j-log4j12.jar;​C:​\Program Files (x86)\Serviio\lib\log4j.jar"​ "​C:​\Program Files (x86)\Serviio\plugins\CNN.groovy"​ groovy -cp "​C:​\Program Files (x86)\Serviio\lib\serviio.jar;​C:​\Program Files (x86)\Serviio\lib\slf4j-api.jar;​C:​\Program Files (x86)\Serviio\lib\slf4j-log4j12.jar;​C:​\Program Files (x86)\Serviio\lib\log4j.jar"​ "​C:​\Program Files (x86)\Serviio\plugins\CNN.groovy"​
  
Line 50: Line 52:
 @echo "​Testing %1 plugin"​ @echo "​Testing %1 plugin"​
 %GROOVY_HOME%\bin\groovy.exe -cp "​%ServiioPath%\lib\serviio.jar;​%ServiioPath%\lib\slf4j-api.jar;​%ServiioPath%\lib\slf4j-log4j12.jar;​%ServiioPath%\lib\log4j.jar;​%ServiioPath%\lib\org.restlet.jar"​ "​%1"​ %GROOVY_HOME%\bin\groovy.exe -cp "​%ServiioPath%\lib\serviio.jar;​%ServiioPath%\lib\slf4j-api.jar;​%ServiioPath%\lib\slf4j-log4j12.jar;​%ServiioPath%\lib\log4j.jar;​%ServiioPath%\lib\org.restlet.jar"​ "​%1"​
 +
 +rm "If this did not compile, check the ServiioPatch in this file to make sure the Serviio folder is in Program Files (x86) or in Program Files."​
 @pause @pause
 </​code>​ </​code>​
Line 56: Line 60:
  
 __On Linux:__ __On Linux:__
-From your serviio install folder (eg /​usr/​bin/​serviio-0.6.2) and with a s4c.groovy file installed in plugins:+From your serviio install folder (eg /​usr/​bin/​serviio-0.6.2) and with a S4c.groovy file installed in plugins:
  
 +<​code>​
 groovy -cp lib/​serviio.jar:​lib/​slf4j-api.jar:​lib/​slf4j-log4j12.jar:​lib/​log4j.jar:​lib/​org.restlet.jar plugins/​S4c.groovy groovy -cp lib/​serviio.jar:​lib/​slf4j-api.jar:​lib/​slf4j-log4j12.jar:​lib/​log4j.jar:​lib/​org.restlet.jar plugins/​S4c.groovy
 +</​code>​
  
-And of course you can use the [[http://​forum.serviio.org/​viewforum.php?​f=22|Plugin development forum]] if you get stuck+Or with Java and groovy-all.jar:
  
 +<​code>​
 +java -cp lib/​serviio.jar:​lib/​slf4j-api.jar:​lib/​slf4j-log4j12.jar:​lib/​log4j.jar:​lib/​org.restlet.jar:​lib/​groovy-all.jar groovy.ui.GroovyMain plugins/​S4c.groovy
 +</​code>​
 +
 +And of course you can use the [[http://​forum.serviio.org/​viewforum.php?​f=22|Plugin development forum]] if you get stuck
 ====== Logging ====== ====== Logging ======
 Logging is configured through conf/​log4j.xml. ​ You could change the priority of all packages to DEBUG but this is very verbose. Logging is configured through conf/​log4j.xml. ​ You could change the priority of all packages to DEBUG but this is very verbose.
servio_plugins.txt ยท Last modified: 2017/06/24 22:44 by techwhizz