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 1
WebService and Mobile Access
Popular Plugins
MPExtended
WebMediaPortal Design
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="pünktchen" data-source="post: 869935" data-attributes="member: 107846"><p>Hi Oxan,</p><p>as i don't know how to provide a proper patch i'm going this way.</p><p>I've made some really small changes to movie images as you've done it with tvshow...</p><p> </p><p>[CODE] </p><p>- public ActionResult Image(string movie, int width = 0, int height = 0)</p><p>+ public ActionResult MovieCover(string movie, int width = 0, int height = 0)</p><p> {</p><p> return Images.ReturnFromService(WebStreamMediaType.Movie, movie, WebArtworkType.Cover, width, height);</p><p> }</p><p> </p><p>+ public ActionResult MovieFanart(string movie, int width = 0, int height = 0)</p><p>+ {</p><p>+ return Images.ReturnFromService(WebStreamMediaType.Movie, movie, WebArtworkType.Backdrop, width, height);</p><p>+ }</p><p>[/CODE]</p><p> </p><p>Attached are the "MovieLibraryController.cs" and the correspondending *.cshtml's.</p><p>Hopefully you will integrate it to git mastercode?!</p><p> </p><p>Greets</p><p>pünktchen</p></blockquote><p></p>
[QUOTE="pünktchen, post: 869935, member: 107846"] Hi Oxan, as i don't know how to provide a proper patch i'm going this way. 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); + } [/CODE] Attached are the "MovieLibraryController.cs" and the correspondending *.cshtml's. Hopefully you will integrate it to git mastercode?! Greets pünktchen [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
WebMediaPortal Design
Contact us
RSS
Top
Bottom