Trailers Plugin v1.2.2 (Play/Stream/DL for MovingPictures, My Films, My Videos..) [2015-04-11]

Discussion in 'MediaPortal 1 Plugins' started by ltfearme, November 4, 2013.

  1. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,448
    Likes Received:
    4,228
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,368 / 0
    Home Country:
    Australia Australia
    Trailers is a plugin which helps users play movie and tvshow trailers from all media plugins available in MediaPortal.

    It searches local trailers and online sources, it also has the capability to stream trailers with the help of the OnlineVideos plugin.

    DOWNLOAD

    Requirements
    • MediaPortal 1.8 or greater (older releases are supported on GitHub).
    • OnlineVideos for online streaming and download.
    • YouTube, iTunes and IMDb Site Utils in OnlineVideos v2.0.0+ (for onlinevideos search).
    • Skin which supports plugin.
    Note: Ensure your YouTube site in onlinevideos is kept up to date for trouble free download/streaming of trailers.
    Media Plugins Supported
    • MovingPictures
    • My Films
    • My Videos
    • MP-TVSeries
    • ShowTimes
    • Trakt
    Trailer Providers
    The plugin currently has 3 trailer providers:
    • Local Trailers: this has 4 main search areas:
      • Search auto-download directory if enabled.
      • Search in current media folder
      • Search in current media sub-folder e.g. Trailers
      • Search a dedicated directory (you need to define which directories in settings)
    • Online Trailers: searches for trailers from themoviedb.org. Supports trailers in preferred language.
    • Online Lookup: manual search in OnlineVideos.
    When an Online Trailer is selected it will stream the trailer via the OnlineVideos API so you dont need to leave the respective plugin.

    Automatic Trailer Downloads
    Automatic trailer downloads are supported for the following plugins:
    • MovingPictures
    • My Films
    • My Videos
    Note: if you don't have much free disk space it's recommended to change the default directory before enabling. The resolution you choose is the MAX resolution, if that is not available then the next lowest is chosen.
    Resources
    Playback Issues
    Playback of local trailers should work if it works from My Videos, the plugin does not support any mounting of drives. For online streaming, the plugin heavily relies on proper setup of OnlineVideos, if playing the same trailer from YouTube in OnlineVideos works then it should stream just fine from the trailers plugin.

    Road Map
    • Auto-play local trailers before a movie starts (based on certain criteria).
    • GUI to browse / manage local trailers
    • Much more im sure ;)
    Skinners can add support to their skin by adding a trailers button in the respective plugin windows, see the Skin Designers Guide for more information.

    Settings
    The only settings that might be of interest for most people are for people that want automatic trailer downloads (enable the plugins you want) or for users that store their trailers in a dedicated directory outside of the media paths, you can add directories simply in the configuration dialog.

    All settings are stored in MediaPortal's configuration file: C:\ProgramData\Team MediaPortal\MediaPortal\MediaPortal.xml.



    Note: Only advanced users should edit this file directly, use the configuration dialog or the MPEI Settings button in GUI if you are unsure.

    Excluded Files
    The following are naturally excluded when doing a local trailer search:
    • The current media file.
    • Any file with a unsupported video extension as defined by MediaPortal configuration.
    • Any file which starts with 'sample'.
    If you enable Debug logging you should get a better understanding of what it's searching for. Enjoy and let me know any issues or possible improvements. It's early days for this plugin but there will be some exciting things to look forward to from various comments made by people.

    If you do report an issue, please remember to attach a full set of debug logs.

    Release History

    v1.2.1 [2015-04-11]
    • Fixed trailers skin button not working in Trakt windows.
    • Updated translations from Transifex.

    v1.2.0 [2015-03-27]
    • Support for OnlineVideos v2.0, this is the minimum requirement now for Trailer streaming and download.
    • Fixed plugin not operating correctly when OnlineVideos is not installed.
    • Fixed error log message about translation when invoking custom Trailers dialog.
    • Fixed hard-coded 'Menu' label to read 'Trailers' in Trailers dialog.
    • Added the current media title to the Trailers dialog heading.
    • Added support 426x240 resolution trailers when LQ is preferred or when no HD/HQ trailers are available.
    • Fixed a few translations being incorrect or not mapped internally.
    • Updated translations from Transifex.
    v1.1.5 [2014-05-03]
    • Added a setting to re-show the menu after trailer playback if there is more than a single local/online trailer available. Defaults to off.
    • Added a custom dialog for trailer selection. Skinner can optionally add Trailers.Selection.Menu.xml (ID 11898) to show a custom dialog. See the skin designers guide for details. If the custom skin file does not exist then it will use the standard dialog menu.
    • Added a simple cache for online requests for trailers (currently only applicable to the TMDb provider). Default is set to 60 mins and can be changed from advanced settings in the Extensions GUI.
    • Updated translations from Transifex.
    v1.1.4 [2014-04-30]
    • Added support for Trailers in your preferred language with options to fallback to English and/or always get English trailers in addition.
    • Added OnlineVideos extension to the installer package. Pre-requiste for online trailer streaming and manual searches.
    • Updated translations from Transifex.
    v1.1.3 [2014-04-27]
    • Redesigned configuration dialog.
    • Skip GUI selection menu regardless of Auto-Play setting if there is only a single menu item is to be displayed.
    • Added Extensions plugin to package. Allows user to upgrade and configure settings from GUI.
    • Updated translations from Transifex.
    v1.1.2 [2014-04-14]
    • Fixed Trailers menu not showing when AutoPlay is enabled under some circumstances.
    • Fixed settings changed from MPEI Settings GUI not being recognized immediately. Will now re-load settings without needing to restart MediaPortal.
    • Updated translations from Transifex.
    v1.1.1 [2014-04-13]
    • Added support for TV Show, Season and Episode trailers.
      • Skinners can now add the trailer button to MP-TVSeries Show, Season and Episode levels as well as all Trakt Show, Season and Episode Windows.
      • Settings added to change the manual search strings on YouTube.
    • Updated translations from Transifex.
    v1.0.7 [2014-01-08]
    • Fixed a possible crash when an auto-download scan occurs and any movies in your library have a null Title, Year or IMDb ID.
    • Fixed movies repeating download / search during Auto-Download scan if the movie had no IMDb [MovingPictures].
    • Updated translations from Transifex.
    v1.0.6 [2014-01-03]
    • Added support to auto download trailers from enabled plugin libraries. See settings to enable this feature for your respective plugin.
    • Added support for trailers button in the Trakt plugin, movie windows only.
    • Updated translations from Transifex.
    v1.0.5 [2013-12-07]
    • Added support for trailers in the ShowTimes plugin, skinners can add a trailer button to either the details view, main movie list or both.
    • Added support to have more than one trailer button in a plugin window e.g. MovingPictures and Showtimes have different views but only one window, skinners can use either button id '11899' or '11900' to invoke trailers. This is required for skins that locate buttons differently based on the view and need proper navigation.
    • For new installs, the plugin will read in the trailer directory from ShowTimes and insert it into the list of dedicated trailer directories. This can be useful for people that auto download trailers from ShowTimes. If you're an existing user and think this will be useful then you can manually add your showtimes trailer directory in the Trailers configuration.
    • Added GUI Settings via MPEI Extensions plugin. Not all settings are exposed in GUI so users may still need to visit the configuration e.g. add a new dedicated directory or change search patterns.
    • Updated translations from Transifex.
    v1.0.4 [2013-11-29]
    • Added 'Title + Year' search from the themoviedb.org trailer provider. This will be useful for plugins that don't support IMDb or TMDb ID's or for people that don't have this information in their database.
    • Added support for Trailers from My Videos Shares and Database view, window ID: 6 and ID: 25 respectively.
    • Updated translations from Transifex.
    v1.0.3 [2013-11-16]
    • Fixed some minor user interface bugs in the configuration dialog.
    • Added a check to see if OnlineVideos has a download directory set by user and use that as a default set of dedicated trailer directories for local search.
    • Updated translations from Transifex.
    v1.0.2 [2013-11-10]
    • Added a configuration dialog to make editing settings easier, you can access it from MediaPortal Configuration.
    • Fixed an issue where the MovingPictures 'Play' button did not become in focus if exiting the Trailers menu.
    • Allow external plugins to invoke a trailer search.
    • Added an icon to MP Configuration plugin section.
    • Updated translations from Transifex.
    v1.0.1 [2013-11-08]
    • Fixed error seen when searching for local trailers if there is no filename in the current local media database e.g. DVD Media in MyFilms.
    • Updated translations from Transifex.
    v1.0.0 [2013-11-04]
    • First Release.
     

    Attached Files:

    Last edited: April 11, 2015
    • Thank You! Thank You! x 11
    • Like Like x 9
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,448
    Likes Received:
    4,228
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,368 / 0
    Home Country:
    Australia Australia
    It may take a while for skins to release a version with Trailers support, for now you can edit your existing skins by following the Skin Designers Guide.

    Skinners are welcome to post updated skin files here as well. As a start, here is support for
    Includes updated Trailer button in MovingPictures details, My Videos Video Info and My Films Details.

    Note: Remember to remove any hyperlink details from existing trailer buttons if you're editing existing skin files.
     

    Attached Files:

    • DefaultWide.rar
      File size:
      11.1 KB
      Uploaded:
      November 4, 2013
      Views:
      221
    • aMPed.rar
      File size:
      10.3 KB
      Uploaded:
      November 8, 2013
      Views:
      224
    • AvallancheAddict.rar
      File size:
      11.8 KB
      Uploaded:
      November 8, 2013
      Views:
      203
    • MayaHD.rar
      File size:
      11.3 KB
      Uploaded:
      November 9, 2013
      Views:
      216
    Last edited: January 12, 2014
    • Like Like x 5
    • Thank You! Thank You! x 3
  4. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,213
    Likes Received:
    6,177
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,164 / 9
    Home Country:
    France France
    Show System Specs
    Thanks Damien :)
     
  5. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,741
    Likes Received:
    1,416
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,845 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
  6. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,448
    Likes Received:
    4,228
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,368 / 0
    Home Country:
    Australia Australia
    I updated the first post with the link to the mediaportal repository as it's now been approved. I also removed the version in the attachment.
     
    • Thank You! Thank You! x 3
    • Like Like x 1
  7. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,448
    Likes Received:
    4,228
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,368 / 0
    Home Country:
    Australia Australia
    Updated post above with support for Mustayaluca and Titan.

    Note: on the Titan skin I only added support in MovingPictures.
     
    • Like Like x 3
    • Thank You! Thank You! x 1
  8. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,448
    Likes Received:
    4,228
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,368 / 0
    Home Country:
    Australia Australia
    New release, changes are as follows:

    v1.0.1 [2013-11-08]
    • Fixed error seen when searching for local trailers if there is no filename in the current local media database e.g. DVD Media in MyFilms.
    • Updated translations from Transifex.
     
    • Thank You! Thank You! x 1
  9. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,448
    Likes Received:
    4,228
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,368 / 0
    Home Country:
    Australia Australia
    Updated post above with support for aMPed and PureVisionHD 1080 skins.
     
  10. tony3ridge
    • Premium Supporter

    tony3ridge MP Donator

    Joined:
    June 1, 2012
    Messages:
    243
    Likes Received:
    46
    Gender:
    Male
    Ratings:
    +84 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Can this plugin be used with Avallanche Addict skin?:unsure:
     
  11. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,448
    Likes Received:
    4,228
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,368 / 0
    Home Country:
    Australia Australia
    It can, I have attached support for AvallancheAddict above.
     
    Last edited: November 8, 2013
    • Thank You! Thank You! x 1
Loading...

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!