damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

Rating dialog not displayed #677

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Show details on a movie
2. Press F9 to show menu
3. Select "Rating"

What is the expected output? What do you see instead?
Expeted to se the DialogRating with stars to set from 0-5

What version of Moving Pictures are you using? What version of MediaPortal?
What Skin? Moving Pictures 1.0.0. MediaPortal 1.1.0 Beta + SVN 24281. Any
skin including B3W.

An error is thrown in the log (this is in danish, but you can recreate it
yourself):

2009-12-09 20:27:10.720271 [Info.][MPMain]: Exception   :Et objekt af typen
'Cornerstone.MP.GUIGeneralRating' kan ikke konverteres til typen
'Cornerstone.MP.GUIGeneralRating'.
2009-12-09 20:27:10.720271 [Info.][MPMain]:   site      :Boolean
GetUserRating(MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo)
2009-12-09 20:27:10.721271 [Info.][MPMain]:   source    :MovingPictures
2009-12-09 20:27:10.721271 [Info.][MPMain]:   stacktrace:   ved
MediaPortal.Plugins.MovingPictures.MainUI.MovingPicturesGUI.GetUserRating(DBMovi
eInfo
movie)
   ved
MediaPortal.Plugins.MovingPictures.MainUI.MovingPicturesGUI.showDetailsContext()
   ved
MediaPortal.Plugins.MovingPictures.MainUI.MovingPicturesGUI.OnShowContextMenu()
   ved MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)
   ved
MediaPortal.Plugins.MovingPictures.MainUI.MovingPicturesGUI.OnAction(Action
action)
   ved MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
   ved MediaPortalApp.OnAction(Action action)

Original issue reported on code.google.com by pilehave@gmail.com on 9 Dec 2009 at 7:33

GoogleCodeExporter commented 9 years ago
Translation:
An object of type 'Cornerstone.MP.GUIGeneralRating' can not be converted to type
'Cornerstone.MP.GUIGeneralRating'

Original comment by travistx on 9 Dec 2009 at 7:37

GoogleCodeExporter commented 9 years ago
pilehave, could you please attach your full movingpictures.log and 
mediaportal.log 
files?

Original comment by conrad.john on 9 Dec 2009 at 7:49

GoogleCodeExporter commented 9 years ago
pilehave, any update? 

Original comment by conrad.john on 11 Dec 2009 at 3:09

GoogleCodeExporter commented 9 years ago
Sorry, I had Google Code mails catched in the spam-filter, attached are logs 
from
Moving Pictures.

I started MediaPortal, jumped to Moving Pictures, scrolled down a couple of 
films,
entered one of them and pressed F9. I then selected "rate" (I think this is the 
name
in english, I'm using a danish MP so...).

Anyways, this should be reproducable :)

Original comment by pilehave@gmail.com on 11 Dec 2009 at 5:49

Attachments:

GoogleCodeExporter commented 9 years ago
Based on your log files it looks like you have Cornerstone.dll and 
Cornerstone.MP.dll 
(among a few other things that don't belong) in your plugin folder. This is 
almost 
certainly the problem. These libraries are included in our distributed 
movingpictures.dll so if you have an alternate version of this logic in a 
seperate DLL 
that is getting loaded, you could have the issue you are reporting.

Can you try removing the Cornerstone DLLs from your plugins folder to see if 
this 
resolves the problem?

Original comment by conrad.john on 11 Dec 2009 at 6:00

GoogleCodeExporter commented 9 years ago
OK, after removing the files I get a dialog saying "This skin does not support 
the
Rating Dialog".

I have copied the dialogGeneralRating.xml into my skin-folder and the dialog 
says the
same when I use the B3W skin (where to rating-file also exist).

I used the installer and I also tried copying in the files manually :)

Thanks!

Original comment by pilehave@gmail.com on 11 Dec 2009 at 7:25

GoogleCodeExporter commented 9 years ago
Okay glad you got the exception resolved. 

The rate dialog not being invoked is a known issue (Issue #602) that will be 
fixed in 
1.0.1. The fix is actually already in, waiting to be released, so if you would 
like a 
binary for skinning purposes jump on our IRC channel and we can probably work 
something 
out.

Original comment by conrad.john on 11 Dec 2009 at 7:38

GoogleCodeExporter commented 9 years ago
If the dialog is the same as in TV-Series I can just copy that one over, right? 
Is it
even the same XML-file?

Because I have user-rating working in TV-Series.

Oh, and thanks a bunch for the fast and pro help :)

Original comment by pilehave@gmail.com on 11 Dec 2009 at 7:40

GoogleCodeExporter commented 9 years ago
The dialogs are nearly identical and use the same controls but they are 
separate. You 
will need two distinct XML files.

Original comment by conrad.john on 11 Dec 2009 at 8:02