Gamez - Video Game Downloader

Got a program that plays well with SABnzbd? Share it here!

Gamez - Video Game Downloader

Postby mdlesk » December 23rd, 2011, 2:28 am

Gamez is an automatic NZB downloader, Similar to SickBeard, Couchpotato, and headphones, except it is for video games. This is a work in progress and today marks the initial release (v. 0.0.0.1).

The official site for this project will be http://gamezapp.org/ . If you need immediate help, please go there and jump on the chat page for assistance.

At the moment only Wii games are implemented and the features are extremely limited.

The only search provider, at the moment, is NZBMatrix and torrents aren't supported (YET!).

You use the search to find games and add them. All add's automatically go into Wanted status. The app will perform the searches at a given interval, which is in the config file (Gamez.ini).

There isn't a settings screen, yet, so all config settings need to be made manually.

Project URL: http://github.com/mdlesk/Gamez

Direct Download: http://github.com/mdlesk/Gamez/tarball/master

Download, extract, and run Gamez.py. You can pass parameter "-d" to launch in daemon mode.

This is my first full python application from scratch, so please be kind :) ... I do work as a .NET Lead so a lot of it came naturally.

I am open to any and all suggestions and feature requests

The next release will include, at a minimum, the following features
- Automatic searching of a newer version and provide the option to upgrade or to ignore until a newer version is released
- Config / Settings Page
- Ability for user to change the status to wanted for previously added (in case it is stuck in snatched mode)
- Add Log File

Note: This is a python application using cherrypy. The cherrypy module needs to be installed for the application to work properly.
--
Last edited by mdlesk on December 31st, 2011, 12:27 am, edited 1 time in total.
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby mdlesk » December 25th, 2011, 1:45 am

I have update the code a few times since my initial release. The following features have been added:

- Version Checker
- Ability to install new version or defer the alert until the next version is available
- Check to see if the database has all of the required tables and config file has all sections and attributes, if not, it will create them. This was implemented, because when upgrading, database and config file are not overwritten. This step helps ease the process of all future upgrades, no matter how many tables are added, modified.
- Settings Page
- Log Page
- Ability to clear log

The next steps are to add the exception handling throughout the code and write all exceptions to the log. Also I plan to implement Newznab as a provider and also do a torrent provider.
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby qonstrukt » December 28th, 2011, 9:19 am

I'll keep an eye on this, might be useful to integrate in Qouch. :)
Make sure you'll implement an API at some point. ;)
User avatar
qonstrukt
Newbie
Newbie
 
Posts: 40
Joined: December 6th, 2011, 7:35 am
Location: Eindhoven, Netherlands

Re: Gamez - Video Game Downloader

Postby mdlesk » December 29th, 2011, 8:10 pm

qonstrukt wrote:I'll keep an eye on this, might be useful to integrate in Qouch. :)
Make sure you'll implement an API at some point. ;)


I have started to add the API framework. This will be a gradual process that I will implement piece by piece, with each release. I have also added an API.md file, which will contain all documentation for the API.

For others monitoring the project, I have implemented Newznab as a provider.

I am also looking for feedback on providers that others would like to see implemented.
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby bbaraniec » December 30th, 2011, 8:30 pm

Either I'm missing something or you are not providing cherrypy module ;)
-
Kind regards
Bartek
bbaraniec
Jr. Member
Jr. Member
 
Posts: 81
Joined: July 29th, 2011, 6:43 am

Re: Gamez - Video Game Downloader

Postby mdlesk » December 30th, 2011, 8:47 pm

Cherrypy isn't included with the application code, the module needs to be installed from source or pre-compiled prior to using the Gamez application. I will add it to the code now.

Edit: Cherrypy has been now been added to the Gamez application.
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby bbaraniec » December 30th, 2011, 10:35 pm

Thanks, I will take a look.
-
Kind regards
Bartek
bbaraniec
Jr. Member
Jr. Member
 
Posts: 81
Joined: July 29th, 2011, 6:43 am

Re: Gamez - Video Game Downloader

Postby troelsdk » December 31st, 2011, 5:13 am

I'm trying to run this on my x86 QNAP has with Python 2.6.7, but I get the error

Traceback (most recent call last):
File "Gamez.py", line 6, in <module>
from lib.WebBrowseWii import WebBrowseWii
ImportError: Bad magic number in /share/MD0_DATA/.qpkg/git-svn-dir/Gamez/lib/WebBrowseWii.pyc

What Python version do you need to run this with?

br
Troels
troelsdk
Newbie
Newbie
 
Posts: 1
Joined: December 31st, 2011, 5:11 am

Re: Gamez - Video Game Downloader

Postby mdlesk » December 31st, 2011, 11:03 am

troelsdk wrote:I'm trying to run this on my x86 QNAP has with Python 2.6.7, but I get the error

Traceback (most recent call last):
File "Gamez.py", line 6, in <module>
from lib.WebBrowseWii import WebBrowseWii
ImportError: Bad magic number in /share/MD0_DATA/.qpkg/git-svn-dir/Gamez/lib/WebBrowseWii.pyc

What Python version do you need to run this with?

br
Troels


I developed and tested everything against Python 2.7 on both Windows and FreeBSD. Try deleting the file "WebBrowseWii.pyc" in the lib folder and see if that corrects the issue. It is no longer used and I have just removed it from Github. If you get a different error let me know.
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby cissoubaka » January 1st, 2012, 10:44 am

mdlesk wrote:
troelsdk wrote:I'm trying to run this on my x86 QNAP has with Python 2.6.7, but I get the error

Traceback (most recent call last):
File "Gamez.py", line 6, in <module>
from lib.WebBrowseWii import WebBrowseWii
ImportError: Bad magic number in /share/MD0_DATA/.qpkg/git-svn-dir/Gamez/lib/WebBrowseWii.pyc

What Python version do you need to run this with?

br
Troels


I developed and tested everything against Python 2.7 on both Windows and FreeBSD. Try deleting the file "WebBrowseWii.pyc" in the lib folder and see if that corrects the issue. It is no longer used and I have just removed it from Github. If you get a different error let me know.


Don't erase the file, comment or delete the 6th line in the file Gamez.py

Installed and running perfectly on a openmediavault system

Thank for you job mdlesk
cissoubaka
Newbie
Newbie
 
Posts: 3
Joined: January 1st, 2012, 10:35 am

Re: Gamez - Video Game Downloader

Postby mdlesk » January 1st, 2012, 11:22 am

Thanks for pointing this out, I have removed the reference from the Gamez.py file.
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby mdlesk » January 2nd, 2012, 11:21 am

XBOX 360 support has been added. Also a button has been added that allows you to update your local copy of the game list from the gamezapp.org web service, which will always contain the latest game list. When clicking this button it may take a few moments to process as it will update the entire gamelist, which at the moment is 1,895 games.

The next changes will be to do the following:
- Update API
- Add PS3 suppport
- Add option to select region (NTSC, PAL, ANY)
- Add downloadable games (Wiiware, Virtual Console, Arcade, etc.)
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby cissoubaka » January 2nd, 2012, 11:59 am

Amazing ;D

There is a bug if the game name has a ' in his name. Tried assassin's creed (all of them)
Code: Select all
Traceback (most recent call last):
  File "/root/Gamez/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/root/Gamez/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/root/Gamez/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/root/Gamez/lib/WebRoot.py", line 489, in addgame
    AddGameToDb(dbid,'Wanted')
  File "/root/Gamez/lib/DBFunctions.py", line 66, in AddGameToDb
    cursor.execute(sql)
OperationalError: near "s": syntax error


searching another name game for testing

edit :
tested with ashura's wrath same problem
cissoubaka
Newbie
Newbie
 
Posts: 3
Joined: January 1st, 2012, 10:35 am

Re: Gamez - Video Game Downloader

Postby mdlesk » January 2nd, 2012, 12:35 pm

This should be resolved now. Please update to the latest version (1.1.2.0)
mdlesk
Newbie
Newbie
 
Posts: 9
Joined: December 20th, 2011, 4:44 pm

Re: Gamez - Video Game Downloader

Postby cissoubaka » January 2nd, 2012, 2:09 pm

You're too good to be true ;D
cissoubaka
Newbie
Newbie
 
Posts: 3
Joined: January 1st, 2012, 10:35 am

Next

Return to Third-party Addons