Feature Request - Trailers (1 Viewer)

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    Hi @offbyone

    I only really use online videos for trailers. What will happen is I would browse moving pictures for movies, I will select movie details, then I will select view trailer. This will load online videos plugin with a youtube search for "%movie% %year% trailer".

    I would like an additional loading parameter for online videos and for online videos to support TMDB API for youtube trailers. TMDB only lists trailers with youtube urls, so that makes things very simple.

    This is how I would imagine it would work:

    Online videos will be loaded from the skin with the following parameters
    Movie Name / Year / IMDB* / TMDB*
    * Both IMDB and TMDB are optional parameteres (if available)

    Online videos will check TMDB API for trailers using the parameters (example)
    It will display a context menu for all trailers, and clicking on a trailer will play the trailer.
    All the trailer links listed on TMDB are youtube urls.
    The last item in the context menu will be "Search Youtube", this does the existing function of searching youtube for "%movie% %year% trailer"
    If there are no trailers listed on TMDB then O.V. will automatically go into a youtube search.

    I could see this function being used for moving pictures / my films / my videos. It wouldn't require any changes to these plugins, as the feature can just be added at the skin level.

    Kiwi
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    I created the empty project file on the weekend :)

    I will start working on a Trailers plugin now which will allow TMDb trailers (youtube urls) to play through OnlineVideos (similar to how the Trakt plugin does now).

    Skins would simply only need to add a button to the relevant window, loadingparameters wont be needed as the plugin will work out whats best for the TMDb lookup.

    I may call upon @offbyone to improve the external OV API for playing videos such as being able to set the play properties and maybe make it more simple :) But right not it does what is needed.

    This new plugin will also detect if you have a local trailer, will probably start off something to detect this like check if the current video has a filename with 'trailer' in the local path e.g. if movie associated with plugin details screen is C:\movies\Aliens.mkv then search for any files like C:\movies\Aliens-trailer.* (that can be refined and user defined later).
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    nice one :D

    You could have an option to search for the folder
    c:\movies\aliens\
    for any files called
    *trailer*.*
    This would be for users who have one movie per folder

    I think some setup use filename-trailer.ext or trailer.ext, but there are also some setups that have a sub dir called trailers. This as an alternative option could probably cover a lot of different users, and I can't imagine it causing many false positives.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    I've done some work on it this weekend and pretty much finished the first online trailer provider from the 'themoviedb.org'. Will work on a local trailer provider next. Online playback is passed to OnlineVideos (same as what you've seen from the trakt plugin).

    Sneak Peak of what to expect.
     

    Attachments

    • 19-43-12.jpg
      19-43-12.jpg
      251.2 KB
    • 19-43-42.jpg
      19-43-42.jpg
      294 KB

    Users who are viewing this thread

    Top Bottom