Personal Video Database

English => Feature Suggestions => Topic started by: jippo on July 03, 2016, 05:22:03 pm

Title: Trailers from themoviedb.org
Post by: jippo on July 03, 2016, 05:22:03 pm
Is it possible to obtain the url of the trailers offered themoviedb.org?
Title: Re: Trailers from themoviedb.org
Post by: Ivek23 on July 03, 2016, 06:29:14 pm
Is it possible to obtain the url of the trailers offered themoviedb.org?

A concrete example to see the possibilities of what can be and what can then be done.
Title: Re: Trailers from themoviedb.org
Post by: jippo on July 03, 2016, 06:50:46 pm
Custom fields: http://www.videodb.info/forum_en/index.php/topic,4022.msg19372.html#msg19372

Go to the "Videos" section: https://www.themoviedb.org/movie/1250-ghost-rider

And extract the Youtube URL. <iframe class=" lazyloaded" type="text/html" width="533" height="300" data-src="//www.youtube.com/embed/-f0ZDGm1F_M?autoplay=0&amp;origin=https://www.themoviedb.org&amp;hl=es-ES&amp;modestbranding=1&amp;fs=1" frameborder="0" allowfullscreen=""></iframe>

Title: Re: Trailers from themoviedb.org
Post by: Ivek23 on July 04, 2016, 05:57:00 am
Custom fields: http://www.videodb.info/forum_en/index.php/topic,4022.msg19372.html#msg19372

Go to the "Videos" section: https://www.themoviedb.org/movie/1250-ghost-rider

And extract the Youtube URL. <iframe class=" lazyloaded" type="text/html" width="533" height="300" data-src="//www.youtube.com/embed/-f0ZDGm1F_M?autoplay=0&amp;origin=https://www.themoviedb.org&amp;hl=es-ES&amp;modestbranding=1&amp;fs=1" frameborder="0" allowfullscreen=""></iframe>

Api-key page

http://api.themoviedb.org/3/movie/1250?append_to_response=alternative_titles,credits,keywords,images,videos&language=en&api_key=0a4782bd3877917501a2d45e1198f809

This is a proposal for VVV_Easy_Programing user.

Below is the URL for Contact Web:
http://contactbyweb.com/vvv-easy

Send a suggestion might be able to do something in this regard.
Title: Re: Trailers from themoviedb.org
Post by: VVV_Easy_Programing on July 06, 2016, 08:20:39 pm
As noted above there are only two options: directly read the website of the movie (jippo solution) or ask the api of TheMovieDB (Ivek23 solution).
The last may be the most consistent, at the end of the file seem returns the url of the trailer:

"videos":{"results":[{"id":"533ec657c3a368544800078b","iso_639_1":"en","iso_3166_1":"US","key":"R1hZNHPVVAQ","name":"Trailer 1","site":"YouTube","size":360,"type":"Trailer"}]}}

But I don't see this easy and ... ┬┐how many times see you the trailer of a film that you have seen? (and to decide which movie see never trust in a commercial trailer) ;-)