home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Trailer plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Brownard" data-source="post: 1292449" data-attributes="member: 48291"><p>That link in particular is fine as it links directly to the video file and LAV splitter should just be able to play it, YT links are also fine as there's lots of support out there for getting a direct link to a YT video. What we don't want to end up doing is reimplementing OnlineVideos with lots of website parsing etc for lots of obscure video hosting sites <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> .</p><p></p><p>TheMovieDb <a href="https://developers.themoviedb.org/3/movies/get-movie-videos" target="_blank">has an api</a> for getting associated videos, this includes trailers but also behind the scenes, bloopers, etc. What we can do is add an 'ExternalVideoAspect' loosely modelled on the TheMovieDb api, so it will store the url, language, type,.... Then in the client we can add a simple plugin that contains the url player (to avoid a dependency on the Cinema plugin) and checks for the existence of the aspect in a media item, and if present adds a context menu entry for the media item to play the trailer. Initially I'll just populate the aspect from nfos.</p><p></p><p>TheMovieDb MDE needs a bit of a rework before I add support for scraping it for trailers because it currently makes lots of individual requests for movie information (1 for the movie details, 1 for the images, 1 for the cast), and it's rate limited to a certain number of requests per minute so we end up doing lots of waiting on the rate limiter and adding another request for the associated videos will just make that worse. It's possible to combine all those requests into one with a bit of a rework so I need to do that first.</p><p></p><p>I am currently updating the installer to wix 4 in the .net 6 branch so it plays nicely with .net 6 and I have a few minor points to finish off in the fanart rework, then I'll have a look at implementing this.</p></blockquote><p></p>
[QUOTE="Brownard, post: 1292449, member: 48291"] That link in particular is fine as it links directly to the video file and LAV splitter should just be able to play it, YT links are also fine as there's lots of support out there for getting a direct link to a YT video. What we don't want to end up doing is reimplementing OnlineVideos with lots of website parsing etc for lots of obscure video hosting sites ;) . TheMovieDb [URL='https://developers.themoviedb.org/3/movies/get-movie-videos']has an api[/URL] for getting associated videos, this includes trailers but also behind the scenes, bloopers, etc. What we can do is add an 'ExternalVideoAspect' loosely modelled on the TheMovieDb api, so it will store the url, language, type,.... Then in the client we can add a simple plugin that contains the url player (to avoid a dependency on the Cinema plugin) and checks for the existence of the aspect in a media item, and if present adds a context menu entry for the media item to play the trailer. Initially I'll just populate the aspect from nfos. TheMovieDb MDE needs a bit of a rework before I add support for scraping it for trailers because it currently makes lots of individual requests for movie information (1 for the movie details, 1 for the images, 1 for the cast), and it's rate limited to a certain number of requests per minute so we end up doing lots of waiting on the rate limiter and adding another request for the associated videos will just make that worse. It's possible to combine all those requests into one with a bit of a rework so I need to do that first. I am currently updating the installer to wix 4 in the .net 6 branch so it plays nicely with .net 6 and I have a few minor points to finish off in the fanart rework, then I'll have a look at implementing this. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Trailer plugin
Contact us
RSS
Top
Bottom