Kodi Community Forum

Full Version: [RELEASE] Movie Quiz - how well do you know your movie collection?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
dan991199 Wrote:I played around with 0.4.0

i tried it on cirrus skin and it didnt even load the plugin (i know you said confluence but i wanted to test it Tongue)

on confluence it worked, though still no TV quiz
randomly (after 5-7) questions a loading bar would pop up and it would just stay like that.
i didnt hear any audio feedback either.


i like the idea of 3 game types now, and i like how they are incorporated into the beginning of the game, rather than in the settings menu.

keep up the good work.


ps. does anyone ever get the "what studio released this movie" questions right? Smile

Strange it doesn't even load on Cirrus. I'm using Alaska Revisited and it works okay, but some text is very difficult to read. I will try with Cirrus when I have the time.

I am pretty sure I have found the problem with the TV quiz though. I will try to include a fix in the next version.

Br.
Tommy
twinther Wrote:hehe, been there as well. I know how you feel Laugh

It's a good suggestion and I'll try to implement it some time in the future.

br.
Tommy

A way to do this could be:

Arrow keys for moving.
The number keys (1,2,3 and 4) for the players.


The one player controlling the keyboard would move to an option and press 1 (to select the answer for player one) and 2 on the option Player Two would like to choose etc.

if a wrong selection is made, you just press the number again on the option you meant, and the selection will be made (and the old one would disappear).
First of all congratulations for your addon,it's really great! Big Grin

I've did the translation in french, could you put in your next commit?

Thank you.

French.zip
Hi Danone-KiD,
Thanks, I will include it in the next version.

I'm currently working on adding high score support and adding settings to enable/disable individual questions..

I will try to get a new version released soon, perhaps next week.

Br.
Tommy
Hi guys, I got a new version ready for testing - v 0.4.1.

Major changes in this version is:
- Added settings to enable and disable individual question types
- Added global and local highscore support
- Added user selection on main screen
- Added Bulgarian translation thanks to Plamen Petkov
- Added French translation thanks to DanoneKiD
- Tweaks to better work with different skins

Highscores are available at http://moviequiz.xbmc.info
but this site is still a work in progress, so not everything is visible yet.

Oh by the way, I have also tried to fix the TV show quiz that wasn't working for some of you.
Please let me know if this has solved the problem Smile

You can download the new version here:
https://github.com/downloads/twinther/sc...-0.4.1.zip

Let me know what you think.

br.
Tommy
Hi,

really like the look of this, however I have one quick question, is there a version of this that works on the latest pre-eden nightly builds?

I attempted to install the various versions I could find on your github however got dependencies not met for all of them.

Unfortunately for my setup I have in my house I am forced to use the pre-eden builds. Any way to get this script working on them?
Hi kRAyZZed,
You probably need to install the script.module.myconnpy dependency first. I don't think that is available for eden-pre.
This is the Dharma version, but I think you can install it in eden as well:
http://mirrors.xbmc.org/addons/dharma/sc...-0.3.2.zip

When this is installed, you should be able to install the moviequiz-0.4.1 zip file above.

I will soon make an updated version that I am submitting to the repository, but I have a few things I need to fix/tweak first Smile

Br.
Tommy
twinther Wrote:Hi kRAyZZed,
You probably need to install the script.module.myconnpy dependency first. I don't think that is available for eden-pre.
This is the Dharma version, but I think you can install it in eden as well:
http://mirrors.xbmc.org/addons/dharma/sc...-0.3.2.zip

When this is installed, you should be able to install the moviequiz-0.4.1 zip file above.

I will soon make an updated version that I am submitting to the repository, but I have a few things I need to fix/tweak first Smile

Br.
Tommy

Thanks for the super quick response Big Grin

I managed to get it installed using the method you stated - unfortunately, it will install but just not run - get script failed: addon.py when I attempt to.

The following is from my log file - 19:08:10 T:4496 M:2748424192 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
19:08:11 T:4168 M:2748690432 NOTICE: -->Python Interpreter Initialized<--
19:08:11 T:4168 M:2746445824 ERROR: Error Type: <type 'exceptions.ImportError'>
19:08:11 T:4168 M:2746445824 ERROR: Error Contents: No module named simplejson
19:08:11 T:4168 M:2746408960 ERROR: Traceback (most recent call last):
File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\addon.py", line 12, in <module>
from quizlib.gui import MenuGui
File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\gui.py", line 12, in <module>
import highscore
File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\highscore.py", line 1, in <module>
import simplejson
ImportError: No module named simplejson


I am going to play around with it and see if I cant figure out the problem Big Grin
~kRAyZZed

EDIT: Problem solved - I grabbed simplejson script from here http://nervion.us.es/xbmc/addons/eden-pr...implejson/ - after doing a bit of googling Big Grin

EDIT2: lol ok, well im getting closer - its now installed and it loads up, however I cannot actually click on or select "Play Movie Quiz" or "Play TV Quiz" oddly enough the script has not crashed as I can easily click on the exit icon - at least I have taken a step in the right direction though Wink

Copy of the log for that is here

19:26:10 T:4692 M:2998554624 NOTICE: MySQLDatabase opened
19:26:10 T:4692 M:2998554624 ERROR: Exception in python script callback execution
19:26:10 T:4692 M:2998554624 ERROR: Traceback (most recent call last):
19:26:10 T:4692 M:2998554624 ERROR: File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\gui.py", line 50, in onInit
19:26:10 T:4692 M:2998542336 ERROR: database = db.connect()
19:26:10 T:4692 M:2998542336 ERROR: File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\db.py", line 240, in connect
19:26:10 T:4692 M:2998525952 ERROR: return MySQLDatabase(settings)
19:26:10 T:4692 M:2998525952 ERROR: File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\db.py", line 126, in __init__
19:26:10 T:4692 M:2998517760 ERROR: super(MySQLDatabase, self).postInit()
19:26:10 T:4692 M:2998509568 ERROR: File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\db.py", line 27, in postInit
19:26:10 T:4692 M:2998509568 ERROR: self._fixMissingTVShowView()
19:26:10 T:4692 M:2998509568 ERROR: File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\db.py", line 30, in _fixMissingTVShowView
19:26:10 T:4692 M:2998509568 ERROR: self.conn.execute("""
19:26:10 T:4692 M:2998509568 ERROR: AttributeError
19:26:10 T:4692 M:2998509568 ERROR: :
19:26:10 T:4692 M:2998509568 ERROR: 'MySQLConnection' object has no attribute 'execute'
19:26:12 T:4692 M:3001683968 ERROR: Exception in python script callback execution
19:26:12 T:4692 M:3001683968 NOTICE: Database closed
19:26:12 T:4692 M:3001683968 ERROR: Traceback (most recent call last):
19:26:12 T:4692 M:3001683968 ERROR: File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\gui.py", line 120, in onClick
19:26:12 T:4692 M:3001696256 ERROR: w = GameTypeDialog(game.GAMETYPE_MOVIE, item.getProperty('id'))
19:26:12 T:4692 M:3001696256 ERROR: AttributeError
19:26:12 T:4692 M:3001696256 ERROR: :
19:26:12 T:4692 M:3001696256 ERROR: 'NoneType' object has no attribute 'getProperty'
19:26:14 T:4692 M:3001995264 ERROR: Exception in python script callback execution
19:26:14 T:4692 M:3001995264 ERROR: Traceback (most recent call last):
19:26:14 T:4692 M:3001995264 ERROR: File "C:\Program Files (x86)\XBMC\portable_data\addons\script.moviequiz\quizlib\gui.py", line 125, in onClick
19:26:14 T:4692 M:3001987072 ERROR: w = GameTypeDialog(game.GAMETYPE_TVSHOW, item.getProperty('id'))
19:26:14 T:4692 M:3001987072 ERROR: AttributeError
19:26:14 T:4692 M:3001987072 ERROR: :
19:26:14 T:4692 M:3001987072 ERROR: 'NoneType' object has no attribute 'getProperty'
Ah, do you have xbmc configured to a MySQL database instead of the default sqlite?
MySQL support is broken at the moment and I'm considering dropping it for a while until I can do it "the right way"..

br.
Tommy
twinther Wrote:Ah, do you have xbmc configured to a MySQL database instead of the default sqlite?
MySQL support is broken at the moment and I'm considering dropping it for a while until I can do it "the right way"..

br.
Tommy

AH I see

Yeah I use mysql, due to me having 4 versions of XBMC running in the house (lounge and bedroom running windows 7, 2 x kids rooms running ATV2) - keeping a central mysql database just seemed simpler - I could always undo it on the lounge machine and have that build its own database. As the lounge machine will be the one using the quiz most of the time.

~kRAyZZed
I posted a new version 0.4.2 with some minor fixes and improvements.
It's available for download at: https://github.com/downloads/twinther/sc...-0.4.2.zip
but I have also submitted it for inclusion in the official xbmc repository, so hopefully it is there shortly.

Br.
Tommy
also using mysql. bummer
I have uploaded a new version which brings back MySQL support.
Please test it and let me know how it works.
I'm waiting a bit to submit it to the official repo until I get some feedback.

The changes in this version is:
- You must re-download IMDB files, due to speed-optimizations in lookups
- By popular demand: re-added MySQL support
- New question type
- What TV show is this quote from?
- Fanart from http://wallpapers.brothersoft.com/hollywood-96405.html

Download is at:
https://github.com/downloads/twinther/sc...-0.4.3.zip

Br.
Tommy
I've been watching this plugin for a while now and it seems like fun!
I say watching because all versions I tried (including the latest 0.4.3) never worked for me. It just hangs on the loading message after selecting what kind of game you'd like to play.
I took a look at the xbmc logs and it seems some queries are crapping out on me.
Find the logs of my latest test here (REMOVED).

As for some further details on my setup;
- Running Win 7 x64 SP1
- Mediafiles are located on a server, which also runs win 7 (x86 SP1). The shares aren't password protected (I know bad security, should look at setting this up right sometime)
- Running XBMC Dharma (10.1)
- Downloaded IMDB files from config of the addon

Hope you can find some time to look @ it and hopefuly fix it. I would be a happy camper, thanks in advance!
Hi josz,
Thanks for the log file, I can see I need to improve the error handling a bit Smile
Is there any chance you can send me your C:\Users\Jos\AppData\Roaming\XBMC\userdata\Database\MyVideos34.db file - then I can test with your database and it should be easier to fix the errors.

thanks again
Tommy
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22