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 [int 0-n] | Total number of Plex sections |
[ID] | [int 0-n] | id of a certain Plex section. Sections are continuously numbered starting with zero. n corresponds to (Plex.nodes.total - 1)
|
[TARGET] | string | Name of the widget / Plex node, e.g. ondeck . See here for a complete list for both movies and tv shows. |
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].[TARGET].content)]</content>
</control>
ID: 0-20, TARGET: 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