MovieGrabber - Completely Automated Movie Downloader

Got a program that plays well with SABnzbd? Share it here!
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Re: MovieGrabber - Completely Automated Movie Downloader

Post by roontoon »

binhex wrote:hi roontoon, thanks for posting back, let me know if the problem does get resolved.
No it did not... below is the feedback that I got from bugs.python.org. Then they closed the case. Moviegrabber is the ONLY python app that this is happening with and all are running 2.7.1. Some questions. I know that you are running PIL, are you relying on the libraries that you include or do you/can you rely on an installed version of PIL and any other libraries that moviegrabber uses. I suspect that the problem lies in this area. Do you have access to a mac to debug or witness the problem for yourself. Are any another Mac users out there using OSX 10.7.x having the same issue? Would love to get this running correctly so let me know what I can do to help debug it.
Can you isolate the cause? There is way too much in that core dump to try to debug the problem. Without knowing what code in this Moviegrabber app caused the bug we can't do anything to debug the issue.

All I know is that this happens with Moviegrabber and no other app that I am running (5 of them). Attached is the code I am using. This is WAY above what I know how to do but I can tell you that I am running it on a mac with 2.7.1 installed and OSX lion. Attached is the source. Thanks

Then I'm going to assume the bug lies with Moviegrabber doing something wrong and it isn't Python's direct fault.
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

hi roontoon, thanks again for posting the response, i too am leaning towards the PIL module causing the issue your seeing, so i will be removing this module in the next release, its caused me too many headaches in the past so time to dump it. i dont have a firm date yet for the next release as its going to take a little while to rework the code but i will try and get 2.1.4 out by end of next week hopefully.
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

hi vizel, the warning your seeing of Warning Poster Download, the _imaging C module is not installed" is again due to the PIL module, see my previous post to this one regards removal of PIL, im hoping this fixes your issue too.

binhex.
roontoon
Newbie
Newbie
Posts: 41
Joined: April 26th, 2011, 2:45 pm

Re: MovieGrabber - Completely Automated Movie Downloader

Post by roontoon »

binhex wrote: I dont have a firm date yet for the next release as its going to take a little while to rework the code but i will try and get 2.1.4 out by end of next week hopefully.
I have time... no rush.
vizel
Newbie
Newbie
Posts: 2
Joined: January 28th, 2012, 1:27 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by vizel »

binhex wrote:hi vizel, the warning your seeing of Warning Poster Download, the _imaging C module is not installed" is again due to the PIL module, see my previous post to this one regards removal of PIL, im hoping this fixes your issue too.

binhex.

Cool,

I look forward to it and letting you know how it works =)

Best,
treblade
Newbie
Newbie
Posts: 19
Joined: November 3rd, 2011, 9:51 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by treblade »

Hi can anybody help me to make a start script for debian squeeze??
Why Sabnzbd dont copy movies in the moviegrabber folder?
treblade
Newbie
Newbie
Posts: 19
Joined: November 3rd, 2011, 9:51 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by treblade »

Please help me? the script doesnt work.
i become this failure
Exit(-1) Cannot run script /root/SABnzbd/scripts/MovieGrabber Post Processing.py (Mehr)
revelation_22
Newbie
Newbie
Posts: 21
Joined: October 19th, 2008, 12:21 pm

Ubuntu init script

Post by revelation_22 »

I modified the init script found here to start/stop MovieGrabber on my Ubuntu server with MovieGrabber installed in /home/USER/.moviegrabber. Edit as needed and copy to /etc/init.d/moviegrabber.

Change permissions:

Code: Select all

sudo chmod +x /etc/init.d/moviegrabber
Create startup links:

Code: Select all

sudo update-rc.d moviegrabber defaults
Start MovieGrabber manually:

Code: Select all

sudo service moviegrabber start
/etc/init.d/moviegrabber

Code: Select all

#! /bin/sh

# Basis: Parts of the script based on and inspired by work from
#		tret (sabnzbd.org), beckstown (xbmc.org),
#		and midgetspy (sickbeard.com).
# Fixes: Alek (ainer.org), James (ainer.org), Tophicles (ainer.org),
#		croontje (sickbeard.com)


### BEGIN INIT INFO
# Provides:          moviegrabber
# Required-Start:    $all
# Required-Stop:     $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: starts and stops moviegrabber
# Description:       MovieGrabber is an Usenet movie downloader
### END INIT INFO
 
#Required -- Must Be Changed!
USER="changeme" #Set Linux Mint, Ubuntu, or Debian user name here.
 
#Required -- Defaults Provided (only change if you know you need to).
HOST="127.0.0.1" #Set MovieGrabber address here.
PORT="9191" #Set MovieGrabber port here.
 
#Optional -- Unneeded unless you have added a user name and password to MovieGrabber.
MGUSR="" #Set MovieGrabber user name (if you use one) here.
MGPWD="" #Set MovieGrabber password (if you use one) here.
 
#Script -- No changes needed below.
case "$1" in
start)
#Start MovieGrabber and send all messages to /dev/null.
cd /home/$USER/.moviegrabber
echo "Starting MovieGrabber"
sudo -u $USER -EH nohup python /home/$USER/.moviegrabber/MovieGrabber.py -d > /dev/null 2>&1 &
;;
stop)
#Shutdown MovieGrabber and delete the index.html files that wget generates.
echo "Stopping MovieGrabber"
wget -q --user=$MGUSR --password=$MGPWD "http://$HOST:$PORT/shutdown" --delete-after
sleep 6s
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0
treblade
Newbie
Newbie
Posts: 19
Joined: November 3rd, 2011, 9:51 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by treblade »

Thank you for help i modify the file and now its run very good on my openmediavault nas.
treblade
Newbie
Newbie
Posts: 19
Joined: November 3rd, 2011, 9:51 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by treblade »

Why i cant see any poster?
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

treblade wrote:Why i cant see any poster?
hi treblade, the reason your not seeing posters is because pil is unable to run for some reason, i am going to try and diagnose the issue for you by downloading openmediavault and trying to run it, can you tell me if your running 64bit or 32bit version?.

thanks,
binhex.
Draky
Newbie
Newbie
Posts: 19
Joined: April 20th, 2010, 3:10 pm
Location: France

Re: MovieGrabber - Completely Automated Movie Downloader

Post by Draky »

Hello

Have DL "with pil" but it didn't launch so I use the "nopil" version.

After, on localhost config 9191, I define folders for sabnzbd+ but I haed this error :
{quote]500 Internal Server Error

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

Traceback (most recent call last):
File "cherrypy\_cprequest.pyc", line 656, in respond
File "cherrypy\lib\encoding.pyc", line 188, in __call__
File "cherrypy\_cpdispatch.pyc", line 34, in __call__
File "MovieGrabber.py", line 4131, in save_config_directories
File "ConfigParser.pyc", line 404, in write
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 22: ordinal not in range(128)
[/quote]

My complete download folder is : \\FREEBOX\Disque dur\Téléchargements\Newsgroups because it is a NAS...

Any clue about the problem ?

Thx :)
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

hi draky, your issue is that your pathname has a non ascii character in it, namely:-

Téléchargements

the official release of 2.1.4 out shortly will fix this issue, also please be aware moviegrabber does NOT support unc paths, so you will need to map your nas to a drive letter and reference that.

binhex.

p.s also keep in mind the version your running is a beta and not a full release thus it may contain bugs.
binhex
Sr. Member
Sr. Member
Posts: 470
Joined: December 5th, 2008, 11:54 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by binhex »

ok 2.1.4 officially released, few things to note:-

1. pil has not been removed, at present i cannot find a suitable replacement for pil and so you may still see issues with certain linux/mac distros not displaying poster images. if anybody out there is willing to let me have remote access onto a box that isnt working then i can do further investigation.

2. if your running 2.1.4 beta then please make sure you alter the line "version = 2.1.4" to be "version = 2.1.3", this will then force an upgrade of your config.ini file when running 2.1.4 release.

3. i have added in the ability to download nzb files in the history/queue view even if the movies dont match your criteria, this is an interim solution as it currently does NOT download to the watched folder on the remote server but will download it on the device your using to browse, look out for full implementation in 2.1.5

upgrading
1. shutdown moviegrabber
2. download and unzip to same location overwriting all files when prompted
3. start moviegrabber
treblade
Newbie
Newbie
Posts: 19
Joined: November 3rd, 2011, 9:51 am

Re: MovieGrabber - Completely Automated Movie Downloader

Post by treblade »

binhex wrote:
treblade wrote:Why i cant see any poster?
hi treblade, the reason your not seeing posters is because pil is unable to run for some reason, i am going to try and diagnose the issue for you by downloading openmediavault and trying to run it, can you tell me if your running 64bit or 32bit version?.

thanks,
binhex.
I have the 64 bit version
Post Reply