[WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Got a program that plays well with SABnzbd? Share it here!
Post Reply
Gotcha007
Newbie
Newbie
Posts: 11
Joined: January 25th, 2011, 4:06 pm
Contact:

[WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by Gotcha007 »

Image

Project Home : http://code.google.com/p/crazy-beaver/

I'm starting from the very good work of binhex to implement a new version of Auto Movie Downloader

This monitors nzbmatrix.com/nzbs.org/nzb.su for releases on a defined period, it then checks imdb for certain criteria, if there is a positive match then it will download the nzb to either a queued folder or to the defined "watched" folder for sabnzbd+ to download.

******** Windows Binaries and Source Code available (works with Linux) ********

feature list
 * checks for existing movies in folder / XBMC or CouchPotato (if found can download it and remove it from CouchPotato)
 * define genres
 * define min rating
 * define min votes
 * define min year
 * define favorite actors
 * define favorite directors
 * define favorite characters
 * define favorite movie titles
 * define ignore titles
 * define ignore genres
 * define prefered genres and rating
 * define queue genres (used for genres you may or may not want)
 * define queue year (can be used for early movies you may or may not want)
 * download trailer for movie
 * create metadata for movie browser (media center plugin)
 * email notification of queued and downloading jobs
 * min download size to accept
 * title value filtering e.g telesync, telecine etc.
 * Send Prowl and Growl notification
 * Send notification to XBMC
 * Manual Download of skipped movie


Image


TODO --> http://code.google.com/p/crazy-beaver/issues/list

Any suggestions are welcome.

Installation
- First you need to edit the default config.ini and then rename it to config.ini
- If you want to run it from python and therefore not using the windows Binaries you must be sure that you have the following installed:

  If you want to use the source code and run it from python you will need the below modules You will need
   * Python 2.7 minimum http://www.python.org/
   * python-wxtools  2.9.1.1 http://www.wxpython.org/download.php#unstable
   * python-mechanize 0.2.4 http://wwwsearch.sourceforge.net/mechanize/
   * ConfigObj 4.7.2 http://www.voidspace.org.uk/python/configobj.html

We work well with

Image Image Image
Image


Change Log
Change log 0.5.4b 20Th March 2011
- Corrected an error loading couchpotatobigxx.png
- Corrected an error loading Icon01.jpg

Change Log for 0.5.2b 20Th March 2011
- Complete Re-design
- Possibility to watch the trailer (VLC must be installed)
- New addition since last import are shown
- some bugs correction

0.4.0b 20Th Feb 2011
- Improved and Corrected a bug when movie contain strange character in Title. Movie is skipped
- Added a menu to view the Warning / Error and Console Log
- Added a menu to clear the Warning / Error and Console Log
- Added an Info bar on the top that show up when Warning or Error appears after the check
- Added an IMDB button to go on IMDB website and consult the selected movie
- Added the date into the History View
- History view can now be configured to see a numbers of last days (config in Config.ini)
- Config.ini has been modified

0.3.3b 18Th Feb 2011
- Improved the function to compare the movie. Avoiding to put the same movie into History
- Improving function that shows movie info. Movie info was not shown when Poster was not present in IMDB
- Improved Warning and Error log. Still work to do
- Changed to wxPython 2.9.1.1
- Corrected a bug when movie title contained strange Characters. Movie is now skipped without making an error

0.3.2b 15Th Feb 2011
CORRECTED : issue with nzbsu_movietitle not defined with DEBUG and NZBDownload function

0.3.1b 14Th Feb 2011
CORRECTED : Issue with nzbsu_movietitle not defined when debug and nzbsu choosed
CORRECTED : Issue with index_site not defined when Debug and Provider is nzbsu
CORRECTED : changed default value for notifylog into default config.ini

0.3.0b 14Th Feb 2011
- Added Image CouchPotato / XBMC into History if found if one of these DB
- Possibility to download what has been skipped + ask for removal from CouchPotato if found (Issue 11)
- Added Image CouchPotato / XBMC into movie if found into one of these DB
- Added Test connection for XBMC / CouchPotato / NZBS / NZBSU
- Several changes into Config.ini (please start from new)
- Added Reason for Reject into Movie Info
- Send notification to XBMC when downloaded (Issue 8)
- Check if movie present in CouchPotato / XBMC before downloading a movie (Issue 9)
- Added Donate Button
- Possibility to Enable/Disable Poster (Issue 3)
- Added Index into History
- Corrected Issue : Show last import on top of History
- Added Support for NZBS (Issue 4)
- Added Support for NZB.SU (Issue 6)
- Added Possibility to change the server to check before checking for new movies

0.2.0b
- Program can now check automatically for new movies
- Status Bar is updated with the process history when it check for new movies
- Added an internet connection status (Internet connection and nzbmatrix connection)
- Removed Configobj module
- History table is Ordered by date, newest first

0.0.4a
- Added Linux Support
- Disabled the config menu to avoid the error when clicking on it (that feature is not yet implemented)
- Bad variable by default in the default config.ini file
Last edited by Gotcha007 on March 29th, 2011, 3:28 pm, edited 1 time in total.
[url=http://"http://sharethe.tv/gotcha007"]Image[/url][url=http://"http://forum.xbmc.org/showthread.php?p=707931&posted=1#post707931"]Image[/url]
Gotcha007
Newbie
Newbie
Posts: 11
Joined: January 25th, 2011, 4:06 pm
Contact:

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by Gotcha007 »

A screenshot of the next version that will be released soon :

Image

-Possibility to access the trailer from Crazy Beaver
-Re-design of the application to make it more 'sexy'
-New found movie from last check are shown with a different icon
-Movie currently watched by CouchPotato and where a release has been found can be shown in a pop-up windows where you can download what you want
-and more to come....
[url=http://"http://sharethe.tv/gotcha007"]Image[/url][url=http://"http://forum.xbmc.org/showthread.php?p=707931&posted=1#post707931"]Image[/url]
BlackBurn
Newbie
Newbie
Posts: 8
Joined: October 6th, 2010, 3:10 am

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by BlackBurn »

I like this idea, something that would be really cool is to integrate this with follw.it.

So after watching enough movies and reported them to follw.it, it will generate a recommendations list for you.
It would be cool if this recommendations list is imported in to Couchpotato (of course only the movies you don't have).
Gotcha007
Newbie
Newbie
Posts: 11
Joined: January 25th, 2011, 4:06 pm
Contact:

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by Gotcha007 »

BlackBurn wrote: I like this idea, something that would be really cool is to integrate this with follw.it.

So after watching enough movies and reported them to follw.it, it will generate a recommendations list for you.
It would be cool if this recommendations list is imported in to Couchpotato (of course only the movies you don't have).
Very good idea, in fact I already thought about it but with an integration with Trakt.tv because I know they have an API for it.
I'll check follw.it. Thanks for the suggestion
[url=http://"http://sharethe.tv/gotcha007"]Image[/url][url=http://"http://forum.xbmc.org/showthread.php?p=707931&posted=1#post707931"]Image[/url]
simonk83
Jr. Member
Jr. Member
Posts: 69
Joined: December 11th, 2010, 3:41 pm

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by simonk83 »

Forgive me for being a dumbass, but I'm not 100% sure how this actually differs from CouchPotato?  I'm already using CP (along with SickBeard and Sab) and it works great.  How does your program integrate into the mix?
Gotcha007
Newbie
Newbie
Posts: 11
Joined: January 25th, 2011, 4:06 pm
Contact:

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by Gotcha007 »

simonk83 wrote: Forgive me for being a dumbass, but I'm not 100% sure how this actually differs from CouchPotato?   I'm already using CP (along with SickBeard and Sab) and it works great.   How does your program integrate into the mix?
The difference is that in CP you specify a movie name. In CB you just ask everything that goes out on Usenet that match your criterias (rating, genre, year,..)
[url=http://"http://sharethe.tv/gotcha007"]Image[/url][url=http://"http://forum.xbmc.org/showthread.php?p=707931&posted=1#post707931"]Image[/url]
blaine12
Newbie
Newbie
Posts: 3
Joined: February 2nd, 2011, 10:50 am

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by blaine12 »

Absolute dumbass question here. How do you launch the GUI? I downloaded the windows binaries, ran through the config, and ran CrazyBeaver.exe. A command prompt opened momentarily. I did try Google, and searched up and down your Google Code site, but didn't see any documentation on how to access the GUI.

Thanks!
-Blaine

Edit: Saw your post on XBMC forums, so I tried running the executable from a command prompt as recomended to someone else. Played with the config again and got it working!

Thanks again!
Last edited by blaine12 on March 29th, 2011, 2:00 pm, edited 1 time in total.
Gotcha007
Newbie
Newbie
Posts: 11
Joined: January 25th, 2011, 4:06 pm
Contact:

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by Gotcha007 »

blaine12 wrote: Absolute dumbass question here. How do you launch the GUI? I downloaded the windows binaries, ran through the config, and ran CrazyBeaver.exe. A command prompt opened momentarily. I did try Google, and searched up and down your Google Code site, but didn't see any documentation on how to access the GUI.

Thanks!
-Blaine

Edit: Saw your post on XBMC forums, so I tried running the executable from a command prompt as recomended to someone else. Played with the config again and got it working!

Thanks again!
You have to launch the crazybeaver.exe but make sure that the default config.ini  is renamed to config.ini
[url=http://"http://sharethe.tv/gotcha007"]Image[/url][url=http://"http://forum.xbmc.org/showthread.php?p=707931&posted=1#post707931"]Image[/url]
Gotcha007
Newbie
Newbie
Posts: 11
Joined: January 25th, 2011, 4:06 pm
Contact:

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by Gotcha007 »

Small update also by the way that I forgot to post here

Change Log
Change log 0.5.4b 20Th March 2011
- Corrected an error loading couchpotatobigxx.png
- Corrected an error loading Icon01.jpg

Change Log for 0.5.2b 20Th March 2011
- Complete Re-design
- Possibility to watch the trailer (VLC must be installed)
- New addition since last import are shown
- some bugs correction

Image
[url=http://"http://sharethe.tv/gotcha007"]Image[/url][url=http://"http://forum.xbmc.org/showthread.php?p=707931&posted=1#post707931"]Image[/url]
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by nomar383 »

Why did you go with a GUI instead of a web interface? I would probably use this if I wasn't tied to a GUI on one machine :)
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
Gotcha007
Newbie
Newbie
Posts: 11
Joined: January 25th, 2011, 4:06 pm
Contact:

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by Gotcha007 »

nomar383 wrote: Why did you go with a GUI instead of a web interface? I would probably use this if I wasn't tied to a GUI on one machine :)
It's foreseen for the future but for the time being I was more confident with the GUI.
[url=http://"http://sharethe.tv/gotcha007"]Image[/url][url=http://"http://forum.xbmc.org/showthread.php?p=707931&posted=1#post707931"]Image[/url]
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by sander »

How should I run this on Ubuntu Linux? I get the error messages below...

Code: Select all

sander@R540:~/Downloads/Crazy Beaver source$ python setup.py 
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    import py2exe
ImportError: No module named py2exe

sander@R540:~/Downloads/Crazy Beaver source$ python CrazyBeaver.py 
Traceback (most recent call last):
  File "CrazyBeaver.py", line 20, in <module>
    import wx.animate
ImportError: No module named wx.animate
sander@R540:~/Downloads/Crazy Beaver source$ 

Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie download program

Post by sander »

I installed SPE, which took care of the wx / wx.animate stuff.

I then installed python-mechanize.

Now the problems below:

Code: Select all

sander@R540:~/Downloads/Crazy Beaver source$ 
sander@R540:~/Downloads/Crazy Beaver source$ 
sander@R540:~/Downloads/Crazy Beaver source$ python CrazyBeaver.py 
Traceback (most recent call last):
  File "CrazyBeaver.py", line 24, in <module>
    from checkmovie import CheckMovie
  File "/home/sander/Downloads/Crazy Beaver source/checkmovie.py", line 24, in <module>
    import mechanize
ImportError: No module named mechanize
sander@R540:~/Downloads/Crazy Beaver source$ python CrazyBeaver.py 
Traceback (most recent call last):
  File "CrazyBeaver.py", line 24, in <module>
    from checkmovie import CheckMovie
  File "/home/sander/Downloads/Crazy Beaver source/checkmovie.py", line 40, in <module>
    execfile("./config.ini")
IOError: [Errno 2] No such file or directory: './config.ini'
sander@R540:~/Downloads/Crazy Beaver source$ 
sander@R540:~/Downloads/Crazy Beaver source$ touch ./config.ini
sander@R540:~/Downloads/Crazy Beaver source$ 
sander@R540:~/Downloads/Crazy Beaver source$ python CrazyBeaver.py 
Traceback (most recent call last):
  File "CrazyBeaver.py", line 1767, in <module>
    app = CrazyBrowser()
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "CrazyBeaver.py", line 1762, in OnInit
    fen = MainWindow("Crazy Beaver - Nzb's made easy     " + Version)
  File "CrazyBeaver.py", line 56, in __init__
    self.info = wx.InfoBar(self.panel)
AttributeError: 'module' object has no attribute 'InfoBar'
sander@R540:~/Downloads/Crazy Beaver source$ 


Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Jackkel
Newbie
Newbie
Posts: 1
Joined: July 10th, 2011, 10:00 am

Re: [WIP] Crazy Beaver - Nzb's made easy / An auto movie dow

Post by Jackkel »

I too would like to run the program on linux (and osx for that matter).
So far however I have been unable to make it work.. Can someone explain how it is done under linux?

Cheers
Post Reply