[Gamez] forked and updated

Got a program that plays well with SABnzbd? Share it here!
av_jui
Newbie
Newbie
Posts: 20
Joined: April 20th, 2012, 2:15 pm

[Gamez] forked and updated

Post by av_jui »

Hi

I will present my fork of Gamez:

It seems that the original developer don´t update the code so I have made it.
Feature I have add where:
  • * support for PS3
    * support for PC
    * Game search on TheGamesdb
    * add option for blacklisted words
    * add retention
    * add seperate NZB.su support
    * add notification for XBMC
    * add startup options (datatdir, configdir, pidfile, etc,)
    * bug fixes


I have updated the Gamez Wiki for more Information and configuration.

I have also make a developer branch where I test at the moment:
  • * Metadata write (NFO, Art)
    * Removing and Renaming
For this new options I look for some tester ;D

Notice: When you have problems please add a Issues

EDIT: Here is current windows version Gamez-v1.1.17.5

!!Notice: Windows version has no update function. You must download new version or build it from source code. Here is a How to

Edit 27.11.2012 Update Windows Version
Last edited by av_jui on November 27th, 2012, 1:39 am, edited 1 time in total.
av_jui
Newbie
Newbie
Posts: 20
Joined: April 20th, 2012, 2:15 pm

Re: [Gamez] forked and updated

Post by av_jui »

*reverse*
av_jui
Newbie
Newbie
Posts: 20
Joined: April 20th, 2012, 2:15 pm

Re: [Gamez] forked and updated

Post by av_jui »

I have a look to the art downloads (Boxart,Fanart,Clearlogo,..) but I have found some problem.
I have seen that some files are png´s and some are jpg´s. For some art´s we need jpg´s and for some png´s. So i must convert the Images. And thats the problem. I don´t know some small libary to do this and I don´t want some depencies to PIL. Anybody know a small libary for this?

Thanks
simonk83
Jr. Member
Jr. Member
Posts: 69
Joined: December 11th, 2010, 3:41 pm

Re: [Gamez] forked and updated

Post by simonk83 »

Just a heads up that I've switched to the developer branch, and have NZBMatrix and nzb.su set up. When a game is grabbed, it's grabbed twice (one from each provider).

Also, in the future, would you be able to have an option to unpack using exiso or something like that? I'm on a Mac so the different software versions would probably be a pain, but it'd be handy. Perhaps build it into the postprocess script?
av_jui
Newbie
Newbie
Posts: 20
Joined: April 20th, 2012, 2:15 pm

Re: [Gamez] forked and updated

Post by av_jui »

First thanks for your testing

I don´t can reproduce this bug. Maybe you have refresh you web page with the forcesearch information?
For your Feater Request please open a issues with feature request label on github.
Strages
Newbie
Newbie
Posts: 1
Joined: December 7th, 2012, 6:15 am

Re: [Gamez] forked and updated

Post by Strages »

There is a problem with the Growl notifications, they do not work - I had to download the library and install it myself then they worked, also the exception error message was not being converted to string so python threw an error when the exception was being printed to the log.

Code: Select all

Notifications.py line 79:
        LogEvent("Growl Notification Error: " + msg)
Also, does the post-processing stuff work? And would you be able to allow us to set SABnzbd categories for each of the games? - I've hard coded it so that it does so but its not very elegant :)

Thanks for the nice work
simonk83
Jr. Member
Jr. Member
Posts: 69
Joined: December 11th, 2010, 3:41 pm

Re: [Gamez] forked and updated

Post by simonk83 »

Quick question,

When adding a Newznab provider, what's the port field for? Should just need address and API key as far as I'm aware.

Just for reference, I'm running my own index and it works OK with CP, HP, LL and SB. The message Gamez gives is:

Error getting game [Game Name Removed] from Newznab
Checking for game [Game Name Removed] for [Xbox360] on Newznab
keim
Newbie
Newbie
Posts: 15
Joined: October 7th, 2012, 6:21 pm

Re: [Gamez] forked and updated

Post by keim »

getting that same type of error trying to add nzbs to the newznab field
keim
Newbie
Newbie
Posts: 15
Joined: October 7th, 2012, 6:21 pm

Re: [Gamez] forked and updated

Post by keim »

also tried adding a game manually and telling it the correct category as well as switching it to "snatched" in gamez but it never finished the postprocess script
av_jui
Newbie
Newbie
Posts: 20
Joined: April 20th, 2012, 2:15 pm

Re: [Gamez] forked and updated

Post by av_jui »

Strages wrote:There is a problem with the Growl notifications, they do not work - I had to download the library and install it myself then they worked, also the exception error message was not being converted to string so python threw an error when the exception was being printed to the log.

Code: Select all

Notifications.py line 79:
        LogEvent("Growl Notification Error: " + msg)
Also, does the post-processing stuff work? And would you be able to allow us to set SABnzbd categories for each of the games? - I've hard coded it so that it does so but its not very elegant :)

Thanks for the nice work
Hi
First thanks for testing. In the moment I work on the post-processing in the developer branch. Here I look for some tester. For the Growl Error please open a Iusses on the Github page.
In the developer tree you can specify with folder each game should be moved. So you be able to have multiple Folder for each Game type.
I hope I have time to fix all the things next week, because at the moment i have a lot of work.

Bye
av_jui
Newbie
Newbie
Posts: 20
Joined: April 20th, 2012, 2:15 pm

Re: [Gamez] forked and updated

Post by av_jui »

simonk83 wrote:Quick question,

When adding a Newznab provider, what's the port field for? Should just need address and API key as far as I'm aware.

Just for reference, I'm running my own index and it works OK with CP, HP, LL and SB. The message Gamez gives is:

Error getting game [Game Name Removed] from Newznab
Checking for game [Game Name Removed] for [Xbox360] on Newznab
This is only if the Newznab provider have a different port number. I need more Information can you activate the debuglog.
Thanks

P.s.: I have more problems at the moment with nzb.su. It seems that some newznab provider have other attribute. This is on the list to fix. Maybe it also fix your Issues.
av_jui
Newbie
Newbie
Posts: 20
Joined: April 20th, 2012, 2:15 pm

Re: [Gamez] forked and updated

Post by av_jui »

keim wrote:also tried adding a game manually and telling it the correct category as well as switching it to "snatched" in gamez but it never finished the postprocess script
First thanks for testing. Please can you switch on debuglog. I need more information.
simonk83
Jr. Member
Jr. Member
Posts: 69
Joined: December 11th, 2010, 3:41 pm

Re: [Gamez] forked and updated

Post by simonk83 »

av_jui wrote:
simonk83 wrote:Quick question,

When adding a Newznab provider, what's the port field for? Should just need address and API key as far as I'm aware.

Just for reference, I'm running my own index and it works OK with CP, HP, LL and SB. The message Gamez gives is:

Error getting game [Game Name Removed] from Newznab
Checking for game [Game Name Removed] for [Xbox360] on Newznab
This is only if the Newznab provider have a different port number. I need more Information can you activate the debuglog.
Thanks

P.s.: I have more problems at the moment with nzb.su. It seems that some newznab provider have other attribute. This is on the list to fix. Maybe it also fix your Issues.
Cool, will do that tonight, thanks
simonk83
Jr. Member
Jr. Member
Posts: 69
Joined: December 11th, 2010, 3:41 pm

Re: [Gamez] forked and updated

Post by simonk83 »

Ok, here we go. Not sure the debug log is that helpful though.

I specifically chose I game I know for a fact is available:

Code: Select all

Checking to see if a new version is available	Wed 19 Dec 2012 / 18:34:09
Error getting game [BioShock] from Newznab	Wed 19 Dec 2012 / 18:34:09
DEBUG : Search for http://192.168.1.60/api?apikey=*apiremoved*&t=search&maxage=1100&cat=1050&q=BioShock&o=json	Wed 19 Dec 2012 / 18:34:09
Checking for game [BioShock] for [Xbox360] on Newznab	Wed 19 Dec 2012 / 18:34:09
DEBUG : Newznab Enable	Wed 19 Dec 2012 / 18:34:09
Searching for game: BioShock	Wed 19 Dec 2012 / 18:34:09
If I manually enter that string into my browser, I get:

Code: Select all

{"@attributes":{"version":"2.0"},"channel":{"title":"newznab","description":"newznab Feed","link":"http:\/\/192.168.1.60\/","language":"en-gb","webMaster":" (newznab)","category":{},"image":{"url":"http:\/\/192.168.1.60\/views\/images\/banner.jpg","title":"newznab","link":"http:\/\/192.168.1.60\/","description":"Visit newznab - A great usenet indexer"},"response":{"@attributes":{"offset":"0","total":"2"}},"item":[{"title":"BioShock-XBOX360-USA-DAGGER","guid":"http:\/\/192.168.1.60\/details\/3c4e5c392f3f63ceb529329f615a5942","link":"http:\/\/192.168.1.60\/getnzb\/3c4e5c392f3f63ceb529329f615a5942.nzb&i=2&r=*apiremoved*","comments":"http:\/\/192.168.1.60\/details\/3c4e5c392f3f63ceb529329f615a5942#comments","pubDate":"Tue, 18 Dec 2012 21:22:05 +0000","category":"Console > Xbox 360","description":"BioShock-XBOX360-USA-DAGGER","enclosure":{"@attributes":{"url":"http:\/\/192.168.1.60\/getnzb\/3c4e5c392f3f63ceb529329f615a5942.nzb&i=2&r=*apiremoved*","length":"8036598446","type":"application\/x-nzb"}},"attr":[{"@attributes":{"name":"category","value":"1000"}},{"@attributes":{"name":"category","value":"1050"}},{"@attributes":{"name":"size","value":"8036598446"}},{"@attributes":{"name":"guid","value":"3c4e5c392f3f63ceb529329f615a5942"}}]},{"title":"BioShock KOR XBOX360-UCC","guid":"http:\/\/192.168.1.60\/details\/84b0df4fb5cb1a138a39b34e8221d580","link":"http:\/\/192.168.1.60\/getnzb\/84b0df4fb5cb1a138a39b34e8221d580.nzb&i=2&r=*apiremoved*","comments":"http:\/\/192.168.1.60\/details\/84b0df4fb5cb1a138a39b34e8221d580#comments","pubDate":"Mon, 17 Dec 2012 21:53:48 +0000","category":"Console > Xbox 360","description":"BioShock KOR XBOX360-UCC","enclosure":{"@attributes":{"url":"http:\/\/192.168.1.60\/getnzb\/84b0df4fb5cb1a138a39b34e8221d580.nzb&i=2&r=*apiremoved*","length":"8086142536","type":"application\/x-nzb"}},"attr":[{"@attributes":{"name":"category","value":"1000"}},{"@attributes":{"name":"category","value":"1050"}},{"@attributes":{"name":"size","value":"8086142536"}},{"@attributes":{"name":"guid","value":"84b0df4fb5cb1a138a39b34e8221d580"}}]}]}}
So it does seem to see the release at least.
keim
Newbie
Newbie
Posts: 15
Joined: October 7th, 2012, 6:21 pm

Re: [Gamez] forked and updated

Post by keim »

simonk83's problem is pretty much exactly the same as mine
Post Reply