Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[skin.copacetic] 1.6.1 #466

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions skin.copacetic/16x9/Actions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@

<include name="Default_Transition_1x">
<definition>
<onclick condition="!String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem))">SetProperty(Breadcrumb_GoToNext,true)</onclick>
<onclick condition="!String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem))">SetProperty(Infoscreen_Transition,true,home)</onclick>
<onclick condition="!String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem))">SetProperty(Breadcrumb_GoToNext,true)</onclick>
<onclick condition="!String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem))">SetProperty(Infoscreen_Transition,true,home)</onclick>
<onclick condition="!$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(Container($PARAM[id]).ListItem.DBID,0) + !String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem))">SetProperty(Breadcrumb_GoToNext,true)</onclick>
<onclick condition="!$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(Container($PARAM[id]).ListItem.DBID,0) + !String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem))">SetProperty(Infoscreen_Transition,true,home)</onclick>
<onclick condition="!$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(Container($PARAM[id]).ListItem.DBID,0) + !String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem))">Dialog.Close(all,true)</onclick>
<onclick condition="!$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(Container($PARAM[id]).ListItem.DBID,0) + !String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem)) + String.IsEqual(Container($PARAM[id]).ListItem.DBType,movie) + !Window.IsVisible(videos)">ActivateWindow(Videos,videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B$ESCINFO[Container($PARAM[id]).ListItem.Title]%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D)</onclick>
<onclick condition="!$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(Container($PARAM[id]).ListItem.DBID,0) + !String.IsEqual(Container($PARAM[id]).ListItem.DBID,Window.Property(SelectedItem)) + String.IsEqual(Container($PARAM[id]).ListItem.DBType,movie) + Window.IsVisible(videos)">Container.Update(videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22is%22%2C%22value%22%3A%5B$ESCINFO[Container($PARAM[id]).ListItem.Title]%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D)</onclick>
Expand Down Expand Up @@ -125,8 +123,8 @@
</include>

<include name="ClickAction_Play_Episodes">
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + !String.IsEqual(Container(3201).ListItem.DBID,window(movieinformation).property(SelectedItem)) + !String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_1)">SetProperty(SentFromInfo,true,movieinformation)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + !String.IsEqual(Container(3201).ListItem.DBID,window(movieinformation).property(SelectedItem)) + !String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_1)">Container.Update($INFO[Container(3201).ListItem.FolderPath],replace)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + !String.IsEqual(Container(3201).ListItem.DBID,window(movieinformation).property(SelectedItem)) + !String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_01)">SetProperty(SentFromInfo,true,movieinformation)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + !String.IsEqual(Container(3201).ListItem.DBID,window(movieinformation).property(SelectedItem)) + !String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_01)">Container.Update($INFO[Container(3201).ListItem.FolderPath],replace)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + !String.IsEqual(Container(3201).ListItem.DBID,window(movieinformation).property(SelectedItem))">Dialog.Close(all)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + !String.IsEqual(Container(3201).ListItem.DBID,window(movieinformation).property(SelectedItem))">PlayMedia($ESCINFO[ListItem.Filenameandpath])</onclick>
</include>
Expand All @@ -139,35 +137,42 @@
<include name="ClickAction_Open_Season_Folder">
<onclick condition="Integer.IsGreater(ListItem.DBID,0)">Dialog.Close(all)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0)">SetProperty(SentFromInfo,true,movieinformation)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0)">ActivateWindow(Videos,$INFO[Container(3202).ListItem.FolderPath]/,return)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + Window.IsVisible(videos)">Container.Update($INFO[Container(3202).ListItem.FolderPath]/)</onclick>
<onclick condition="Integer.IsGreater(ListItem.DBID,0) + !Window.IsVisible(videos)">ActivateWindow(Videos,$INFO[Container(3202).ListItem.FolderPath]/,return)</onclick>
</include>

<include name="ClickAction_Open_Artist">
<onclick>Dialog.Close(all)</onclick>
<onclick>SetProperty(SentFromInfo,true,musicinformation)</onclick>
<onclick condition="Control.HasFocus(3204)">ActivateWindow(music,musicdb://artists/$INFO[Container(3202).ListItem.DBID]/,return)</onclick>
<onclick condition="Control.HasFocus(3204) + Window.IsVisible(music)">Container.Update(musicdb://artists/$INFO[Container(3202).ListItem.DBID]/)</onclick>
<onclick condition="Control.HasFocus(3204) + !Window.IsVisible(music)">ActivateWindow(music,musicdb://artists/$INFO[Container(3202).ListItem.DBID]/,return)</onclick>
</include>

<include name="ClickAction_Open_Album">
<onclick>Dialog.Close(all)</onclick>
<onclick>SetProperty(SentFromInfo,true,musicinformation)</onclick>
<onclick condition="Control.HasFocus(3202)">ActivateWindow(music,musicdb://albums/$INFO[Container(3202).ListItem.DBID]/-2/,return)</onclick>
<onclick condition="Control.HasFocus(3205)">ActivateWindow(music,musicdb://albums/$INFO[Container(3205).ListItem.DBID]/-2/,return)</onclick>
<onclick condition="Control.HasFocus(3202) + Window.IsVisible(music)">Container.Update(musicdb://albums/$INFO[Container(3202).ListItem.DBID]/-2/)</onclick>
<onclick condition="Control.HasFocus(3202) + !Window.IsVisible(music)">ActivateWindow(music,musicdb://albums/$INFO[Container(3202).ListItem.DBID]/-2/,return)</onclick>
<onclick condition="Control.HasFocus(3205) + Window.IsVisible(music)">Container.Update(musicdb://albums/$INFO[Container(3205).ListItem.DBID]/-2/)</onclick>
<onclick condition="Control.HasFocus(3205) + !Window.IsVisible(music)">ActivateWindow(music,musicdb://albums/$INFO[Container(3205).ListItem.DBID]/-2/,return)</onclick>
</include>

<include name="ClickAction_Open_TVShow">
<onclick>Dialog.Close(all)</onclick>
<onclick>ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
<onclick condition="Window.IsVisible(videos)">Container.Update(videodb://tvshows/titles/$INFO[ListItem.DBID]/)</onclick>
<onclick condition="!Window.IsVisible(videos)">ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return)</onclick>
</include>

<include name="ClickAction_Open_Set">
<onclick>Dialog.Close(all)</onclick>
<onclick>SetProperty(SentFromInfo,true,movieinformation)</onclick>
<onclick>ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
<onclick condition="Window.IsVisible(videos)">Container.Update(videodb://movies/sets/$INFO[ListItem.DBID]/)</onclick>
<onclick condition="!Window.IsVisible(videos)">ActivateWindow(videos,videodb://movies/sets/$INFO[ListItem.DBID]/,return)</onclick>
</include>

<include name="ClickAction_Play_MusicVideos">
<onclick condition="!String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_1)">Container.Update($INFO[Window(movieinformation).Property(ContainerPath_1)],replace)</onclick>
<onclick condition="!String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_01) + Window.IsVisible(videos)">Container.Update($INFO[Window(movieinformation).Property(ContainerPath_01)])</onclick>
<onclick condition="!String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_01) + !Window.IsVisible(videos)">ActivateWindow(videos,$INFO[Window(movieinformation).Property(ContainerPath_01)],replace)</onclick>
<onclick>Dialog.Close(all)</onclick>
<include content="Default_Play_Items" />
</include>
Expand Down
Loading
Loading