Gamez - Video Game Downloader

Got a program that plays well with SABnzbd? Share it here!
mdlesk
Newbie
Newbie
Posts: 9
Joined: December 20th, 2011, 3:44 pm

Gamez - Video Game Downloader

Post by mdlesk »

EDIT: Gamez has been replaced by Gamez Server (http://forums.sabnzbd.org/viewtopic.php?f=6&t=16410)
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 2nd, 2013, 9:27 pm, edited 2 times in total.
mdlesk
Newbie
Newbie
Posts: 9
Joined: December 20th, 2011, 3:44 pm

Re: Gamez - Video Game Downloader

Post by mdlesk »

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.
User avatar
qonstrukt
Newbie
Newbie
Posts: 40
Joined: December 6th, 2011, 6:35 am
Location: Eindhoven, Netherlands
Contact:

Re: Gamez - Video Game Downloader

Post by qonstrukt »

I'll keep an eye on this, might be useful to integrate in Qouch. :)
Make sure you'll implement an API at some point. ;)
mdlesk
Newbie
Newbie
Posts: 9
Joined: December 20th, 2011, 3:44 pm

Re: Gamez - Video Game Downloader

Post by mdlesk »

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.
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: Gamez - Video Game Downloader

Post by bbaraniec »

Either I'm missing something or you are not providing cherrypy module ;)
-
Kind regards
Bartek
mdlesk
Newbie
Newbie
Posts: 9
Joined: December 20th, 2011, 3:44 pm

Re: Gamez - Video Game Downloader

Post by mdlesk »

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.
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: Gamez - Video Game Downloader

Post by bbaraniec »

Thanks, I will take a look.
-
Kind regards
Bartek
troelsdk
Newbie
Newbie
Posts: 4
Joined: December 31st, 2011, 4:11 am

Re: Gamez - Video Game Downloader

Post by troelsdk »

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
mdlesk
Newbie
Newbie
Posts: 9
Joined: December 20th, 2011, 3:44 pm

Re: Gamez - Video Game Downloader

Post by mdlesk »

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.
cissoubaka
Newbie
Newbie
Posts: 3
Joined: January 1st, 2012, 9:35 am

Re: Gamez - Video Game Downloader

Post by cissoubaka »

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
mdlesk
Newbie
Newbie
Posts: 9
Joined: December 20th, 2011, 3:44 pm

Re: Gamez - Video Game Downloader

Post by mdlesk »

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

Re: Gamez - Video Game Downloader

Post by mdlesk »

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.)
cissoubaka
Newbie
Newbie
Posts: 3
Joined: January 1st, 2012, 9:35 am

Re: Gamez - Video Game Downloader

Post by cissoubaka »

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
mdlesk
Newbie
Newbie
Posts: 9
Joined: December 20th, 2011, 3:44 pm

Re: Gamez - Video Game Downloader

Post by mdlesk »

This should be resolved now. Please update to the latest version (1.1.2.0)
cissoubaka
Newbie
Newbie
Posts: 3
Joined: January 1st, 2012, 9:35 am

Re: Gamez - Video Game Downloader

Post by cissoubaka »

You're too good to be true ;D
Locked