- August 29, 2009
- 1,730
- 1,124
- Home Country
- Netherlands
The easiest (for me) way is to use git, using one of the following ways:Hi Oxan,
as i don't know how to provide a proper patch i'm going this way.
- Download the code with git, make changes and attach the output of the 'git diff' command (or the create patch option in your favorite user interface) here.
- Fork the MPExtended project on GitHub, clone your own fork, make changes, commit them, push them to your fork and create a pull request on GitHub for MPExtended.
Thanks, I've applied this patch with one minor change: I renamed the methods to Cover() and Fanart(). There's no need to prefix them with Movie, as it's already in the MovieLibraryController (this was done for TVShows because you have shows, seasons and episodes there, but we don't have that for movies).I've made some really small changes to movie images as you've done it with tvshow...
Code:- public ActionResult Image(string movie, int width = 0, int height = 0) + public ActionResult MovieCover(string movie, int width = 0, int height = 0) { return Images.ReturnFromService(WebStreamMediaType.Movie, movie, WebArtworkType.Cover, width, height); } + public ActionResult MovieFanart(string movie, int width = 0, int height = 0) + { + return Images.ReturnFromService(WebStreamMediaType.Movie, movie, WebArtworkType.Backdrop, width, height); + }
Attached are the "MovieLibraryController.cs" and the correspondending *.cshtml's.
Hopefully you will integrate it to git mastercode?!
Greets
pünktchen