ShowTimes Plugin Suite V2 (2009/12/30)

Discussion in 'MediaPortal 1 Plugins' started by Nephilim, December 5, 2008.

Thread Status:
Not open for further replies.
  1. Nephilim
    • Premium Supporter

    Nephilim Extension Developer

    Joined:
    February 8, 2007
    Messages:
    805
    Likes Received:
    448
    Gender:
    Male
    Ratings:
    +502 / 0
    Home Country:
    Italy Italy
    Show System Specs
    There are two plugins as part of this suite. The first plugin is a process plugin. It uses an external application to download movie showtimes for your local theaters. It allows for the option to schedule a download of movie data from IMDB or TMDB, Trailers, movie posters and FanArt from TMDB. It can also manage your downloaded posters and trailers and remove ones that are no longer required.
    The second part of the plugin is the GUI portion that displays all of the data downloaded by the Grabber process plugin. The GUI has a screen that will work with many skin (skinners, please read below).
    I have included in the zip file, a document that explains the way it all works together plus installation and configuration. In the zip there is a background picture for skinner who want to use it.

    The following countries are already supported:
    Australia
    Belgium
    Canada
    Croatia
    France
    Germany
    Italy
    Netherlands
    New Zealand
    Norway
    South Africa
    Spain
    Sweden
    United Kingdom
    United States

    A couple of things to note:
    1) After you set up the plugin you have to do a manual download from the Grabber Configuration first.
    2) Picking your movie theaters varies by country. Some can do it by zip/postal code, some by city and country.
    3) You can set several cities. Just separate each city with the "|" (pipe) character.
    4) You can manually update tha data by pressing the “Context Menu” button (F9)
    5) The display of Fan-Art is Skin dependant. If your skin does not show the backdrops, ask the author to implement this feature.
    There are some other things in the documentation included in the zip file, please read through it.

    Skinning documentation (in the zip package too):
    Show Spoiler

    Required components (menu - buttons):
    <id>2</id> = Change View
    <id>3</id> = Show Theaters
    <id>40</id> = ShowTimes - only in details view
    <id>41</id> = Play Trailer - only in details view
    <id>42</id> = Next - only in details view
    <id>43</id> = Previous - only in details view
    Required components (fadelabels):
    <id>46</id> = ShowTimes Control - should be set off screen - used for determining if theater was selected - Control.HasText(46)
    <id>47</id> = TheaterList Control - should be set off screen - used for determining if currently in theater/date list view - Control.IsVisible(47)
    Required components (images):
    <id>23</id> = Movie Border
    <id>24</id> = Movie Poster - used for determining if currently in details view - Control.IsVisible(24)
    Required components (facade):
    <id>50</id> = listcontrol, thumbnailpanel, filmstrip
    GUI properties:
    #selecteditem = selected facade item - textual - use if you like
    #showtimes_nextupdate = next data update - textual
    #st_backdrop = backdrop, fanart - use it with image
    #st_poster = poster of the movie - use it with image - control id 24 and/or other if you'd like to have poster in list view
    #st_title = movie title
    #st_theater = selected theater for showtimes - textual - filled only if theater and showtimes day was selected
    #st_moviedate = selected date for showtimes - textual - filled only if theater and showtimes day was selected
    #st_showtimes = showtimes - textual - filled only if theater and showtimes day was selected
    #st_rating = mpaa rating of the selected movie - textual
    #st_userrating = user rating / IMDB rating of the selected movie - textual
    #st_genre = genre of the selected movie - textual
    #st_runtime = runtime of the selected movie - textual
    #st_releasedate = release (premiere) date of the selected movie - textual
    #st_plot = plot of the selected movie - textual
    #st_director = director of the selected movie - textual
    #st_starring = actors of the selected movie - textual
    Useful hints:
    Backdrops
    If you'd like backdrop visible only in details set this visible status to control you use for backdrop (#st_backdrop) <visible>Control.IsVisible(24)</visible>.
    Set <visible>yes</visible> if you want it visible at all times.
    Some movies might not have backdrop, so remember to also use a default background in the skin file.
    Poster
    Control with id 24 that contains the poster will automatically become visible once you select the movie and enter details view. If you'd like poster in list view, create a new image control with <texture>#st_poster</texture> and <visible>facadeview.list+!Control.IsVisible(24)</visible>.
    #selecteditem, #st_title and showtimes
    Use <visible>!Control.IsVisible(24)+!Control.HasText(4 6)</visible> for a control containing property #selecteditem. The control will be shown only if not in details screen and if theater was not selected.
    Control containing #st_title is probably visible only if in details screen and if theater was not selected (if you want, however the GUI property is valued and you can use #st_title and #st_showtimes in separate controls and position - like in Xfactor skin). Therefore <visible>Control.IsVisible(24)+!Control.HasText(46 )</visible>.
    Now we're gonna add control containing the showtimes. The label will be something like <label>#st_title | #st_moviedate @ #st_showtimes</label>. It will be visible only if theater was selected: <visible>Control.HasText(46)</visible>.
    Examples:
    Code (Text):
    1.  
    2.         //Show backdrop (fanart)
    3.     <control>
    4.         <description>fanart</description>
    5.         <type>image</type>
    6.         <id>0</id>
    7.         <posX>0</posX>
    8.         <posY>0</posY>
    9.         <texture>#st_backdrop</texture>
    10.         <width>1280</width>
    11.         <height>720</height>
    12.         <visible>Control.IsVisible(24)</visible>
    13.     </control>
    14.         //Show poster in listview
    15.     <control>
    16.             <description>list poster</description>
    17.                 <id>1</id>
    18.                 <type>image</type>
    19.                 <keepaspectratio>yes</keepaspectratio>
    20.                 <posX>750</posX>
    21.                 <posY>300</posY>
    22.                 <width>257</width>
    23.                 <height>380</height>
    24.                 <texture flipY="true" diffuse="diffusemirrorwide.png">#st_poster</texture>
    25.                 <visible>facadeview.list+Control.HasFocus(50)</visible>  
    26.        </control>  
    27.         //Show controls only if a theater has been selected in details view
    28.     <control>
    29.           <description>Showtimes Control</description>
    30.           <type>fadelabel</type>
    31.           <id>46</id>
    32.           <posX>2110</posX>
    33.           <posY>2700</posY>
    34.     </control>
    35.         <control>
    36.             <type>fadelabel</type>
    37.             <description>Showtimes Label</description>
    38.             <id>0</id>
    39.         <posX>310</posX>
    40.         <posY>400</posY>
    41.         <width>350</width>
    42.             <label>#st_showtimes</label>
    43.         <align>left</align>
    44.         <visible>control.isvisible(24)+control.hastext(46)</visible>
    45.         </control>
    46. <!-- Show rating value -->
    47. <control>
    48.     <description>IMDB Rating Value</description>
    49.     <type>imagelist</type>
    50.     <id>32</id>
    51.     <posX>26</posX>
    52.     <posY>585</posY>
    53.     <width>115</width>
    54.     <height>13</height>
    55.     <textureWidth>24</textureWidth>
    56.     <textureHeight>24</textureHeight>
    57.     <subitems>
    58.         <subitem>starbad.png</subitem>
    59.         <subitem>stargood.png</subitem>
    60.     </subitems>
    61.     <orientation>horizontal</orientation>
    62.     <align>left</align>
    63.     <imagesToDraw>10</imagesToDraw>
    64.     <percentage>#st_userrating</percentage>
    65.     <visible>Control.IsVisible(24)</visible>
    66. </control> 
    67.  

    [​IMG]

    NB - For Italian users: Per inserire una città che non è capoluogo di provincia dovete inserire prima il capoluogo di provincia poi il simbolo "/" e poi il comune. Per es. Tivoli in provincia di Roma si inserisce come: "Roma/Tivoli" (senza gli apici)
    PS - For New Zealander users: Put one (or more) of the following "locations" in the city field: Auckland, Wellington, Canterbury, Otago, Nelson-Tasman Bay, Bay Of Plenty, Hawkes Bay, Manawatu-Wanganui, Waikato, Taranaki, Southland, Marlborough, Northland
    -----------------------------------------------------------
    Versions:
    MTSA: 4.9.1
    Plugins: 2.4.1



    Changelog:

    Show Spoiler
    Initial release (2008/12/05):
    - Recompiled against RC4
    - Fixed download movie data from IMDb
    MTSA 4.4.0 / Plugins 2.1.0 (2008/12/18):
    - Released as MPI
    - Download of FanArt and details from TMDB
    - Fanart management
    - Minor Bug Fixes
    - Now the plugin can go back from details view by pressing the ESC key
    MTSA 4.4.1 / Plugins 2.1.0 (2008/12/22)
    - Fixed a bug in TMDB lookup
    - Fixed a bug in "Remove Old Media"
    MTSA 4.4.2 / Plugins 2.1.1 (2009/01/07)
    - Fixed handling of special characters in German
    - If no poster is available the file "{skin}/media/defaultVideoBig.png" will be used
    MTSA 4.4.3 / Plugins 2.1.1 (2009/01/12)
    - Fixed a bug handling posters in UK and Italy
    MTSA 4.4.4 / Plugins 2.1.2 (2009/01/17)
    - Fixed a bug handling backdrop in Italy
    - Added Sweden (beta)
    - Update grabber for France now with french trailers (beta)
    - Fixed date format in France
    - Fixed Spain grabber. No spanish trailers for now, sorry... (alpha)
    - Added Skin for Project Mayem 3
    - Added french translation
    MTSA 4.5.0 / Plugins 2.2.0 (2009/01/24)
    - Italy grabber fixed
    - Sweden grabber fixed
    - Spanish trailers added
    - Now you can manually update tha data by pressing the “Context Menu” button (F9)
    - Added the "Prefer english posters" and "Prefer english trailers" flags
    - Improved speed of Impawards grabber
    - Improved speed of Apple Trailer grabber
    - Improved speed of MovieList grabber
    - Manual updated
    - Languages files updated for handling manual data refresh
    - Blue3 Skin fixed
    MTSA 4.5.1 / Plugins 2.2.1 (2009/01/29)
    - Low quality posters and trailers fixed
    - French grabber fixed
    - Italy grabber fixed
    - Added abilty to configure the hour of day for the grab
    - Added "HD" trailer for Italy
    MTSA 4.5.1 / Plugins 2.2.2 (2009/02/01)
    - Fixed: when "HD480" trailer quality is selected grabbing doesn't start
    MTSA 4.5.2 / Plugins 2.2.2 (2009/02/09)
    - Fixed: Grabber for Sweden and Germany
    - Fixed: FanArt handling
    MTSA 4.5.3 / Plugins 2.2.3 (2009/02/15)
    - Added: Grabber for New Zealand
    - Optimization for Apple Trailers
    MTSA 4.5.4 / Plugins 2.2.3 (2009/02/22)
    - Fixed: Grabber for North America
    - Optimization for ImpAwards
    MTSA 4.5.5 / Plugins 2.2.4 (2009/03/01)
    - Added support for Croatia (english trailers only, sorry...)
    - MTSA now works with old configuration files too
    - Optimization for Apple Trailers
    - Fixed Poster issue for UK (max 4 downloadable days now)
    MTSA 4.5.6 / Plugins 2.2.5 (2009/03/09)
    - Better support for Croatia
    - Fixed TMDB lookup
    - Added #st_poster placeholder for showing poster in list view (see StreamedMP for an example)
    - Now the #st_backdrop placeholder is visible in list/thunbnail view too
    MTSA 4.5.7 / Plugins 2.2.6 (2009/03/23)
    - Added support for South Africa
    - Fixed ListView bug
    - Changed source for Germany (backdrops should works now)
    MTSA 4.5.8 / Plugins 2.2.7 (2009/04/18)
    - Fixed some GUI bug (thx SilentExcept)
    - Fixed Impawards Poster
    - Added skin for XFactor
    - Added ReleaseDate field
    MTSA 4.6.0 / Plugins 2.3.0 (2009/05/04)
    - Fixed TMDB bug
    - Added Filmstrip view
    - Now movie infos are loaded when a movie is selected in facadeview too
    - Removed the gui controls and added some GUI properties instead. See above for a list.
    MTSA 4.6.1 / Plugins 2.3.1 (2009/05/07)
    - Fixed plot grabbing for Italy
    - Fixed quote mark bug
    - Fixed 1kb trailers bug
    - Now the theaters are only displayed if there are dates present
    - Added streaming for HD trailers too (please reconfigure your plugin)
    - Added skinng documentation (thanks SilentExcept)
    MTSA 4.6.1 / Plugins 2.3.2 (2009/05/07)
    - Fixed "showtimes not present" bug
    MTSA 4.6.2 / Plugins 2.3.3 (2009/05/07)
    - Removed Control ID 45 (for skinners: you can use #showtimes_nextupdate GUI property)
    - Fix: #showtimes_property not filled
    - Added: play GUI properties filled (thumbnail included)
    - Fix: Italian grabber
    - Fix: Apple Trailers
    - Some minor fixes
    MTSA 4.6.3 / Plugins 2.3.4 (2009/05/09)
    - Fixed: grabber for Croatia
    - Fixed: bug in configuration
    - Some minor fixes
    MTSA 4.6.4 / Plugins 2.3.5 (2009/05/12)
    - Fixed: grabber for France
    - Fixed/optimized: Apple Trailer
    - Fixed: broken Posters
    - Some minor fixes
    MTSA 4.6.5 / Plugins 2.3.5 (2009/05/15)
    - Fixed: trailers for Italy
    MTSA 4.6.6 / Plugins 2.3.6 (2009/05/18)
    - Fixed: plot for Germany
    - Fixed: trailer download for Italy
    MTSA 4.6.7 / Plugins 2.3.7 (2009/05/20)
    - Fixed: grabber for Belgium and Sweden
    MTSA 4.6.8 / Plugins 2.3.8 (2009/05/27)
    - Fixed: grabber for Italy (cities with a space between)
    - Fixed: "Show All Movies" (ID 3) button disappear after a trailer is played (thx SE)
    MTSA 4.6.9 / Plugins 2.3.8 (2009/06/11)
    - Fixed: grabber for Italy (bad show times)
    - Added: skin for PureVisionHD
    - Updated: skin for XFace
    - Better Apple Trailer lookup
    - Better TMDB lookup
    - Better IMDB lookup
    - Better Movie-List lookup
    MTSA 4.7.0 / Plugins 2.3.8 (2009/06/15)
    - Fixed Apple Trailers
    - Fixed italian trailers
    MTSA 4.7.1 / Plugins 2.3.8 (2009/06/16)
    - Fixed italian showtimes
    MTSA 4.7.2 / Plugins 2.3.8 (2009/06/19)
    - Fixed (a little) Apple Trailers bug
    MTSA 4.7.3 / Plugins 2.3.8 (2009/06/23)
    - Fixed (maybe) a bug in TMDB lookup.
    MTSA 4.7.4 / Plugins 2.3.8 (2009/06/30)
    - Fixed (a little) Apple Trailers bug
    MTSA 4.7.5 / Plugins 2.3.8 (2009/07/13)
    - Fixed Germany grabber
    - Fixed Norway grabber
    - Fixed a little bug in Italy grabber
    MTSA 4.7.7 / Plugins 2.3.8 (2009/08/16)
    - Fixed Germany grabber
    - Fixed Netherland grabber
    MTSA 4.7.8 / Plugins 2.3.9 (2009/09/01)
    - Fixed Italy grabber (trailers)
    - Added possibility to set the default view
    - Star-rating compatibility (see sample in Skinning Documentation)
    - Added control id 47 used for determining if currently in theater/date list view - and hide movie details in list view when selecting theater/date (see Skinning Documentation for details)
    MTSA 4.7.9 / Plugins 2.3.9 (2009/09/02)
    - Fixed grabber for Netherlands
    MTSA 4.8.0 / Plugins 2.3.9 (2009/09/04)
    - Fixed (again) grabber for Netherlands
    - Fixed Apple Trailers
    MTSA 4.8.0 / Plugins 2.4.0 (2009/09/07)
    - Fixed a bug in the star-rating visualization
    MTSA 4.8.1 / Plugins 2.4.0 (2009/09/09)
    - Fixed: New Zealand
    MTSA 4.8.2 / Plugins 2.4.0 (2009/09/15)
    - Fixed: South Africa
    MTSA 4.8.3 / Plugins 2.4.0 (2009/09/23)
    - Fixed: Germany
    - Fixed: Netherland
    - Fixed: Italy
    - Better Apple Trailers lookup
    MTSA 4.8.4 / Plugins 2.4.0 (2009/09/24)
    - Fixed: Showtimes for Germany
    - Updated TMDB Api to version 2.1
    MTSA 4.8.5 / Plugins 2.4.1 (2009/10/10)
    - Fixed: Download and streaming of Apple trailers
    - Minor bug fix.
    MTSA 4.8.6 / Plugins 2.4.1 (2009/11/10)
    - Fixed: grabber for France
    - Fixed: grabber for Australia
    - Fixed: TMDB look-up
    MTSA 4.8.7 / Plugins 2.4.1 (2009/11/12)
    - Fixed: grabber for USA, UK, Canada, Australia
    - Better TMDB look-up
    MTSA 4.8.8 / Plugins 2.4.1 (2009/11/13)
    - Fixed: France showtimes
    MTSA 4.8.9 / Plugins 2.4.1 (2009/11/22)
    - Fixed: Italy and Norway
    MTSA 4.9.0 / Plugins 2.4.1 (2009/12/15)
    - Fixed: Grabber for Spain e spanish trailers

    MTSA 4.9.1 / Plugins 2.4.1 (2009/12/30)
    - Fixed: Italy

    -----------------------------------------------------------
    Many thanks to falkyre (plugin) & mike (MTSA), the originally authors of this suite.
    Bye,
    Nephilim
     
    • Like Like x 46
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. BillyTheFish

    BillyTheFish Portal Pro

    Joined:
    September 5, 2008
    Messages:
    72
    Likes Received:
    5
    Ratings:
    +6 / 0
    Home Country:
    United Kingdom United Kingdom
    Absolutely fantastic, and thank you for creating this new thread!

    Just one note on the instructions. I couldn't see the Grabber plugin under the process section of the plugins option until I ran using 'Advance Options' mode in RC4.

    I can currently see my selected cinemas and can view the films and synopsises (synopsies???). I get a black screen with the trailers though.

    One other problem I have is that once I have selected a cinema, I can click 'previous' and 'next' to get the previous or next films, but I cannot get back to the main list of films or the list of cinemas again without exiting MP.

    This might be because I'm using the BlueThree (Xmas version) skin though!
     
  4. joz

    joz Portal Pro

    Joined:
    March 17, 2008
    Messages:
    1,353
    Likes Received:
    153
    Occupation:
    J2ME / PHP programmer
    Ratings:
    +154 / 0
    Home Country:
    Netherlands Netherlands
    Hey Nephilim it's me again :)

    This time I have some good news for you though! I've now figured out that the problem lies in the combination of plugins. As a test I deleted everything in my windows plugin folder and just dropped MyShowTimes in there, and now everything works like it's supposed to. There's only still no detail info. I guess all what I reported is somehow related to my installation. I'm going for a proper reinstall I guess.
     
  5. BillyTheFish

    BillyTheFish Portal Pro

    Joined:
    September 5, 2008
    Messages:
    72
    Likes Received:
    5
    Ratings:
    +6 / 0
    Home Country:
    United Kingdom United Kingdom
    Actually, that might be it with me as well. I upgraded RC2 to RC4 as I'm holding out for the final version before I re-install everything.
     
  6. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,575
    Likes Received:
    447
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +671 / 2
    Home Country:
    England England
    Show System Specs
    #rolls eyes#
    :D
     
  7. Nephilim
    • Premium Supporter

    Nephilim Extension Developer

    Joined:
    February 8, 2007
    Messages:
    805
    Likes Received:
    448
    Gender:
    Male
    Ratings:
    +502 / 0
    Home Country:
    Italy Italy
    Show System Specs
    X BillyTheFish

    You're welcome... ;)

    Right! I'll do it in the next release...

    Yes, probably...

    So go to the first post and download the skin for Blue3Wide. I'm not a skinner, so don't blame me... ;)

    x Joz

    Have you check Extra IMDB details? Sure? ;)

    I've tried again and it works well (full details). Let me know if a fresh install solve the problem.

    Bye,
    Nephilim
     
  8. joz

    joz Portal Pro

    Joined:
    March 17, 2008
    Messages:
    1,353
    Likes Received:
    153
    Occupation:
    J2ME / PHP programmer
    Ratings:
    +154 / 0
    Home Country:
    Netherlands Netherlands
    This time I was 100% sure that i ticked the imdb box but after saving and manual download etc. exiting config, I looked at the xml which didn;t have that changes stored. So I edited them myself.
    But hey I can't really complain about your plugin. I'm certain there's some reason to the specific error box which I posted as the start of all my problems. To me it seems like some of the plugins I'm currently using are either expecting some kind of setting or version, which others are not.
    I also was trying to get MyOrganizer to work and it crashes MP config with a similair (although different regarding specific versions) error dialog as ShowTimes does when pressing the find cinemas button.

    I am totaly clueless of the cause. But I guess after upgrading for such a long time a clean install is in place (lthough it takes so much time)..
    I'll report back when all things are up and running again.

    p.s.
    Did you by any change tried to take a look at the mediafire upload I posted earlier? Well I guess you'll keep us posted about that stuff anyways...
     
  9. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,575
    Likes Received:
    447
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +671 / 2
    Home Country:
    England England
    Show System Specs
    BillyTheFish - skins seem to use an option of 'show all movies' to get back to the full list.
    Choose that instead of 'back'
     
  10. Nephilim
    • Premium Supporter

    Nephilim Extension Developer

    Joined:
    February 8, 2007
    Messages:
    805
    Likes Received:
    448
    Gender:
    Male
    Ratings:
    +502 / 0
    Home Country:
    Italy Italy
    Show System Specs
    New skins added... ;)
    Look at the first post.

    Bye,
    Nephilim
     
  11. Nephilim
    • Premium Supporter

    Nephilim Extension Developer

    Joined:
    February 8, 2007
    Messages:
    805
    Likes Received:
    448
    Gender:
    Male
    Ratings:
    +502 / 0
    Home Country:
    Italy Italy
    Show System Specs
    Added MediaStream by pilehave skin

    Bye,
    Nephilim
     
Loading...
Thread Status:
Not open for further replies.

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!