launch command line FROM kodi - Printable Version

+- Forum (
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: launch command line FROM kodi (/thread-3318.html)

launch command line FROM kodi - Enderswood - 4th Feb, 2016 10:05 AM

hi, absolutly not sure its the right place, but dont know where to ask...

i have set a command that start download from FTP with a wget command. I can launch it from putty. work perfect, but if i stop my pc, the download stop too.

is there a way to launch a command line from xbian/kodi so i can let it download without my computer on ?

just for info, here is what my command line do :

vi FTP :
cd /mnt/array1/Data/Temp/
wget -c -r -l 0 ftp://user:password@FTPserver/folder/*
chmod -R 777 /mnt/array1/Data/Temp/

Thx a lot !!

RE: launch command line FROM kodi - Skywatch - 4th Feb, 2016 07:52 PM

Do you still need kodi running whilst downloading? If not then just stop (exit) kodi and you will be at the command propmpt and start agian afterwards. IF you need to do this regularly then a cron job should do it. You might also look at a bash script to do the download and then auto restart kodi when it is finished. Final suggestion is to add superrepo to the kodi addons and see if there is something in there that might be useful.

Hope this gives you some ideas to look into to solve your problem!

RE: launch command line FROM kodi - IriDium - 4th Feb, 2016 11:21 PM

From ssh (Putty) just do <Command Script> & and the program will continue to run in the background, even if you power off your PC.

Or you can try the addon Advanced Launcher but it might be broken Advanced Launcher

RE: launch command line FROM kodi - Enderswood - 5th Feb, 2016 12:30 AM

just try to type "FTP&" and it seems to work ! happy Smile

i will have a look at Advanced Launcher too, , seems cool Tongue

Thx a lot !