Apply custom filtering to dynamic content?
#84
(2020-09-13, 08:28)QuizKid Wrote:
(2019-03-06, 06:10)jurialmunkey Wrote: Proof of concept:

Here's local video info being called from videoinfo dialog for movies in the set. This is done entirely with the skinning engine and local content. There is even a breadrcrumb memory so that you can backtrack.

Also @jurialmunkey, how do you get the information for the newly selected video to repopulate the infoscreen on this video?
hi, i was'nt get asked and unsure if he us doin it the same way, but
the result may be the same.
video: https://streamable.com/vn0nh
- i use the dialog, replace window and focus the wished item by using its db id.
- the path need to be conditional to differ between a kodi setting ( show movie set folder)
xml:


<include condition="!Skin.HasSetting(Dialog_ItemsForceSelect)" content="Action_ItemForceInfo"/>
<include condition="Skin.HasSetting(Dialog_ItemsForceSelect)" content="Action_ItemForceSelect"/>

<include name="Action_ItemForceInfo">
<onclick>Dialog.Close(movieinformation)</onclick>
<onclick condition="String.IsEqual(Container($PARAM[id]).ListItem.dbtype,movie) + [!System.GetBool(videolibrary.groupmoviesets) | [System.GetBool(videolibrary.groupmoviesets) + String.IsEmpty(Container($PARAM[id]).ListItem.SetId)]]">ReplaceWindow(Videos,videodb://movies/titles/$INFO[Container($PARAM[id]).ListItem.dbid])</onclick>
<onclick condition="String.IsEqual(Container($PARAM[id]).ListItem.dbtype,movie) + System.GetBool(videolibrary.groupmoviesets) + !String.IsEmpty(Container($PARAM[id]).ListItem.SetId)">ReplaceWindow(Videos,videodb://movies/sets/$INFO[Container($PARAM[id]).ListItem.SetId]/$INFO[Container($PARAM[id]).ListItem.dbid]?setid=$INFO[Container($PARAM[id]).ListItem.SetId])</onclick>
<onclick condition="String.IsEqual(Container($PARAM[id]).ListItem.dbtype,tvshow)">ReplaceWindow(Videos,videodb://tvshows/titles/$INFO[Container($PARAM[id]).ListItem.dbid])</onclick>
<onclick>Action(info)</onclick> maybe use alarm clock if !window.ismedia, as it dont perform the info when coming from home.xml
</include>

<include name="Action_ItemForceSelect">
<onclick condition="String.IsEqual(Container($PARAM[id]).ListItem.dbtype,movie)">PlayMedia($INFO[Container($PARAM[id]).ListItem.filenameandpath],resume)</onclick>
<onclick>Dialog.Close(movieinformation)</onclick>
<onclick condition="String.IsEqual(Container($PARAM[id]).ListItem.dbtype,tvshow)">ReplaceWindow(Videos,videodb://tvshows/titles/$INFO[Container($PARAM[id]).ListItem.dbid]/)</onclick>
</include>
- the $PARAM[id] is the container id which uses the override onclick

hope that helps.
Skins |  Titan M O D   •   S W A N (WIP)
Reply


Messages In This Thread
RE: Apply custom filtering to dynamic content? - by mardukL - 2021-04-08, 21:14
Logout Mark Read Team Forum Stats Members Help
Apply custom filtering to dynamic content?0