forked from MediaBrowser/plugin.video.emby
-
-
Notifications
You must be signed in to change notification settings - Fork 77
Skin integration
croneter edited this page Sep 14, 2019
·
14 revisions
Variable | Type | Meaning |
---|---|---|
Plex.nodes.total | window property, integer, 0-n | Total number of Plex sections |
[ID] | integer, 0-n | id of a certain Plex section. Sections are continuously numbered starting with zero. Obviously n = Plex.nodes.total - 1
|
[NODE] | string | Name of the widget / Plex node, e.g. ondeck . See here for a complete list for both movies and tv shows - use the node_type . |
Plex.nodes.[ID].title | window property, string | Title / label of the node |
Plex.nodes.[ID].path | window property, string | Path for Kodi to this node |
Plex.nodes.[ID].type | window property, string | Type of items of this node, e.g. movies , tvshows , seasons , episodes
|
You need to supply [ID]
and [NODE]
, the rest will be supplied by PKC. Get a window property variable
via
Window(Home).Property(variable)
<control type="list">
...
<content>
<item>
<label>$INFO[Window(Home).Property(Plex.nodes.[ID].title)]</label>
<onclick>$INFO[Window(Home).Property(Plex.nodes.[ID].path)]</onclick>
<property name="type">INFO[Window(Home).Property(Plex.nodes.[ID].type)]</property>
</item>
</content>
</control>
ID: 0-20
<item>
<label>$INFO[Window(Home).Property(Plex.nodes.0.title)]</label>
<onclick>$INFO[Window(Home).Property(Plex.nodes.0.path)]</onclick>
<property name="type">INFO[Window(Home).Property(Plex.nodes.0.type)]</property>
</item>
<control type="list">
...
<content target="videos" limit="30">$INFO[Window(Home).Property(Plex.nodes.[ID].[NODE].content)]</content>
</control>
ID: 0-20, NODE: ondeck, recent, recommended, genres, lastplayed, random, sets, all
<control type="list">
...
<content target="videos" limit="30">$INFO[Window(Home).Property(Plex.nodes.0.recent.content)]</content>
</control>
<control type="list">
...
<content>$INFO[Window(Home).Property(Plex.nodes.[ID].index)]</content>
</control>
ID: 0-20
<control type="list">
...
<content>$INFO[Window(Home).Property(Plex.nodes.0.index)]</content>
</control>
<onclick>RunPlugin(plugin://plugin.video.plexkodiconnect/?mode=switchuser)</onclick>
<onclick>RunPlugin(plugin://plugin.video.plexkodiconnect/?mode=manualsync)</onclick>
<onclick>Addon.OpenSettings(plugin.video.plexkodiconnect)</onclick>
$INFO[Window(Home).Property(Plex.nodes.total)]
<item>
<label>Playlists</label>
<onclick>ActivateWindow(Videos,"plugin://plugin.video.plexkodiconnect/?key=%2fplaylists%2fall%3ftype%3d15%26sort%3dlastViewedAt%3adesc&mode=browseplex&plex_type=playlist",return)</onclick>
</item>
Widget:
<content>plugin://plugin.video.plexkodiconnect/?key=%2fplaylists%2fall%3ftype%3d15%26sort%3dlastViewedAt%3adesc&mode=browseplex&plex_type=playlist</content>
<item>
<label>Plugins</label>
<onclick>ActivateWindow(Videos,"plugin://plugin.video.plexkodiconnect/?mode=channels",return)</onclick>
</item>
Widget:
<content>plugin://plugin.video.plexkodiconnect/?mode=channels</content>
Devs: croneter
- Screenshots
- Direct Paths Explained
- Set-up Direct Paths
- Direct Play
- Skins and Video Nodes
- Multiple users
- Multiple Plex Media Servers
- Manage additional Media without Plex
- Is PKC a hack
- FAQ
- Report a Bug
- How to uninstall PKC
- How to automatically delete playlists
- Update PKC Repository to receive automatic updates