ShowTimes Plugin Suite V2 (2009/12/30) (2 Viewers)

Status
Not open for further replies.

Bleazle

Portal Pro
July 14, 2007
1,122
257
Pukekohe
Home Country
New Zealand New Zealand
I've just had a quick 5 minute play around with this and come up with the following views. I'll tweak things a bit more for the next release of the skin (which will be after MP 1.0.1 is released).

One thing I noticed was that not all of the fanart displayed as 1280x720 in the list/icon views but when you go to the details page it displays OK (?)

Bleazle
 

Attachments

  • 12-03-2009 3-16-11 p.m..jpg
    12-03-2009 3-16-11 p.m..jpg
    22 KB
  • 12-03-2009 3-16-55 p.m..jpg
    12-03-2009 3-16-55 p.m..jpg
    26.3 KB
  • 12-03-2009 3-15-36 p.m..jpg
    12-03-2009 3-15-36 p.m..jpg
    34.8 KB
  • ShowTimesGUI.xml
    30.6 KB

TommySharp

MP Donator
  • Premium Supporter
  • January 15, 2007
    322
    7
    44
    Auckland
    Home Country
    New Zealand New Zealand
    Error installing latest plugin?

    I'm getting the attached error when trying to install the newest version of this plugin.... I can install the older one no problem?

    UPDATE : Completely uninstalling the old version resolved this. :)
     

    Attachments

    • showtimesinstallerror.jpg
      showtimesinstallerror.jpg
      34.2 KB

    Nephilim

    Extension Developer
    February 8, 2007
    805
    499
    Home Country
    Italy Italy
    X Bleazle

    I've just had a quick 5 minute play around with this and come up with the following views. I'll tweak things a bit more for the next release of the skin (which will be after MP 1.0.1 is released).

    One thing I noticed was that not all of the fanart displayed as 1280x720 in the list/icon views but when you go to the details page it displays OK (?)

    Bleazle

    Thank you Bleaze... You can also show the poster in the list view using the #st_poster placeholder.

    About the fan-art display issue... :confused: ??? I set the #backdrop placeholder, nothing else...

    EDIT: It's a skin issue... In detail view you set <keepaspectratio>yes</keepaspectratio>. You must use this setting in both views or none of them...

    X SilentExcept

    awesome, grabber works (almost) perfectly now..

    * grabbing for today and tomorrow, same settings as before, problems are in this "movie" (its actually only coverup title for hidden premiere" where they don't wanna reveal movie title until you watch it) :)
    "Skrivena Pretpremijera" (KAMO.hr - Skrivena pretpremijera)
    i get bunch of html stuff in Genre and few HTML tags in Plot..

    *related to above, it might be a good idea to trim() everything and also strip html tags and double spaces everywhere..

    * i choose trailers to "none" and there is no reference to trailers in moviedata.xml.. thats fine but trailer button on GUI (id 41) is still enabled and getting black screen when trying to play..

    * furthermore if in this scenario i try to play trailer and press b (stop) when back in plugin there is no more button "Change View" (id 2). it's completely gone until i restart plugin within MP

    I'll take a look...

    * in genre EVERY letter is capitalized now.. what i ment was to capitalize only first letter in string :)

    I don't understand... You want the first letter of every word to be capitalized or just the first letter of the phrase? Anyway i use the StrConv function with the ProperCase parameter.

    * select Show by theaters, then choose your theater and the day.. you'll get the list of movies for that theater on that day and #st_theater/#theater gui properties will be filled.. next select movie (to see details) and after you press back (esc), that label is cleared and you are still in theater view

    Thank you... I'll fix it...

    this is all i could find.. genre parsing from kamo.hr could still be improved (i see you parse genre to first comma (,) on the page)..sometimes there is more..

    generally speaking, "genre line" (bold one) first under the title on kamo.hr site is composed like this:

    Genre, Country, Year, Duration
    (instead of Genre, sometimes there is: Genre1, Genre2)

    here is how i would do it: (look attached c# source)

    Added...

    edit: yup.. DOUBLE SPACES should definitely be trimmed everywhere possible as there are doubble spaces in Director now, and Actors and...

    Done...

    Bye,
    Nephilim
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    i have made b&w skin to use poster in list view and fanart in thumb/list view... with some other mods.. will post it later when i test it more..


    few more things i've noticed grabbing for today and tomorrow:

    * ImdbUserReview isn't OK.. for example on movie "Seven Pounds" i get "9.1/10" and on this movie The Effect of Gamma Rays on Man-in-the-Moon Marigolds (1972) i get "10/10".. movie "Hotel for Dogs" gets 7.9 and so on...

    * this movie has two directors.. i only get one in moviedata.xml (KAMO.hr - Toranj)

    * small request for ReleaseDate enhancement: sometimes date is 5.02.2009.. i would like it to always be dd.mm.yyyy (pad missing zero at beginning). what about #st_releasedate gui property? :)


    sorry for "nagging" so much,just wanna make this plugin perfect :) i'm willing to help coding too, if you let me or post the source..

    thank you!!

    best regards,
    se
     

    Nephilim

    Extension Developer
    February 8, 2007
    805
    499
    Home Country
    Italy Italy
    * ImdbUserReview isn't OK.. for example on movie "Seven Pounds" i get "9.1/10" and on this movie The Effect of Gamma Rays on Man-in-the-Moon Marigolds (1972) i get "10/10".. movie "Hotel for Dogs" gets 7.9 and so on...

    This rates are taken from the Kamo site, when available... (It use an Ajax request). I can remove it if you wish...

    * this movie has two directors.. i only get one in moviedata.xml (KAMO.hr - Toranj)

    Fixed...

    * small request for ReleaseDate enhancement: sometimes date is 5.02.2009.. i would like it to always be dd.mm.yyyy (pad missing zero at beginning). what about #st_releasedate gui property? :)

    Why not... ;)

    sorry for "nagging" so much,just wanna make this plugin perfect :) i'm willing to help coding too, if you let me or post the source..

    Perfection isn't of this world... ;)

    Bye,
    Nephilim
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    awesome, looking forward on testing the new version!


    * imo, the best solution for rates would be to *always* use imdb rates, only use kamo.hr for the movies where no imdb rate is available.. watch about consistency of rates.. ie always (imdb and kamo.hr) use xx/10 format..
    may i ask what request you use to pull rates from kamo.hr.. i cannot see them anywhere :confused:

    * only first letter in genre (genre[0] :) ) should be capitalized.. if you used my attachment with source, there is already a function for that included..


    thank you so much!

    best regards,
    se
     

    Nephilim

    Extension Developer
    February 8, 2007
    805
    499
    Home Country
    Italy Italy
    * imo, the best solution for rates would be to *always* use imdb rates, only use kamo.hr for the movies where no imdb rate is available.. watch about consistency of rates.. ie always (imdb and kamo.hr) use xx/10 format..
    may i ask what request you use to pull rates from kamo.hr.. i cannot see them anywhere :confused:

    Hmmm, have sense..I'll look into it.
    Anyway, I'll remove it for now...

    The request is:
    ajaxRequest(
    {'url':'VOTE.print_vote_box?',
    'parameters':'i_object_id=xxxxxx&i_area_id=6&i_is_separator=0',
    'method':'GET',
    'beforeSending':'',
    'afterSending':'',
    'putBoxes':'id="vote_box"',
    'docRoot':document,
    'useTags':''}
    );

    Where xxxxxx is the movie id.

    * only first letter in genre (genre[0] :) ) should be capitalized.. if you used my attachment with source, there is already a function for that included..

    Ok, but is this the default setting for your country (just to know)?
    BTW, you forgot the "dokumentarni" genre in your code... ;)

    In attach a moviedata.xml generated by the new version...

    Bye,
    Nephilim
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    * imo, the best solution for rates would be to *always* use imdb rates, only use kamo.hr for the movies where no imdb rate is available.. watch about consistency of rates.. ie always (imdb and kamo.hr) use xx/10 format..
    may i ask what request you use to pull rates from kamo.hr.. i cannot see them anywhere :confused:

    Hmmm, have sense..I'll look into it.
    Anyway, I'll remove it for now...

    The request is:
    ajaxRequest(
    {'url':'VOTE.print_vote_box?',
    'parameters':'i_object_id=xxxxxx&i_area_id=6&i_is_separator=0',
    'method':'GET',
    'beforeSending':'',
    'afterSending':'',
    'putBoxes':'id="vote_box"',
    'docRoot':document,
    'useTags':''}
    );

    Where xxxxxx is the movie id.

    thanks! didn't know this was possible :)
    just remember to enable it later when you have time if there is no imdb rating available :)

    * only first letter in genre (genre[0] :) ) should be capitalized.. if you used my attachment with source, there is already a function for that included..

    Ok, but is this the default setting for your country (just to know)?

    In attach a moviedata.xml generated by the new version...

    using version from 09.03.2009 i get capitalized first letter of every word in genre (excample "U Boji Film"). in this new xml everything looks fine!! awesome job!


    BTW, you forgot the "dokumentarni" genre in your code... ;)

    ah, thanks! :) even better (safer) is to use "dokumentar" :)

    thank you!!

    best regards,
    se


    edit: i also uploaded new b&w skin file.. located here: https://forum.team-mediaportal.com/black-white-1080p-286/updated-showtimes-skinfile-56309/

    edit2: found a bug in list view poster...

    * requirement is that the first facadeview item doesnt have any poster (<image> tag not existing or empty). in that case plugin shows default "no poster image".. there are few ways to reproduce this..

    first, visibility condition on list poster image control should be: <visible>facadeview.list+!Control.IsVisible(24)</visible>

    enter the plugin, select list view, exit, reenter and there is no poster shown (empty)

    same happens when you enter movie details, then go back to first view

    as the #selecteditem is filled with first facadeview item i would expect the poster to be filled from the same item..

    mind you, this only happens if first item has no poster assigned, if it has one, then everything works!
     

    Bleazle

    Portal Pro
    July 14, 2007
    1,122
    257
    Pukekohe
    Home Country
    New Zealand New Zealand
    ...One thing I noticed was that not all of the fanart displayed as 1280x720 in the list/icon views but when you go to the details page it displays OK (?)

    Thank you Bleaze... You can also show the poster in the list view using the #st_poster placeholder.

    About the fan-art display issue... :confused: ??? I set the #backdrop placeholder, nothing else...

    EDIT: It's a skin issue... In detail view you set <keepaspectratio>yes</keepaspectratio>. You must use this setting in both views or none of them...

    Thanks for pointing that out - I didn't have a chance to look at it for long yesterday but I'll play around with it a bit more this weekend. I'll see how showing the poster in list view looks too (as well as using the fanart in the background).

    Cheers

    Bleazle
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom