2010-07-27, 02:51
anyone have this working on vista 32bit? still does nothing here. tried latest build.
rflores2323 Wrote:can you help me to get this running. I have python 2.6 installed as i get this output
lrwxrwxrwx 1 root root 9 2010-02-04 17:03 /usr/bin/python -> python2.6
I have downloaded the files (RuudBurger-CouchPotato-193ccef) in "documents" however when I try to run the program it gives me the below.
so I cant get the program to startCode:xbmc@xbmc-desktop:~$ python CouchPotato.py -d
python: can't open file 'CouchPotato.py': [Errno 2] No such file or directory
I have done everything else for the script and get the final out as its starting but nothing happens, see below
Code:[color=red]xbmc@xbmc-desktop:~$ sudo /etc/init.d/couchpotato start
Starting CouchPotato[/color]
so what am I doing wrong?? how can I get the app to start so that i can configure it. Also if I try to double click the file CouchPotato.py it opens it with gedit. I tried to change the open with.... to python however it does not do anything. any help.
#! /bin/sh
### BEGIN SCRIPT INFO
# Provides: Episode Butler Start/Stop
# Copied by Ainer.org from http://forums.sabnzbd.org/index.php?topic=2013.0
# Written by Tret on April 17, 2009
# Modified by Ainer on March 26, 2010
# Modified by Ainer on March 31, 2010
### END SCRIPT INFO
USER="downloader"
HOME="/home/downloader"
SB_IP="localhost:5000"
SB_USER=""
SB_PASS=""
case "$1" in
start)
echo "Starting Movie Manager"
#find /net/server.local/tank/Movies > /dev/null
cd $HOME/CouchPotato/
/usr/bin/sudo -u $USER -H python $HOME/CouchPotato/CouchPotato.py -d & > /dev/null 2>&1
;;
stop)
echo "Shutting down Sick Beard."
/usr/bin/wget -q delete-after "http://$SB_IP/config/exit/"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
RuudBurger Wrote:So the first time downloads, buts fails to add it to snatched?
RuudBurger Wrote:I don't understand your first point.
Not yet
No, it takes the host file from your request. So if you access CP from outside (mapped to a domain or ip) it will link the Userscript to that address.
Mrkennedy Wrote:Yes, then an hour later when it searches again it snatches it this time. Meaning 2 downloads in the queue.
RuudBurger Wrote:Ok so you would like to have more of a "result page"?
If so, why? (apart from external links)
RuudBurger Wrote:When it goes wrong, does it get an ok from SAB?