Thread Rating:
  • 1 Vote(s) - 5 Average
How can we make themes / views for a specific plugin?
#1
Question 
How do we make an interface for a plugin that is used whenever a certain skin is used?

I want to create a view for browsing Netflix but only accessible when browsing netflix.
[Image: sigpic_51354_dedd3c5dac45dcc8f6b4ccc9d9ad3429.png]
To learn more, click here.
Reply
#2
<visible>substring(container.folderpath,plugin://plugin.video.apple.movie.trailers.lite)</visible>

I use this to keep my AMT Lite views limited, just change the path
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#3
This is what I used for the Hulu plugin:
PHP Code:
<visible>substring(container.folderpath,plugin://plugin.video.hulu)</visible> 

Should work for Netflix too
Reply
#4
Thanks guys, never thought of it that way!

Is it possible to do a different interface for a plugin itself? Such as changing the colors of forum browser or some other plugin.
[Image: sigpic_51354_dedd3c5dac45dcc8f6b4ccc9d9ad3429.png]
To learn more, click here.
Reply
#5
Scripts have custom .xml's that we can code like RCB, Lyrics, Big Picture, etc...And plugins use whatever windows that are specified - like AMT lite uses whatever Movie views are available and Launcher uses whatever views allowed in Programs.

To get specifics labels/images for plugins you gotta use the substring trick me and Arc posted...Like I have a some specific AMT labels and I use that substring trick to show them correctly.
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#6
Is it possible to have only one view for all plugins in a section. As in a single view for music plugins, video plugins and so on.

Edit: I am currently using
<visible>Window.IsVisible(Plugins)</visible>
but there are some situations where it is not working.
Reply
#7
bridgman Wrote:Is it possible to have only one view for all plugins in a section. As in a single view for music plugins, video plugins and so on.

Edit: I am currently using
<visible>Window.IsVisible(Plugins)</visible>
but there are some situations where it is not working.

like this?

Code:
</visible>substring(Container.FolderPath,plugin://video/)</visible>
Code:
</visible>substring(Container.FolderPath,plugin://music/)</visible>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#8
That is how I am doing it at the moment. Only one plugin is giving me trouble when I pull up a certain list for local radio stations.
My main thing is I only want that view for plugins only.
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
How can we make themes / views for a specific plugin?51