Page 35 of 76

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 1:31 am
by drak0
Zypher82 wrote: Hi,

Does anyone know how to config Sick Beard to file sizes per show? Let's say I want to only grab a file that is between 200-400Mb? That way it doesn't grab a 1.5gb file.

Thanks,
Mike
I would love to see this feature as well - I hate grabbing a 43min HD tv show that is ~4gig...  :)

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 2:56 am
by Testversi
really great work on Sick Beard! I love it!

Finally I could bring myself to setup a media center, now having everything named in a consistant manner.

The size-limit per epispde feature would be a good addition. Especially on some newer releases where they upload like 6gb per ep BluRay rips.

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 3:34 am
by funstuie
Right I have sorted my folders issue and sickbeard seems to be working perfectly.

At the moment Sab and Sickbeard are running on a dedicated server which I use to download everything. All my movies and TV shows are stored on my WHS. Normally sab would download the various files on the server and I would then clean up the files and transfer over to the WHS.

Does anything know of a program or script which I could run periodically on my server to move the TV show files across to the WHS without deleting the folders (as Sickbeard will need these going forward)?

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 4:38 am
by drewbrees
Hello,

I hope someone can help.

My SabNZBd has a completed download folder of L:\Media\Video
When I download stuff in the category TV the avi/mkv goes to L:\Media\Video\TV (as the category TV goes to subfolder TV).  All other files (NFO, etc are deleted).  This is fine.

But I can't get Sick Beard to do any post processing on the files.

I have set the SabNZBd post processing to: C:\Program Files (x86)\SickBeard-win32-alpha-build446\autoProcessTV

I have ticked "Rename Episodes" and "Scan & Process TV Download Dir" in Sick Beard.

All I want is for SickBeard to rename the file with the episode name and move it to L:\Media\Video\TV\SHOWNAME ...

Obviously I have all the shows indexed in Sick Beard first and it knows where the episodes I already have are.

can anyone help?

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 5:49 am
by funstuie
drewbrees wrote: Hello,

I hope someone can help.

My SabNZBd has a completed download folder of L:\Media\Video
When I download stuff in the category TV the avi/mkv goes to L:\Media\Video\TV (as the category TV goes to subfolder TV).  All other files (NFO, etc are deleted).  This is fine.

But I can't get Sick Beard to do any post processing on the files.

I have set the SabNZBd post processing to: C:\Program Files (x86)\SickBeard-win32-alpha-build446\autoProcessTV

I have ticked "Rename Episodes" and "Scan & Process TV Download Dir" in Sick Beard.

All I want is for SickBeard to rename the file with the episode name and move it to L:\Media\Video\TV\SHOWNAME ...

Obviously I have all the shows indexed in Sick Beard first and it knows where the episodes I already have are.

can anyone help?
I am new to all this but I think you need to have Sab download the files to a completely seperate folder and then Sickbeard will process them. At the moment it looks like SB is trying to process the same files/folders.

On my setup Sab downloads the files to C:\Downloads\Need Sorting when Sickbeard process's these files they are renamed and moved to c:\Downloads\TV\*Series Name*\*Season*

From what I can tell you need to think of the folder that sab downloads the files to as a temp folder which sickbeard will process and delete all the guff once it's finished.

Hope that makes sense.

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 8:53 am
by GhostDog
drewbrees wrote: Hello,

I hope someone can help.

My SabNZBd has a completed download folder of L:\Media\Video
When I download stuff in the category TV the avi/mkv goes to L:\Media\Video\TV (as the category TV goes to subfolder TV).  All other files (NFO, etc are deleted).  This is fine.

But I can't get Sick Beard to do any post processing on the files.

I have set the SabNZBd post processing to: C:\Program Files (x86)\SickBeard-win32-alpha-build446\autoProcessTV

I have ticked "Rename Episodes" and "Scan & Process TV Download Dir" in Sick Beard.

All I want is for SickBeard to rename the file with the episode name and move it to L:\Media\Video\TV\SHOWNAME ...

Obviously I have all the shows indexed in Sick Beard first and it knows where the episodes I already have are.

can anyone help?
If you're using Windows, make sure you've set the Default User script to sabToSickBeard.exe in sabnzdb (Under config/switches).  Set it to sabToSickBeard.py if using Linux.
Refer to http://code.google.com/p/sickbeard/wiki/PostProcessing

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 9:05 am
by funstuie
GhostDog wrote:

If you're using Windows, make sure you've set the Default User script to sabToSickBeard.exe in sabnzdb (Under config/switches).  Set it to sabToSickBeard.py if using Linux.
Refer to http://code.google.com/p/sickbeard/wiki/PostProcessing
Just to clarify.

In sab (under config/switches) on my setup the following are ticked:

Enable Quick Check
Enable Unrar
Enable TS Joining
Enable Par Cleanup
Only Get Articles for Top of Queue

Should I leave them ticked or untick them?

Thanks

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 9:24 am
by Zypher82
Was anyone successful with getting SickBeard to start/stop with SABnzbd? I'm running both on my Synology NAS and would love to have SickBeard start/stop automatically instead of having the terminal open all the time on my home computer.

Thanks,
Mike

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 10:14 am
by geebee
Zypher82 wrote: Was anyone successful with getting SickBeard to start/stop with SABnzbd? I'm running both on my Synology NAS and would love to have SickBeard start/stop automatically instead of having the terminal open all the time on my home computer.

Thanks,
Mike
Yup. I added the start and stop commands to the sabnzbd.sh script@

# starting sabnzbd…
/sbin/chroot_init “/etc/init.d/sabnzbd-main.sh” start
RETVAL=$?
/bin/sleep 5
/sbin/daemon_mgr sickbeard1 start “python /share/Public/Sick/SickBeard.py –quiet”  <-----added line

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 11:54 am
by ScottAllyn
Zypher82 wrote: Was anyone successful with getting SickBeard to start/stop with SABnzbd? I'm running both on my Synology NAS and would love to have SickBeard start/stop automatically instead of having the terminal open all the time on my home computer.
Mike, you can put the sickbeard startup command line in the SABnzbd startup file. If you installed SABnzbd from the package intended for the Synology NAS', you'll find that file here:

/var/packages/sab2/target/scripts/sabstart.sh

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 12:06 pm
by Zypher82
Yup. I added the start and stop commands to the sabnzbd.sh script@

# starting sabnzbd…
/sbin/chroot_init “/etc/init.d/sabnzbd-main.sh” start
RETVAL=$?
/bin/sleep 5
/sbin/daemon_mgr sickbeard1 start “python /share/Public/Sick/SickBeard.py –quiet”   <-----added line
Thanks geebee. Maybe my .sh file is a little different, I'm not sure where to enter the /sbin/daemon_mgr sickbeard1 start “python /share/Public/Sick/SickBeard.py –quiet line?

Code: Select all

#!/bin/sh
#------------------------------------------
# sabstart
#
# use this script to start SABnzbd in deamon
# mode.
#------------------------------------------

DIR="/var/packages/sab2/target";
export PATH="$PATH:$DIR/utils/bin:$DIR/sab";

rm -rf $DIR/log/*
rm -rf $DIR/sab/logs/*



# first, find ip or hostname
IPaddr="";
port="";

# get it out sab.ini
if [ -r $DIR/sab/sab.ini ]; then
	IPaddr=`/bin/get_key_value $DIR/sab/sab.ini host`
fi

# or just use 0.0.0.0 (all interfaces, scary if you have multiple interfaces...) 
if [ "$IPaddr" = "" ]; then
	IPaddr="0.0.0.0"
fi

# same goes for port
if [ -r $DIR/sab/sab.ini ]; then
	port=`/bin/get_key_value $DIR/sab/sab.ini port`
fi
if [ "$port" = "" ]; then
	port=9200
fi

# adjust admin url in INFO file of package to reflect configured port number
cat $DIR/../INFO | sed "s/^adminport.*$/adminport="$port"/g" > /tmp/$$port.txt
mv /tmp/$$port.txt $DIR/../INFO


# needed if not called via packagemanager
if [ "$SERVER_ADDR" = "" ]; then
	SERVER_ADDR=`hostname`
fi


# start the thing
echo -n `/bin/date`>>$DIR/log/scripts.log;
echo ": Starting SABnzbd using IP address $IPaddr and port $port">>$DIR/log/scripts.log
$DIR/utils/bin/python $DIR/sab/SABnzbd.py -s ${IPaddr}:${port} -f $DIR/sab/sab.ini -d
@Scott - Thanks for showing me the path for the sabstart.sh file.

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 1:02 pm
by grither
funstuie wrote:
drewbrees wrote: Hello,

I hope someone can help.

My SabNZBd has a completed download folder of L:\Media\Video
When I download stuff in the category TV the avi/mkv goes to L:\Media\Video\TV (as the category TV goes to subfolder TV).  All other files (NFO, etc are deleted).  This is fine.

But I can't get Sick Beard to do any post processing on the files.



I have set the SabNZBd post processing to: C:\Program Files (x86)\SickBeard-win32-alpha-build446\autoProcessTV

I have ticked "Rename Episodes" and "Scan & Process TV Download Dir" in Sick Beard.

All I want is for SickBeard to rename the file with the episode name and move it to L:\Media\Video\TV\SHOWNAME ...

Obviously I have all the shows indexed in Sick Beard first and it knows where the episodes I already have are.

can anyone help?
I am new to all this but I think you need to have Sab download the files to a completely seperate folder and then Sickbeard will process them. At the moment it looks like SB is trying to process the same files/folders.

On my setup Sab downloads the files to C:\Downloads\Need Sorting when Sickbeard process's these files they are renamed and moved to c:\Downloads\TV\*Series Name*\*Season*

From what I can tell you need to think of the folder that sab downloads the files to as a temp folder which sickbeard will process and delete all the guff once it's finished.

Hope that makes sense.
I am having a similar problem... i have downloads going to a separate folder, have the scripts turned on (win 7 so using the sickbeardtosab.exe )

Here's an error message i get from SABNZBD.  note that i have email notifications turned on, here's a copy of a problem email

Hi,

SABnzbd has downloaded "Jxxxxxxxxx S01E03 Fixer 720p WEB DL DD5 1 H 264 RANDi"

Finished at 2010-04-21 12:40:40
Downloaded 1.30 GB

Results of the job:

Stage Download
   Downloaded in 26 minutes 8 seconds at an average of 868.04 KB/s

Stage Repair
   [Jxxxxxxxx.S01E03.Fixer.720p.WEB-DL.DD5.1.H.264-RANDi] Repaired in 6 seconds

Stage Unpack
   [Jxxxxxxxxx.S01E03.Fixer.720p.WEB-DL.DD5.1.H.264-RANDi] Unpacked 1 files/folders in 10 seconds

Stage Script
   Unable to open URL http://localhost:8090/home/postprocess/ ... &quiet=1&d...


Output from user script "sabToSickBeard.exe" (Exit code = 0):
Loading config from e:\Program Files (x86)\SickBeard-win32-alpha-build447\autoProcessTV\autoProcessTV.cfg
Unable to open URL http://localhost:8090/home/postprocess/ ... +264+RANDi


last comments:  i have edited the above to hide the show name, but its Jxxxxxxxxxx for example.  Also, the port 8090 is the port which sickbeard is running on... i had this also set to 8081 before which is the sabnzbd port but got the same error message...

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 1:23 pm
by kayex
Output from user script "sabToSickBeard.py" (Exit code = 1):
ionice: execvp failed: No such file or directory
s anyone else getting the above error in SAB during the post-processing? It was working fine until I did the latest git-pull on the main trunk.
Doing a manul post-process works fine.  Any ideas?

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 1:49 pm
by GhostDog
funstuie wrote:
GhostDog wrote:

If you're using Windows, make sure you've set the Default User script to sabToSickBeard.exe in sabnzdb (Under config/switches).  Set it to sabToSickBeard.py if using Linux.
Refer to http://code.google.com/p/sickbeard/wiki/PostProcessing
Just to clarify.

In sab (under config/switches) on my setup the following are ticked:

Enable Quick Check
Enable Unrar
Enable TS Joining
Enable Par Cleanup
Only Get Articles for Top of Queue

Should I leave them ticked or untick them?

Thanks

Those are the default settings, so leave them checked.

Re: Sick Beard (ALPHA) - Download/sort/rename episodes, XBMC/growl integration, more

Posted: April 21st, 2010, 4:05 pm
by drewbrees
Thanks everyone for the help, I've got it working.
Grither - I'm afraid I can't help with your program, but maybe it's a Windows 7 firewall setting?

Does anyone know if it's possible to connect to the various search providers using HTTPS?