Page 1 of 1

Raspberry Pi - Pyload - Filebot problem

Posted: 16 Jan 2014, 07:14
by fileovic
Hey guys,

thanks for the great community and work. I'm trying to automate my home theater and everything is working except the last task which is telling Pyload to start Filebot:

filebot -script fn:amc /media/usb/Download --output /media/usb/Datenbank -non-strict

I have a raspberry pi with raspbian installed.

I already created the folder "unrar_finished" in /usr/share/pyload/scripts. Within the folder I created the file "filebot.sh" with this code:

#!/bin/sh
filebot -script fn:amc /media/usb/Download --output /media/usb/Datenbank -non-strict

This is the payload log-file:

819 16.01.2014 08:09:25 INFO ExtractArchive: Mok.rar | Extracting finished
818 16.01.2014 08:09:25 INFO ExtractArchive: Deleting 1 files
817 16.01.2014 08:08:24 INFO ExtractArchive: Mok.rar | Password protected
816 16.01.2014 08:08:23 INFO ExtractArchive: Mok.rar | Extract to /media/usb/Download/
815 16.01.2014 08:08:23 INFO ExtractArchive: Check package Mok.rar
814 16.01.2014 08:08:23 INFO ExtractArchive: Package Mok.rar queued for later extracting
813 16.01.2014 08:08:23 INFO Package finished: Mok.rar
812 16.01.2014 08:08:23 INFO Download finished: Mok.rar
811 16.01.2014 08:08:08 INFO Download starts: Mok.rar

Appreciate any help getting this thing going!

One more thing. The xbmc notification to rescan it's video library is not working. Isn't that part of the amc script? Any thoughts on this?

fileovic

Re: Raspberry Pi - Pyload - Filebot problem

Posted: 16 Jan 2014, 08:33
by rednoah
Does /usb/Download only contains new files, or lots of random files from previous downloads? In which case you must set excludeList:
--def excludeList=amc-input.txt Keep a list of previously processed files to be ignored in future runs (if you run this script on the same files repeatedly you must enable this option)
Your amc call is simple cmdline usage, if it works from cmdline, it must also work when called via script, if it doesn't work it's never called.

Also for XBMC support you need to specify that in the options. Please read the manual.