aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2020-05-20 20:03:09 +0200
committerGitHub <noreply@github.com>2020-05-20 20:03:09 +0200
commit12d19656a813d2c798c1933f548cfc32232d06b6 (patch)
tree0f9c938e96c3d264a921ba4e2c7b8cd6db7b8a89 /addons
parente77e564b3529943d90f2fed1dda41f3418bfe388 (diff)
parent490ce64f04df680212d59b05452ffc2e31aee334 (diff)
Merge pull request #17900 from ksooo/pvr-dynamic-categories
[PVR][Estuary] Dynamic PVR categories for Estuary home screen.
Diffstat (limited to 'addons')
-rw-r--r--addons/skin.estuary/media/DefaultPVRChannels.pngbin0 -> 2897 bytes
-rw-r--r--addons/skin.estuary/media/DefaultPVRGuide.png (renamed from addons/skin.estuary/media/icons/pvr/epg.png)bin1115 -> 1115 bytes
-rw-r--r--addons/skin.estuary/media/DefaultPVRRecordings.png (renamed from addons/skin.estuary/media/icons/pvr/recording.png)bin1817 -> 1817 bytes
-rw-r--r--addons/skin.estuary/media/DefaultPVRSearch.pngbin0 -> 1981 bytes
-rw-r--r--addons/skin.estuary/media/DefaultPVRTimerRules.png (renamed from addons/skin.estuary/media/icons/pvr/timer-rule.png)bin3838 -> 3838 bytes
-rw-r--r--addons/skin.estuary/media/DefaultPVRTimers.png (renamed from addons/skin.estuary/media/icons/pvr/timer.png)bin3310 -> 3310 bytes
-rw-r--r--addons/skin.estuary/xml/Home.xml9
-rw-r--r--addons/skin.estuary/xml/Includes_Home.xml48
8 files changed, 6 insertions, 51 deletions
diff --git a/addons/skin.estuary/media/DefaultPVRChannels.png b/addons/skin.estuary/media/DefaultPVRChannels.png
new file mode 100644
index 0000000000..86e98fd590
--- /dev/null
+++ b/addons/skin.estuary/media/DefaultPVRChannels.png
Binary files differ
diff --git a/addons/skin.estuary/media/icons/pvr/epg.png b/addons/skin.estuary/media/DefaultPVRGuide.png
index d7370669ee..d7370669ee 100644
--- a/addons/skin.estuary/media/icons/pvr/epg.png
+++ b/addons/skin.estuary/media/DefaultPVRGuide.png
Binary files differ
diff --git a/addons/skin.estuary/media/icons/pvr/recording.png b/addons/skin.estuary/media/DefaultPVRRecordings.png
index e42f344f58..e42f344f58 100644
--- a/addons/skin.estuary/media/icons/pvr/recording.png
+++ b/addons/skin.estuary/media/DefaultPVRRecordings.png
Binary files differ
diff --git a/addons/skin.estuary/media/DefaultPVRSearch.png b/addons/skin.estuary/media/DefaultPVRSearch.png
new file mode 100644
index 0000000000..7a74fb7499
--- /dev/null
+++ b/addons/skin.estuary/media/DefaultPVRSearch.png
Binary files differ
diff --git a/addons/skin.estuary/media/icons/pvr/timer-rule.png b/addons/skin.estuary/media/DefaultPVRTimerRules.png
index 3942d4a270..3942d4a270 100644
--- a/addons/skin.estuary/media/icons/pvr/timer-rule.png
+++ b/addons/skin.estuary/media/DefaultPVRTimerRules.png
Binary files differ
diff --git a/addons/skin.estuary/media/icons/pvr/timer.png b/addons/skin.estuary/media/DefaultPVRTimers.png
index 6328fdd15e..6328fdd15e 100644
--- a/addons/skin.estuary/media/icons/pvr/timer.png
+++ b/addons/skin.estuary/media/DefaultPVRTimers.png
Binary files differ
diff --git a/addons/skin.estuary/xml/Home.xml b/addons/skin.estuary/xml/Home.xml
index a639eddfa0..b5e1290f52 100644
--- a/addons/skin.estuary/xml/Home.xml
+++ b/addons/skin.estuary/xml/Home.xml
@@ -402,11 +402,12 @@
</control>
</control>
<include content="WidgetListCategories" condition="System.HasPVRAddon">
+ <param name="content_path" value="pvr://tv/"/>
<param name="widget_header" value="$LOCALIZE[31148]"/>
+ <param name="widget_target" value="pvr"/>
<param name="list_id" value="12900"/>
- <param name="pvr_submenu" value="true"/>
- <param name="pvr_type" value="TV"/>
</include>
+
<include content="WidgetListChannels" condition="System.HasPVRAddon">
<param name="content_path" value="pvr://channels/tv/*?view=lastplayed"/>
<param name="sortby" value="lastplayed"/>
@@ -482,10 +483,10 @@
</control>
</control>
<include content="WidgetListCategories" condition="System.HasPVRAddon">
+ <param name="content_path" value="pvr://radio/"/>
<param name="widget_header" value="$LOCALIZE[31148]"/>
+ <param name="widget_target" value="pvr"/>
<param name="list_id" value="13900"/>
- <param name="pvr_submenu" value="true"/>
- <param name="pvr_type" value="Radio"/>
</include>
<include content="WidgetListChannels" condition="System.HasPVRAddon">
<param name="content_path" value="pvr://channels/radio/*?view=lastplayed"/>
diff --git a/addons/skin.estuary/xml/Includes_Home.xml b/addons/skin.estuary/xml/Includes_Home.xml
index 857e3b2724..d3c24b2b81 100644
--- a/addons/skin.estuary/xml/Includes_Home.xml
+++ b/addons/skin.estuary/xml/Includes_Home.xml
@@ -307,10 +307,8 @@
<param name="item_limit">20</param>
<param name="icon">$INFO[ListItem.Icon]</param>
<param name="icon_height">120</param>
- <param name="pvr_submenu">false</param>
<param name="additional_movie_items">false</param>
<param name="additional_tvshow_items">false</param>
- <param name="pvr_type">TV</param>
<param name="visible">true</param>
<definition>
<include content="CategoryLabel">
@@ -408,56 +406,12 @@
</control>
</control>
</focusedlayout>
- <include condition="!$PARAM[pvr_submenu]" content="SubmenuContent">
- <param name="widget_target" value="$PARAM[widget_target]"/>
- <param name="item_limit" value="$PARAM[item_limit]"/>
- <param name="content_path" value="$PARAM[content_path]"/>
- </include>
- <include condition="$PARAM[pvr_submenu]" content="PVRSubMenuContent">
- <param name="pvr_type" value="$PARAM[pvr_type]"/>
- </include>
+ <content target="$PARAM[widget_target]" limit="$PARAM[item_limit]">$PARAM[content_path]</content>
<include condition="$PARAM[additional_movie_items]" content="MovieSubmenuItems" />
<include condition="$PARAM[additional_tvshow_items]" content="TVShowSubmenuItems" />
</control>
</definition>
</include>
- <include name="SubmenuContent">
- <content target="$PARAM[widget_target]" limit="$PARAM[item_limit]">$PARAM[content_path]</content>
- </include>
- <include name="PVRSubMenuContent">
- <content>
- <item>
- <label>$LOCALIZE[19019]</label>
- <onclick>ActivateWindow($PARAM[pvr_type]Channels)</onclick>
- <thumb>DefaultAddonPeripheral.png</thumb>
- </item>
- <item>
- <label>$LOCALIZE[19069]</label>
- <onclick>ActivateWindow($PARAM[pvr_type]Guide)</onclick>
- <thumb>icons/pvr/epg.png</thumb>
- </item>
- <item>
- <label>$LOCALIZE[19017]</label>
- <onclick>ActivateWindow($PARAM[pvr_type]Recordings)</onclick>
- <thumb>icons/pvr/recording.png</thumb>
- </item>
- <item>
- <label>$LOCALIZE[19040]</label>
- <onclick>ActivateWindow($PARAM[pvr_type]Timers)</onclick>
- <thumb>icons/pvr/timer.png</thumb>
- </item>
- <item>
- <label>$LOCALIZE[19138]</label>
- <onclick>ActivateWindow($PARAM[pvr_type]TimerRules)</onclick>
- <thumb>icons/pvr/timer-rule.png</thumb>
- </item>
- <item>
- <label>$LOCALIZE[137]</label>
- <onclick>ActivateWindow($PARAM[pvr_type]Search)</onclick>
- <thumb>DefaultAddonsSearch.png</thumb>
- </item>
- </content>
- </include>
<include name="MovieSubmenuItems">
<content>
<item>