Trailers Plugin v1.3.0 (Play/Stream/DL for MovingPictures, My Films, My Videos..) [2020-02-23] (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    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.3.1+ (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.3.0 [2020-02-23]

    • Fixed trailer download not working due to changes in OnlineVideos YouTube site - further work may be required as it's unclear whether this is a bug or change of behaviour;
    • Compatibility with MyFilms v6.1.2+.
    v1.2.2 [2016-01-16]
    • Added support for Trailers skin button in new Trakt windows (Anticipated, Credits, BoxOffice).
    • Added check to the trailer auto-downloader if the corresponding plugin is enabled in settings but not installed.
    • Allow trailer search for My Videos plugin when there is no local file reference.
    • Updated translations from Transifex.
    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.
     

    Attachments

    • TrailersScreenshot1.jpg
      TrailersScreenshot1.jpg
      343.8 KB
    • TrailersScreenshot2.jpg
      TrailersScreenshot2.jpg
      348.8 KB
    • TrailersScreenshot3.jpg
      TrailersScreenshot3.jpg
      268.3 KB
    • GUIButtons.jpg
      GUIButtons.jpg
      621.3 KB
    • GUIMPEISettings.jpg
      GUIMPEISettings.jpg
      283 KB
    • SearchProviders.png
      SearchProviders.png
      32.8 KB
    • LocalTrailerSettings.png
      LocalTrailerSettings.png
      57.9 KB
    • ManualSearchSettings.png
      ManualSearchSettings.png
      45.8 KB
    • AutoDownloadSettings.png
      AutoDownloadSettings.png
      47.7 KB
    • Screenshot 2014-04-30 00.44.42.png
      Screenshot 2014-04-30 00.44.42.png
      40.8 KB
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #2
    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.
     

    Attachments

    • DefaultWide.rar
      11.1 KB
    • aMPed.rar
      10.3 KB
    • AvallancheAddict.rar
      11.8 KB
    • MayaHD.rar
      11.3 KB
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #7
    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.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #8
    Updated post above with support for aMPed and PureVisionHD 1080 skins.
     

    Users who are viewing this thread

    Top Bottom