How to: rTorrent + ruTorrent + Sickbeard Seamless

If you've made an extra_script, made a 3rd party tool, or just added some functionality in a fork you can post about it here.

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby lunias » Wed Feb 22, 2012 7:44 pm

Hello, I've been following this guide, but I am running into a bit of trouble when it comes to getting my torrents to autoseed.

The files are getting renamed properly and put into their sickbeard folders, but for whatever reason the symlinks to autoseed are not being created and the files are not being removed from temp-process...

The contents of temp-process looks like this after a download has completed:
blah.blah.s01e01.hdtv.avi/blah.blah.s01e01.hdtv.avi (the file inside a folder named the same as the file?)

The end result is that my torrents become paused after they complete.

I've attached my configs.

Thanks for any help.
Last edited by lunias on Thu Feb 23, 2012 12:01 am, edited 1 time in total.
lunias
 
Posts: 2
Joined: Wed Feb 22, 2012 7:31 pm

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby xombiemp » Wed Feb 22, 2012 10:41 pm

I looked at your Sickbeard config.ini and I saw that your extra_scripts was in quotes:

extra_scripts = "/opt/sickbeard/sickbeardPostProcess.sh"

Mine isn't and I wonder if that's the problem. Try removing the quotes and see if that fixes the problem.

Remember to kill sickbeard before you edit the config.ini, or it will get overwritten.


Also in your sickbeardPostProcess.sh there is no newline at the end. I'm just trying to look for any differences between your configs and mine. Edit sickbeardPostProcess.sh and add a couple newlines at the end.
xombiemp
 
Posts: 36
Joined: Tue Jan 10, 2012 5:36 pm

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby xombiemp » Thu Feb 23, 2012 9:33 pm

lunias wrote:Thanks for any help.


Did you get it working?
xombiemp
 
Posts: 36
Joined: Tue Jan 10, 2012 5:36 pm

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby lunias » Thu Feb 23, 2012 10:58 pm

I believe I just got it working... the issue was file permissions. I'm setting this up on arch linux so it's not 100% in line with your guide, but the fix for me seemed to be setting the umask in rtorrent to 0000 so that files are able to be copied properly.

Thanks for the help!
lunias
 
Posts: 2
Joined: Wed Feb 22, 2012 7:31 pm

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby Alfaspyke » Fri Mar 30, 2012 8:30 am

Thanks for this writeup. Much appreciated!

I have one issue though.
But that is probably not a fault of yours.

This will be a lengthy post so I apologize for that right now.
Hopefully someone can figure out what is missing with my setup...

I have used a rtorrent/rutorrent setup for years that has worked well for me.
But it was a bit clunky and all was maintenance done manually.
So I decided to expand it with Sickbeard...

Quick breakdown of equipment and setup:
NAS box (nas1) with NFS shares for the media library and the "incoming data" folder.
XBMC on linux for my the TV interface. it looks for media by nfs on nas1:/media/
My "seedbox" on a linux box for rtorrent/rutorrent/sickbeard and others.

Linux distros are either ubuntu 10.04 or straight debian6.

Now the problem...

I have setup Sickbeard mostly as instructed since my setup wasnt virgin as the writeup presumes.
Sickbeard is installed to /opt/sickbeard and is run as root but the data directory is in home/alfaspyke/.sickbeard)

/etc/init.d/sickbeard
Code: Select all
############### EDIT ME ##################
# path to app
APP_PATH=/opt/sickbeard

# path to python bin
DAEMON=/usr/bin/python

# Path to store PID file
PID_FILE=/var/run/sickbeard/sickbeard.pid
PID_PATH=`dirname $PID_FILE`

# script name
NAME=sickbeard

# app name
DESC=SickBeard

# user
RUN_AS=root

# data directory
DATA_DIR=/home/alfaspyke/.sickbeard

# startup args
DAEMON_OPTS=" SickBeard.py -q --daemon --pidfile=${PID_FILE} --datadir=${DATA_DIR}"



SB does fetch torrent files, place them in the torrent watch folder where rtorrent picks them up and starts to download.
After they are completely downloaded the files are moved to temp_process folder.
So far so good.

But nothing happens to the files from within the temp_process folder.
I can activate "manual postprocessing" from within SB and that "sort of works" in the sense that the scraping for show info works and the files are moved to my medialibrary with the selected file/directory structure.

But when it comes to create the symlinks to the autoseed folder the fun stops with this error message (no symlink is created)
Code: Select all
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/opt/sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/opt/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/opt/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/opt/sickbeard/sickbeard/webserve.py", line 1524, in processEpisode
    result = processTV.processDir(dir, nzbName)
  File "/opt/sickbeard/sickbeard/processTV.py", line 104, in processDir
    process_result = processor.process()
  File "/opt/sickbeard/sickbeard/postProcessor.py", line 726, in process
    existing_file_status = self._checkForExistingFile(ep_obj.location)
  File "/opt/sickbeard/sickbeard/postProcessor.py", line 117, in _checkForExistingFile
    if ek.ek(os.path.getsize, existing_file) > ek.ek(os.path.getsize, self.file_path):
  File "/opt/sickbeard/sickbeard/encodingKludge.py", line 56, in ek
    result = func(*[x.encode(sickbeard.SYS_ENCODING) if type(x) in (str, unicode) else x for x in args])
  File "/usr/lib/python2.6/genericpath.py", line 49, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/mnt/nas1.incoming/temp-process/person.of.interest.s01e05.720p.hdtv.x264-orenji.mkv'


which in a way is correct since the files were moved away from the /mnt/nas1.incoming/temp-process directory
The file was moved to:
/mnt/nas1.media/Videos/Series/Person of Interest/Season 01/Person of Interest - 1x05 - Judgement.mkv
But for some reason the symlinking process does not look for the file there...
I assume that what is supposed to happen is that a symlink is to be created to /mnt/nas1.incoming/autoseed until the ratio is met and then that symlink will be deleted?


Interesting (?) filepaths:
autowatch: /mnt/nas1.incoming/autowatch
autoseed: /mnt/nas1.incoming/autoseed
temp-process: /mnt/nas1.incoming/temp-process

media: /mnt/nas1.media/Videos/Series

"nas1.incoming" and "nas1.media" are two nfs shares on my NAS called nas1
/etc/exports from nas1:
Code: Select all
"/incoming" *(insecure,insecure_locks,rw,async,all_squash,no_subtree_check)
"/media" *(insecure,insecure_locks,rw,async,all_squash,no_subtree_check)

/etc/fstab on seedbox:
Code: Select all
# NFS NAS1
nas1:/incoming  /mnt/nas1.incoming      nfs     rw,user,auto,exec       0       0
nas1:/media     /mnt/nas1.media         nfs     rw,user,auto,exec       0       0


/opt/sickbeard/autoProcessTV/rtorrentToSickBeard.py*
Code: Select all
#!/usr/bin/env python

<snip comments>

import sys
import autoProcessTV

if len(sys.argv) < 2:
    print "No folder supplied - is this being called from rtorrent?"
    sys.exit()
elif len(sys.argv) >= 3:
    autoProcessTV.processEpisode(sys.argv[1], sys.argv[2])
else:
    autoProcessTV.processEpisode(sys.argv[1])


/opt/sickbeard/
Code: Select all
alfaspyke@seedbox:/opt/sickbeard$ ls -al
total 112
drwxr-xr-x  9 root root  4096 2012-03-30 13:47 ./
drwxr-xr-x  6 root root  4096 2012-03-29 12:49 ../
drwxr-xr-x  2 root root  4096 2012-03-29 12:53 autoProcessTV/
drwxr-xr-x  5 root root  4096 2012-03-29 12:56 cherrypy/
-rw-r--r--  1 root root 35132 2012-03-29 12:49 COPYING.txt
drwxr-xr-x  6 root root  4096 2012-03-29 12:49 data/
drwxr-xr-x  8 root root  4096 2012-03-29 12:49 .git/
-rw-r--r--  1 root root   448 2012-03-29 12:49 .gitignore
-rwxr-xr-x  1 root root  2001 2012-03-29 12:49 init.fedora*
-rwxr-xr-x  1 root root  2562 2012-03-29 12:49 init.freebsd*
-rw-r--r--  1 root root  2334 2012-03-29 12:49 init.solaris11
-rwxr-xr-x  1 root root  1967 2012-03-29 12:49 init.ubuntu*
drwxr-xr-x 15 root root  4096 2012-03-29 12:56 lib/
-rw-r--r--  1 root root  2461 2012-03-29 12:49 readme.md
drwxr-xr-x  7 root root  4096 2012-03-29 12:56 sickbeard/
-rwxr-xr-x  1 root root   226 2012-03-30 13:47 sickbeardPostProcess.sh*
-rwxr-xr-x  1 root root 10599 2012-03-29 12:49 SickBeard.py*
[code]

/opt/sickbeard/sickbeardPostProcess.sh
[code]
#!/bin/bash
filePath="$1"
originalNameTemp="$2"
originalName=${originalNameTemp##*/}
seedDir="/mnt/nas1.incoming/autoseed"
echo "creating link $seedDir/$originalName to $filePath"
ln -s "$filePath" "$seedDir/$originalName"


[/code]


/home/alfaspyke/.sickbeard/config.ini
"[General]" part only
[code]

log_dir = Logs
web_port = 8081
web_host = 0.0.0.0
web_ipv6 = 0
web_log = 0
web_root = ""
web_username = <removed for public>
web_password = <removed for public>
use_api = 1
api_key = ""
enable_https = 0
https_cert = server.crt
https_key = server.key
use_nzbs = 0
use_torrents = 1
nzb_method = blackhole
usenet_retention = 500
search_frequency = 15
download_propers = 1
quality_default = 28
status_default = 3
season_folders_format = Season %02d
season_folders_default = 1
provider_order = tvtorrents ezrss btn nzbs_r_us newzbin nzbs_org womble_s_index nzbmatrix nzbs_org_old sick_beard_index
version_notify = 1
naming_ep_name = 1
naming_show_name = 1
naming_ep_type = 0
naming_multi_ep_type = 0
naming_sep_type = 0
naming_use_periods = 0
naming_quality = 0
naming_dates = 1
launch_browser = 0
use_banner = 1
use_listview = 0
metadata_xbmc = 1|1|1|1|1|1
metadata_mediabrowser = 0|0|0|0|0|0
metadata_ps3 = 0|0|0|0|0|0
metadata_wdtv = 0|0|0|0|0|0
metadata_tivo = 0|0|0|0|0|0
metadata_synology = 0|0|0|0|0|0
cache_dir = cache
root_dirs = 0|/mnt/nas1.media/Videos/Series
tv_download_dir = ""
keep_processed_dir = 0
move_associated_files = 1
process_automatically = 0
rename_episodes = 1
extra_scripts = "/opt/sickbeard/sickbeardPostProcess.sh"
git_path = ""
ignore_words = "german,french,core2hd,dutch,swedish"
[Blackhole]
nzb_dir = ""
torrent_dir = /mnt/nas1.incoming/autowatch

[/code]

and finally the interesting bits from my rtorrent.rc file
[code]
# Maximum and minimum number of peers to connect to per torrent.
min_peers = 40
max_peers = 100

# Same as above but for seeding completed torrents (-1 = same as downloading)
min_peers_seed = 10
max_peers_seed = -1

# Maximum number of simultanious uploads per torrent.
#max_uploads = 15

# Global upload and download rate in KiB. "0" for unlimited.
download_rate = 0
upload_rate = 1000

# Set filepermissions for generated files
system.umask.set = 0011


# Default directory to save the downloaded torrents.
directory.default.set = /mnt/nas1.incoming/download

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session.path.set = /home/alfaspyke/rtorrent/.session


network.scgi.open_local = /tmp/.scgi_local

# Group 1 - Auto - seed until 2.0 then delete data
group.insert_persistent_view = group_1
group.group_1.ratio.enable=
group.group_1.ratio.max.set=200

# Group 2 - Manual - seed until 2.0 then stop torrent
group.insert_persistent_view = group_2
group.group_2.ratio.enable=
group.group_2.ratio.max.set=200


# Watch a directory for new torrents
schedule = watch_directory_1,5,5,"load_start=/mnt/nas1.incoming/autowatch/*.torrent, d.set_custom1=tv, \"d.set_custom=isauto,/mnt/nas1.incoming/temp-process/\""
schedule = watch_directory_2,5,5,"load_start=/mnt/nas1.incoming/watch/*.torrent"

# Set ratio group based on isauto
system.method.set_key = event.download.inserted_new,set_ratio,"branch=d.get_custom=isauto,view.set_visible=group_1,view.set_visible=group_2"

# Set autodir to concatination of isauto and torrent name
system.method.set_key = event.download.inserted_new,set_autodir,"d.set_custom=autodir,\"$cat=$d.get_custom=isauto,$d.get_name=\""

# Set manualdir to concatination of complete dir and label name
system.method.set_key = event.download.inserted_new,set_manualdir,"d.set_custom=manualdir,\"$cat=/mnt/nas1.incoming/complete/,$d.get_custom1=\""

# Set move to dir in movedir
system.method.set_key = event.download.inserted_new,set_movedir,"branch=d.get_custom=isauto,\"d.set_custom=movedir,$d.get_custom=autodir\",\"d.set_custom=movedir,$d.get_custom=manualdir\""

# Delete .torrent
system.method.set_key = event.download.inserted_new,del_tor,"execute={rm,-rf,--,$d.get_loaded_file=}"

# Close torrents when diskspace is low.
#schedule = low_diskspace,5,60,close_low_diskspace=100M

# Move torrent data to another folder when download is complete
system.method.set_key = event.download.finished,move_complete,"execute=mkdir,-p,$d.get_custom=movedir;d.set_directory=$d.get_custom=movedir;execute=mv,-u,$d.get_base_path=,$d.get_custom=movedir"

# Set autoseed directory if Auto group
system.method.set_key = event.download.finished,move_dir,"branch=d.get_custom=isauto,d.set_directory=/mnt/nas1.incoming/autoseed/"

# Call rtorrentToSickBeard.py if in Auto group
system.method.set_key = event.download.finished,toSickbeard,"branch=d.get_custom=isauto,\"execute={/opt/sickbeard/autoProcessTV/rtorrentToSickBeard.py,$d.get_custom=movedir,$d.get_name=}\""

# Set actions for groups completed ratio
system.method.set = group.group_1.ratio.command, d.close=, "execute={rm,-rf,--,$d.get_base_path=}", d.erase=
system.method.set = group.group_2.ratio.command, d.close=






I have used some hours now tweaking and changing configs, altering nfs share/mount setups and so on.
I feel I am soooo close to get SB working with my system.
But I must admit that I wont get any further without any help.

can someone take a look at this and see if there is something obviously wrong?
If any additional info is needed just say the word.

-A
Last edited by Alfaspyke on Fri Mar 30, 2012 10:05 am, edited 1 time in total.
Alfaspyke
 
Posts: 4
Joined: Fri Mar 30, 2012 6:25 am

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby xombiemp » Fri Mar 30, 2012 10:05 am

Alfaspyke wrote:But nothing happens to the files from within the temp_process folder.
I can activate "manual postprocessing" from within SB and that "sort of works" in the sense that the scraping for show info works and the files are moved to my medialibrary with the selected file/directory structure.

But when it comes to create the symlinks to the autoseed folder the fun stops with this error message (no symlink is created)
Code: Select all
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/opt/sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/opt/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/opt/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/opt/sickbeard/sickbeard/webserve.py", line 1524, in processEpisode
    result = processTV.processDir(dir, nzbName)
  File "/opt/sickbeard/sickbeard/processTV.py", line 104, in processDir
    process_result = processor.process()
  File "/opt/sickbeard/sickbeard/postProcessor.py", line 726, in process
    existing_file_status = self._checkForExistingFile(ep_obj.location)
  File "/opt/sickbeard/sickbeard/postProcessor.py", line 117, in _checkForExistingFile
    if ek.ek(os.path.getsize, existing_file) > ek.ek(os.path.getsize, self.file_path):
  File "/opt/sickbeard/sickbeard/encodingKludge.py", line 56, in ek
    result = func(*[x.encode(sickbeard.SYS_ENCODING) if type(x) in (str, unicode) else x for x in args])
  File "/usr/lib/python2.6/genericpath.py", line 49, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/mnt/nas1.incoming/temp-process/person.of.interest.s01e05.720p.hdtv.x264-orenji.mkv'




Looking at that error it doesn't seem like that is the error for the symlink not being created. It seems like that is the error for why it fails at the temp-process folder. It seems like this is the error that would show up before you even did the manual post-process. Did you get this error from the Sickbeard log, or did all of Sickbeard crash and this was what it spit out?

It sounds like you have two problems:
1. something is going wrong when rtorrent finishes a torrent and calls rtorrentToSickBeard.py because the files stay in temp-process and Sickbeard doesn't actually process the files
2. if you manually process the files it works, but something is going wrong when Sickbeard calls the extra script sickbeardPostProcess.sh because the symlink is not created.

I think we should focus on one problem at a time. Lets get the first problem resolved then work on the symlink.
Make sure you have log.execute=/var/log/rtorrent.log in your .rtorrent.rc so we can get a log of what's going on. Just drop a torrent into the auto-watch folder (simulating Sickbeard putting it there). Let it download all the way and see how far it gets in the process. I'm guessing it will be stuck in the post-process folder and Sickbeard will never actually process the file. Don't do the manual post process at this point, just go through the rtorrent and sickbeard logs to see if you can find where something went wrong. Either rtorrent is not properly calling the rtorrentToSickBeard.py script and it will show up in the rtorrent log, or Sickbeard is not processing the files right and it will show up in the Sickbeard log.

Post any relevant parts of the logs.
xombiemp
 
Posts: 36
Joined: Tue Jan 10, 2012 5:36 pm

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby Alfaspyke » Fri Mar 30, 2012 10:47 am

Xombiemp.
Thank your for your prompt reply!

To comment on the error message first.
This message appears in SB after it is done "Manual postprocessing"
The files are scraped and moved from temp.process to the medialibrary (the files are moved and renamed) and then that error message appears.


I have done as you suggested with activating the rtorrent log and feeding autowatch with a file.

Here is the relevant output.
I have only masked the URL for the tracker as I suspect this is a rtorrent update message and not related to SB
Everything else is as it appears in the log:
Code: Select all

---
^@mkdir -p /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
---
^@
--- Success ---
^@
---
^@mv -u /mnt/nas1.incoming/download/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv /mnt/nas1.incoming/temp-process/
IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
---
^@
--- Success ---
^@
---
^@date +%s
---
^@Captured output:

^@1333124423

--- Success ---
^@
---
^@php /var/www/rutorrent/plugins/history/update.php 2 IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv 4677782650 467
7782650 142696683 30 1333120826 1333123221
 1333124423
 http://tracker.XXXXXXXXX.XXX/XXXX/announce# tv alfaspyke
---
^@
--- Success ---
^@
---
^@/opt/sickbeard/autoProcessTV/rtorrentToSickBeard.py /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p
.DTS.x264-CHD.mkv IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
---
^@Loading config from /opt/sickbeard/autoProcessTV/autoProcessTV.cfg
Opening URL: http://localhost:8081/home/postprocess/processEpisode?nzbName=IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-C
HD.mkv&quiet=1&dir=%2Fmnt%2Fnas1.incoming%2Ftemp-process%2FIMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Processing folder /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv

Processing /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv (IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv)

Processing failed for /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv:


--- Success ---
^@

The blood thing is mocking me! :)
"Processing failed" followed by "--- Success ---"

In .sickbeard/Logs/sickbeard.log this appears inside the same timeframe:
Code: Select all
Mar-30 18:41:03 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Mar-30 18:41:03 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir  doesn't exist


It seems your suspicion is correct.
The postprocessing is never executed.
Unfortunately the log doesnt say which dir doesnt exists.

Hopefully this is enough so that you can identify where the process stops/fails?

The file is located inside a directory with the same name as the file
temp-process/IMAX.blahblah.mkv/IMAX-blahblah.mkv
Not sure if it is relevant but both the imax dir and the imax file have 766 filepermissions (rwxrw-rw-)
Alfaspyke
 
Posts: 4
Joined: Fri Mar 30, 2012 6:25 am

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby xombiemp » Fri Mar 30, 2012 12:02 pm

Well, the problem is definitely in Sickbeard somewhere. rTorrent is calling the script just like it should. There should be some more details in the Sickbeard log as to why it failed. Search for:
Processing failed for /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
in the sickbeard log and post what you find around there.
xombiemp
 
Posts: 36
Joined: Tue Jan 10, 2012 5:36 pm

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby Alfaspyke » Sun Apr 01, 2012 5:56 am

Some searching through the logs later....

Code: Select all
Mar-30 18:11:02 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Mar-30 18:11:02 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir  doesn't exist
Mar-30 18:20:26 DEBUG    CP Server Thread-5 :: Processing folder /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Mar-30 18:20:27 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM tv_shows
Mar-30 18:20:28 INFO     CP Server Thread-5 :: Processing /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv (IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv)
Mar-30 18:20:28 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM history WHERE resource LIKE ? with args [u'IMAX_Dinosaurs_Giants_of_Patagonia_2007_Bluray_1080p_DTS_x264_CHD_mkv']
Mar-30 18:20:28 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM history WHERE resource LIKE ? with args [u'IMAX_Dinosaurs_Giants_of_Patagonia_2007_Bluray_1080p_DTS_x264_CHD']
Mar-30 18:20:28 DEBUG    CP Server Thread-5 :: sickbeard.db: SELECT * FROM history WHERE resource LIKE ? with args [u'IMAX_Dinosaurs_Giants_of_Patagonia_2007_Bluray_1080p_DTS_x264_CHD_mkv']
Mar-30 18:20:28 INFO     CP Server Thread-5 :: Analyzing name u'/mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv'
Mar-30 18:20:29 DEBUG    CP Server Thread-5 :: Unable to parse, skipping: Unable to parse /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Mar-30 18:20:29 INFO     CP Server Thread-5 :: Analyzing name u'IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv'
Mar-30 18:20:29 DEBUG    CP Server Thread-5 :: Unable to parse, skipping: Unable to parse IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Mar-30 18:20:29 INFO     CP Server Thread-5 :: Analyzing name u'IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv'
Mar-30 18:20:29 DEBUG    CP Server Thread-5 :: Unable to parse, skipping: Unable to parse IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Mar-30 18:20:29 INFO     CP Server Thread-5 :: Analyzing name u'/mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv'
Mar-30 18:20:29 DEBUG    CP Server Thread-5 :: Unable to parse, skipping: Unable to parse /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Mar-30 18:20:29 INFO     CP Server Thread-5 :: Analyzing name u'IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv'
Mar-30 18:20:29 DEBUG    CP Server Thread-5 :: Unable to parse, skipping: Unable to parse IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Mar-30 18:20:29 WARNING  CP Server Thread-5 :: Processing failed for /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv:




edit:
In the meantime sickbeard collected Spartacus s02e10, rtorrent picked it up. seeded to 2.0 ratio and deleted it.
The resulting file scraped and parsed and snuggly inserted into the medialibrary.
This is weird!
Automatic seems to work.

Manual postprocessing does not.
Out of curiosity I decided to do a manual postprocessing on the IMAX file.
Here is the resulting error message from within SB. (not a 500 error message this time)

Code: Select all
Postprocessing results
Processing folder /mnt/nas1.incoming/temp-process
Recursively processing a folder: IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Processing folder /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv
Processing /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv (None)
Processing failed for /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv:
Processing /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv (None)
File /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv seems to be a directory
Processing failed for /mnt/nas1.incoming/temp-process/IMAX.Dinosaurs.Giants.of.Patagonia.2007.Bluray.1080p.DTS.x264-CHD.mkv:
Alfaspyke
 
Posts: 4
Joined: Fri Mar 30, 2012 6:25 am

Re: How to: rTorrent + ruTorrent + Sickbeard Seamless

Postby xombiemp » Sun Apr 01, 2012 11:39 pm

I just realized the reason it failed on the IMAX Dinosaurs thing is probably because it doesn't have a Season and Episode. It looks like it's a movie and not even a TV show, so that's why sickbeard fails on it. If it's working for shows sickbeard grabs, then you are good to go.
xombiemp
 
Posts: 36
Joined: Tue Jan 10, 2012 5:36 pm

PreviousNext

Return to Mobile Apps, Extra Scripts, Supplementary Tools

Who is online

Users browsing this forum: No registered users and 2 guests

cron