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
MediaPortal 1 Plugins
[Plugin] MediaBrowser for MediaPortal (v0.30-beta) [2014/08/20]
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="armandp" data-source="post: 1078327" data-attributes="member: 71896"><p>coming next update.</p><p></p><p></p><p></p><p></p><p>this will be available later.</p><p></p><p></p><p></p><p>There already is something like " typed facade" for browing in the plugin where you can have multiple facades for every type <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Name your fallback facade: MediaBrowser.Facade.Default</p><p>Name your other facades MediaBrowser.Facade.<Dto Type></p><p></p><p>for instance if you want to show another facade when viewing a Season you would create a facade called: MediaBrowser.Facade.Season</p><p>You can omit the logic to hide/show the other facades this is handled by the plugin.</p><p></p><p>There will be only one facade per screen but it can be a different one for each dto type.</p><p>Type in this context is more like the parent type of the list not the type of the content in the list.</p><p>If you have the property logging enabled the type is shown at #MediaBrowser.Current.Type</p><p></p><p>You can look at the logic for this starting at: <a href="https://github.com/apondman/MediaBrowser/blob/master/src/Pondman.MediaPortal.MediaBrowser/GUI/GUIMain.cs#L299" target="_blank">https://github.com/apondman/MediaBrowser/blob/master/src/Pondman.MediaPortal.MediaBrowser/GUI/GUIMain.cs#L299</a></p><p></p><p>i'm also adding stuff to read out image dimensions from facade tags so that every detail can be dictated by the skinner.</p></blockquote><p></p>
[QUOTE="armandp, post: 1078327, member: 71896"] coming next update. this will be available later. There already is something like " typed facade" for browing in the plugin where you can have multiple facades for every type :) Name your fallback facade: MediaBrowser.Facade.Default Name your other facades MediaBrowser.Facade.<Dto Type> for instance if you want to show another facade when viewing a Season you would create a facade called: MediaBrowser.Facade.Season You can omit the logic to hide/show the other facades this is handled by the plugin. There will be only one facade per screen but it can be a different one for each dto type. Type in this context is more like the parent type of the list not the type of the content in the list. If you have the property logging enabled the type is shown at #MediaBrowser.Current.Type You can look at the logic for this starting at: [url]https://github.com/apondman/MediaBrowser/blob/master/src/Pondman.MediaPortal.MediaBrowser/GUI/GUIMain.cs#L299[/url] i'm also adding stuff to read out image dimensions from facade tags so that every detail can be dictated by the skinner. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
[Plugin] MediaBrowser for MediaPortal (v0.30-beta) [2014/08/20]
Contact us
RSS
Top
Bottom