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: 1078481" data-attributes="member: 71896"><p>Oke i just committed a change to make the smart facade more specific.</p><p>You can now use: MediaBrowser.Facade.<type>.<id>. The id refers to the value of #MediaBrowser.Current.Id</p><p></p><p>Examples</p><p></p><p><strong>MediaBrowser.Facade.View.movies-all </strong>(facade for the view All Movies)</p><p><strong><strong>MediaBrowser.Facade.View.</strong>tvshows-all </strong> (facade for the view All TV Shows)</p><p><strong><strong>MediaBrowser.Facade.View.</strong>music-albums </strong>(facade for the view Music Albums)</p><p></p><p>You can overrride as deep as the individual guids for specific collection items (but you probably wont need that) Next step is maybe a mask for the Ids so you could group all movie related views with <strong>MediaBrowser.Facade.View.movies* </strong>but this is something i need to think through first. Perhaps it's wiser to differentiate a View type as MovieView, EpisodeView, SeasonView etc.. or something instead of id <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>if you have issues compiling just send me an PM and i'll send you a DLL to work with.</p></blockquote><p></p>
[QUOTE="armandp, post: 1078481, member: 71896"] Oke i just committed a change to make the smart facade more specific. You can now use: MediaBrowser.Facade.<type>.<id>. The id refers to the value of #MediaBrowser.Current.Id Examples [B]MediaBrowser.Facade.View.movies-all [/B](facade for the view All Movies) [B][B]MediaBrowser.Facade.View.[/B]tvshows-all [/B] (facade for the view All TV Shows) [B][B]MediaBrowser.Facade.View.[/B]music-albums [/B](facade for the view Music Albums) You can overrride as deep as the individual guids for specific collection items (but you probably wont need that) Next step is maybe a mask for the Ids so you could group all movie related views with [B]MediaBrowser.Facade.View.movies* [/B]but this is something i need to think through first. Perhaps it's wiser to differentiate a View type as MovieView, EpisodeView, SeasonView etc.. or something instead of id ;) if you have issues compiling just send me an PM and i'll send you a DLL to work with. [/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