[RELEASE] Movie Quiz - how well do you know your movie collection?

  Thread Rating:
  • 5 Votes - 4.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
NOT_U Offline
Junior Member
Posts: 42
Joined: Nov 2010
Reputation: 0
Location: Right smack dab in the Middle of the US, Missouri that is
Post: #46
NOT_U Wrote:Thanks again for the help here is the pastbin link http://pastebin.com/74WtkwNq I am also going to try embedding, though I have never done it so it might not work

<script src="http://pastebin.com/embed_js.php?i=74WtkwNq"></script>

Yep still can't figure out how people are embedding the logs into posts.

@ Twinther any luck figuring out what I'm doing wrong?? Could it be that I have 400+ movies in my library?
find quote
twinther Offline
Fan
Posts: 308
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #47
Hi NOT_U,

It looks like a kindof race-condition in the initialization code, where it tries to load the cover art, before the question is fully loaded.
However I have made some changes to that code so I think I fixed this problem in the process. I will try to upload a new version soon, perhaps during the weekend if time allows.

If you feel like it you can checkout the latest code from github and try that, but I'm not sure how stable it is a the moment Smile

Thanks for your feedback.
Tommy
find quote
NOT_U Offline
Junior Member
Posts: 42
Joined: Nov 2010
Reputation: 0
Location: Right smack dab in the Middle of the US, Missouri that is
Post: #48
@twinther - thanks for the reply and support on this, I am a total noob to all this so I have no clue how to go about using the github...if I can find directions in another post (or if someone wants to shed some light) I will give it a try until you upload a new version

Thanks
find quote
twinther Offline
Fan
Posts: 308
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #49
I decide the code was stable enough for a release Laugh

I have uploaded v0.1.2 here https://github.com/downloads/twinther/sc...-0.1.2.zip

The biggest changes are:
- Attempt to reset XBMC video bookmark after playback
- Added settings to show/not show the correct answer, when an incorrect is chosen
- Better random question logic in case a question type doesn't contain enough data
- Added custom dialog for game over screen, etc.

and other minor stuff.

Please continue to send your feedback - it's awesome and I'll try to incorporate some of the other suggestions you gave in a future version!

Br.
Tommy
find quote
NOT_U Offline
Junior Member
Posts: 42
Joined: Nov 2010
Reputation: 0
Location: Right smack dab in the Middle of the US, Missouri that is
Post: #50
@twinther
The update fixed it. Thank you for the help and and all the work you put in it. Thanks to this quiz I found out I know nothing about the 400 movies in my collection
find quote
mad-max Offline
Posting Freak
Posts: 1,479
Joined: Jul 2010
Reputation: 59
Location: Germany
Post: #51
twinther Wrote:I have uploaded v0.1.2 here [url]https://github.com/downloads/twinther/

Please continue to send your feedback - it's awesome and I'll try to incorporate some of the other suggestions you gave in a future version!

I do not send feedback Blush

But an updated translation: Laugh
https://code.google.com/p/translations-f...trings.xml

cheers,
Mad-Max

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
twinther Offline
Fan
Posts: 308
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #52
Hi guys.
Sorry for the radio silence. I have been hard at work on a new version and fixing bugs.
I have added support for a TV Shows quiz as well as new question types for movies.

The new version is available here: https://github.com/downloads/twinther/sc...-0.1.3.zip
Please let me know what you think.

At least some of the graphics are placeholders - the main menu is a proof of concept.
I really hope xbmc will support custom fonts for python addons soon - right now it looks best if you use Confluence as skin Smile

If you experience any problems please provide your xbmc.log file.
And if you don't mind also provide your [xbmc]/userdata/Database/MyVideos34.db, which contains the information on your movie collection which the Movie Quiz uses.

Br.
Tommy

Oh and thanks for the translations Smile
(This post was last modified: 2011-02-28 22:36 by twinther.)
find quote
PatK Offline
Donor
Posts: 3,511
Joined: Mar 2010
Reputation: 77
Location: Canada
Star   
Post: #53
http://img62.imageshack.us/i/2802201134718pm.jpg/
[Image: 2802201134718pm.jpg]

Just loaded up your new version script.moviequiz-0.1.3 only moments after installing V2. I gave the first one a shot... but it didn't work for me. The second was working good enough, that I was going to complain that it didn't load up the video's until you've had a few questions. Now the Movie side seems to work, but the TV side dies ina few questions as the link shows.

My first impression of V2 was I like the graphic at the start. V3 was almost as nice but worked first question... very nice. A little disappointing about the crash.... kinda heavy it it brings XBMC down. But definitely worth the effort with a pastbin. Love the concept, and you definitely have something...

Love to request... if possible, either long slice of video or repeat at least until the timeout and next question. Perhaps the fanart of the video popped in.. or some default elevator music... after the slice of video.. there's this erry silence. It would also be nice to have a notification noise for right/wrong answer... at the moment, I have to look up to catch a sliding window or X or not.

Just wanted to add that if I don't go into the TV questions, it seems to hold together, but after exit I get a warning at the top of the screen that a script has crashed.

http://pastebin.com/GmrMMXfS

Just noticed you requested Myvideo34.db and it's 10 megs, I've compressed it and upped it to http://www.mediafire.com/?nddy1z5nxd1ae7w 2 megs
(This post was last modified: 2011-03-01 20:26 by PatK.)
find quote
twinther Offline
Fan
Posts: 308
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #54
Hi PatK.
Thanks for your MyVideos34.db file, it already helped me solve a minor issue.

I'm not sure why you experience the crash. My XBMC also sometimes crash in linux, but this is usually related to low-level graphics stuff like page flipping according to the log. Unfortunately your log on pastebin doesn't appear to contain any errors, at least I didn't notice anything related to the movie quiz.

I will keep your suggestion in mind for the future, no promises though

Br.
Tommy
find quote
mad-max Offline
Posting Freak
Posts: 1,479
Joined: Jul 2010
Reputation: 59
Location: Germany
Post: #55
twinther Wrote:Br.
Tommy

Oh and thanks for the translations Smile

No problem...here we go with the updated strings for the new version:

https://code.google.com/p/translations-f...trings.xml

Maybe you can write me an pm when new strings were added before releasing, so that you can include the updated strings in the release...

cheers,
max

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
PatK Offline
Donor
Posts: 3,511
Joined: Mar 2010
Reputation: 77
Location: Canada
Smile  I relaise my library is a bit messy... not likely to clean it up anytime soon though.
Post: #56
It's still hanging up on entry to the TV section, here's another pastebin which may be more useful. http://pastebin.com/etHMTjKy it seems to have enough errors to suggest issues (ignore the weather plugin errorsSmile. I would note that if I click a movie answer then re-click it... stacking the clicks. (either by accident or thinking it didn't register the click) it bypasses the next video and registers as an answer. I didn't see an exit button in the movie section, so either backspace or left MB gets me back... I'm not sure if that's the behaviour you want.

On a plus note... I get a kick out of this program, but most questions are a little too tough. The best ones are guessing the movie that video clip shows.. if you could double or triple those up.... it would put a smile on my face Big Grin
find quote
ijourneaux Offline
Fan
Posts: 540
Joined: Mar 2009
Reputation: 3
Location: Wisconsin, USA
Post: #57
First I want to congradulate you on one fine Addon. It is great to look at.

Just installed it. Seemed to start on and ran though a few clips Then it just hung

I had to kill XBMC and start over again. Here is the log file.

http://pastebin.com/B0RTKtg2

Take Care
find quote
twinther Offline
Fan
Posts: 308
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #58
Thanks guys. I'm trying to figure out why it's crashing, but I fear it's inside XBMC somewhere - not pointing fingers yet though Smile
So far it appears a workaround is to let each video stop on it's on (let it play for 10 seconds) - I haven't experience a crash this way.

Mad-max, thanks for the translations. I will let you know before the next version.

br.
Tommy
find quote
twinther Offline
Fan
Posts: 308
Joined: Sep 2004
Reputation: 10
Location: Denmark
Post: #59
Hi guys,
I have uploaded a new version: https://github.com/downloads/twinther/sc...-0.2.0.zip

The biggest improvements are as follows, but the crash still occurs though less frequently now.

- Attempt to fix crash related to calling xbmc.Player.stop()
- Finished up TV show question settings, limit by content rating
- Improved menu gui

Let me know how it works for you.
I think the next tasks are cinema experience integration and movie quotes questions Smile
find quote
PatK Offline
Donor
Posts: 3,511
Joined: Mar 2010
Reputation: 77
Location: Canada
Star   
Post: #60
Well I got further this time... http://pastebin.com/fZ3uN79e
I ran it a few times... crashes are in the TV section.

Movie section seems to work well... minor glich, I have a 20 episode railways.. Titled Great British Railway 1 through 20 so the answered are all the same!
I lose with a 25% chance... how cruel. The first video still has issues loading.

The first attempt the TV side froze up first question.... but I saw the Oscar icon

The second attempt went along pretty well for half dozen questions... but having the cover shown was to easy a giveaway.

The sweet spot... focus on the title page text to activate the sections is too small... I kept clicking on the medallions. Let me know what's next...

BTW: the integration with CE would be nice... tops for me.
find quote
Post Reply