OK, my contribution so far.
For the linux users
1) The following bash file can be used to manually start AutoMovies. Can be included into the next version.
AutoMovies.sh
Code:
#!/bin/sh
set -e
/usr/bin/java -cp lib/*:conf -javaagent:lib/openjpa-all-2.1.0.jar apps.automovies.Main
2) The following bash file can be used to autostart AutoMovies at startup. Can be included into the next version.
AutoMovies.rc
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: AutoMovies application instance
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts instance of AutoMovies
# Description: starts instance of AutoMovies using start-stop-daemon
### END INIT INFO
############### EDIT ME ##################
# path to app
APP_PATH=/path/to/automovies
# path to python bin
DAEMON=/usr/bin/java
# startup args
DAEMON_OPTS=" -cp lib/*:conf -javaagent:lib/openjpa-all-2.1.0.jar apps.automovies.Main"
# script name
NAME=automovies
# app name
DESC=AutoMovies
# user
RUN_AS=user
PID_FILE=/var/run/automovies.pid
############### END EDIT ME ##################
test -x $DAEMON || exit 0
set -e
case "$1" in
start)
echo "Starting $DESC"
start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --make-pidfile --exec $DAEMON -- $DAEMON_OPTS
;;
stop)
echo "Stopping $DESC"
start-stop-daemon --stop --pidfile $PID_FILE
;;
restart|force-reload)
echo "Restarting $DESC"
start-stop-daemon --stop --pidfile $PID_FILE
sleep 15
start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --make-pidfile --exec $DAEMON -- $DAEMON_OPTS
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
To use, edit at least the "path" and "user" variable and;
Code:
sudo cp AutoMovies.rc /etc/init.d/automovies
sudo /etc/init.d/automovies start
3) At start I got the following error;
Code:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.Desktop.getDesktop(Desktop.java:124)
at apps.automovies.Main.main(Main.java:39)
I am running it on a headless server, so please make this an option to be set; "starting browser at start". Sickbeard and Couchpotato both have it as option.
4) Some small (cosmetic/useability) things every where, like adding a "browse" button to the "add movie folder" dialog etc. But I am not going to bother you with those at this stage.
That all I can do for now because I have no nzbmatrix (VIP) account. So for me; The next thing is to wait for newznab support (hint!)