Page 1 of 4
Gamez - Video Game Downloader
Posted: December 23rd, 2011, 1:28 am
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.
--
Re: Gamez - Video Game Downloader
Posted: December 25th, 2011, 12:45 am
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.
Re: Gamez - Video Game Downloader
Posted: December 28th, 2011, 8:19 am
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.
Re: Gamez - Video Game Downloader
Posted: December 29th, 2011, 7:10 pm
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.
Re: Gamez - Video Game Downloader
Posted: December 30th, 2011, 7:30 pm
by bbaraniec
Either I'm missing something or you are not providing cherrypy module
Re: Gamez - Video Game Downloader
Posted: December 30th, 2011, 7:47 pm
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.
Re: Gamez - Video Game Downloader
Posted: December 30th, 2011, 9:35 pm
by bbaraniec
Thanks, I will take a look.
Re: Gamez - Video Game Downloader
Posted: December 31st, 2011, 4:13 am
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
Re: Gamez - Video Game Downloader
Posted: December 31st, 2011, 10:03 am
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.
Re: Gamez - Video Game Downloader
Posted: January 1st, 2012, 9:44 am
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
Re: Gamez - Video Game Downloader
Posted: January 1st, 2012, 10:22 am
by mdlesk
Thanks for pointing this out, I have removed the reference from the Gamez.py file.
Re: Gamez - Video Game Downloader
Posted: January 2nd, 2012, 10:21 am
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.)
Re: Gamez - Video Game Downloader
Posted: January 2nd, 2012, 10:59 am
by cissoubaka
Amazing
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
Re: Gamez - Video Game Downloader
Posted: January 2nd, 2012, 11:35 am
by mdlesk
This should be resolved now. Please update to the latest version (1.1.2.0)
Re: Gamez - Video Game Downloader
Posted: January 2nd, 2012, 1:09 pm
by cissoubaka
You're too good to be true