Launch a random trailer before movie | Page 6

Discussion in 'Moving Pictures' started by WhyMe, September 7, 2009.

  1. SimplyC

    SimplyC Portal Member

    Joined:
    September 13, 2009
    Messages:
    34
    Likes Received:
    1
    Ratings:
    +1 / 0
    It's my understanding that 0.8 will have a "Watch Trailer" option when you go into a movie, so you won't need to mess around with filters. I'm v.exctied about that, especially if it can stream them (where available) from the web!

    However, I still like the idea of watching a trailer or two, chosen at random from you own collection so that, once you've picked your movie, it showcases what you could have watched. Even better if the file is 'selected' (i.e. genre/age appropriate).



    I'm sure someone much cleverer than me would know how to do this.... unfortunately I wouldn't know where to start...
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
  4. SimplyC

    SimplyC Portal Member

    Joined:
    September 13, 2009
    Messages:
    34
    Likes Received:
    1
    Ratings:
    +1 / 0
    Thank goodness for that. Lets get our genre filters up and running first eh! :D Poor old Ffore, getting some friendly tick for some over optmtic release dates on the other thread... :mad:

    Maybe I should try and learn C+....

    Here's an idea... how about putting the trailers into one folder with their original name, then using MediaPortals MyVideos for trailers...
     
  5. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Could you make an option so instead of using the filename it uses the folder name to search for the movie.
    I have my movies like this \root folder\moviename (year)\filename.ext

    eg.

    \28 Weeks Later (2007)\filename.avi
    \Die Hard (1995)\filename.mkv

    Alternatively you could use the moving pictures.db3 database file.
    It would look for a trailer for each movie in the database.
    Then it would either
    Option 1 - Save the movie as trailer.mov in the same folder as the movie (it would get the movie folder location from the database)
    Option 2 - Save the movie as moviename.mov in a custom trailer directory (it would get moviename from the database)

    And even cooler way of doing it would be to
    Open moving pictures.db3 database file
    Look for a trailer for each movie title in the database.
    Create a folder called \trailers\
    Create a subfolder for each trailer it finds, and save the file as \trailers\moviename\trailer.mov
    If it finds a trailer, then use the database info to copy the dvd cover image to \trailers\moviename\folder.jpg
    If it finds a trailer, then use the database info to copy the fanart image to \trailers\moviename\backdrop.jpg
    If it finds a trailer. then use the database info to create a file called trailer.txt, that contains the imdb url (this helps with moving pictures import)

    This way it's really easy to import the trailers info moving pictures and create a category filter called trailers.
     
  6. Guzzi
    • Premium Supporter

    Guzzi Retired Team Member

    Joined:
    August 20, 2007
    Messages:
    2,161
    Likes Received:
    704
    Ratings:
    +922 / 0
    AW: Launch a random trailer before movie

    Hi SimplyC,

    can you please also post the sources, so it can be adapted for personal use?
     
  7. marlon1925

    marlon1925 Portal Member

    Joined:
    December 18, 2010
    Messages:
    34
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    can the MP now play a random intro video(s) before the actual movie itself?
     
  8. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    AW: Launch a random trailer before movie

    no
     
  9. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    It can play a static intro movie, but not random.

    You define the intro movie in advanced settings, check the FAQ out otherwise on how to do so.
     
  10. Jocker_Boy

    Jocker_Boy Portal Pro

    Joined:
    December 9, 2008
    Messages:
    196
    Likes Received:
    3
    Location:
    Lisbon
    Ratings:
    +3 / 0
    Home Country:
    Portugal Portugal
    But this intro video, it's the same for all of movies?
    For example, i have my movies in each folder, with *.nfo, cover, fanart ald also a trailer (*movie*-trailer.mp4), it's possible to play for each movie this file that i have is each folder?

    Or the intro video that you said, it's only one video filme that we can play as intro for all of my movies?
     
  11. MatthiasB

    MatthiasB Portal Member

    Joined:
    April 21, 2008
    Messages:
    37
    Likes Received:
    3
    Ratings:
    +3 / 0
    Home Country:
    Canada Canada
    Jocker_Boy: No just the video you have set in the MP advanced settings.

    About the intro video; I have intro videos for DTS-HD MA and Dolby TrueHD. I was thinking that it would be cool if MP could display the intro file for the audio codec of the movie about to be watched.
     
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!