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

Add new views #68

Merged
merged 14 commits into from Mar 20, 2019

Add new "Random TV shows" widget

script-skinshortcuts-static.xml:
- change standard TV shows widget to "Random TV shows"

Variables.xml:
- fix StatusOverlay and StatusOverlayWide variables for resumable items

random_TV_shows.xsp:
- add new "Random TV shows" smart playlist for new standard TV shows widget

strings.po:
- add new localize for new standard TV shows widget (31118)

overrides.xml:
- change standard TV shows widget to "Random TV shows"

addon.xml:
- update changelog

Changelog.md:
- update changelog
  • Loading branch information...
Ch1llb0 committed Mar 9, 2019
commit 89c360db6c0d02918d0d61f3fc524dea23cba56a
Copy path View file
@@ -659,7 +659,7 @@
<value condition="ListItem.IsResumable + Integer.IsGreater(ListItem.PercentPlayed,38)">views/OverlayProgress4.png</value>
<value condition="ListItem.IsResumable + Integer.IsGreater(ListItem.PercentPlayed,26)">views/OverlayProgress3.png</value>
<value condition="ListItem.IsResumable + Integer.IsGreater(ListItem.PercentPlayed,13)">views/OverlayProgress2.png</value>
<value condition="ListItem.IsResumable">views/OverlayProgress1.png</value>
<value condition="ListItem.IsResumable">views/OverlayResumable.png</value>
<value condition="!String.IsEmpty(ListItem.PlayCount)">views/OverlayProgressWatched.png</value>
</variable>

@@ -674,7 +674,7 @@
<value condition="ListItem.IsResumable + Integer.IsGreater(ListItem.PercentPlayed,38)">views/OverlayProgressWide4.png</value>
<value condition="ListItem.IsResumable + Integer.IsGreater(ListItem.PercentPlayed,26)">views/OverlayProgressWide3.png</value>
<value condition="ListItem.IsResumable + Integer.IsGreater(ListItem.PercentPlayed,13)">views/OverlayProgressWide2.png</value>
<value condition="ListItem.IsResumable">views/OverlayProgressWide1.png</value>
<value condition="ListItem.IsResumable">views/OverlayResumableWide.png</value>
<value condition="!String.IsEmpty(ListItem.PlayCount)">views/OverlayProgressWideWatched.png</value>
</variable>

@@ -830,9 +830,9 @@
<property name="labelID">widget</property>
<property name="defaultID">widget</property>
<property name="widget">library</property>
<property name="widgetName">$LOCALIZE[20387]</property>
<property name="widgetType">epsiodes</property>
<property name="widgetPath">videodb://recentlyaddedepisodes</property>
<property name="widgetName">$LOCALIZE[31118]</property>
<property name="widgetType">tvshows</property>
<property name="widgetPath">special://skin/extras/playlists/random_TV_shows.xsp</property>
<property name="widgetTarget">videos</property>
<property name="path">noop</property>
<property name="list">noop</property>
@@ -1058,7 +1058,7 @@
</focusedlayout>
<content>
<item id="1">
<label>$LOCALIZE[20387]</label>
<label>$LOCALIZE[31118]</label>
<visible>Integer.IsGreater(Container(10201).NumItems,0) | Container(10201).IsUpdating</visible>
<property name="widgetID">2-1</property>
<property name="widgetContainer">10201</property>
@@ -1963,7 +1963,7 @@
<visible>!Control.HasFocus(10201)</visible>
</control>
</focusedlayout>
<content target="videos">videodb://recentlyaddedepisodes</content>
<content target="videos">special://skin/extras/playlists/random_TV_shows.xsp</content>
</control>
<control id="10401" type="list">
<viewtype label="">list</viewtype>
Copy path View file
@@ -13,6 +13,7 @@ _New_
- add director button to video info dialog
- add new views (wide low, wall small, wall low, wall info, list info)
- add new sub-menu indicator icon
- add "Random TV shows" widget as new standard for TV shows home menu entry

_Improved_
- adjust syntax, values, labels and infobools to match v18 requirements
@@ -365,6 +366,7 @@ script-skin_helper_service-ColorPicker.xml:
script.skinshortcuts-static-xml:
- hack game widget to show proper widget title
- replace colors by new color variables
- change standard TV shows widget to "Random TV shows"

script-skinshortcuts.xml:
- replace colors by new color variables
@@ -421,6 +423,7 @@ Variables.xml:
- add new PVRCHannelIconDialogOSD variable
- add new PlotDialogGuide variable
- add new PVRDescriptionDialogGuide variable
- fix StatusOverlay and StatusOverlayWide variables for resumable items

VideoFullScreen.xml:
- replace colors by new color variables
@@ -494,12 +497,16 @@ Viewtype511.xml:
Viewtype531.xml:
- new wall info view

random_TV_shows.xsp:
- add new "Random TV shows" smart playlist for new standard TV shows widget

strings.po:
- add new localizes for reworked skin settings (31052, 31097, 31107, 31108, 31109, 31110, 31111)
- add new localizes for new views (31112, 31113, 31114)
- add new localize for new music OSD album art size option (31115)
- change localizes for views (31112, 31113, 31114)
- add new localizes for new views (31116, 31117)
- add new localize for new standard TV shows widget (31118)

Textures.xbt:
- update file with new resolution select icon included
@@ -508,6 +515,7 @@ Textures.xbt:

overrides.xml:
- simplify game home menu entry and game widget
- change standard TV shows widget to "Random TV shows"

template.xml:
- replace colors by new color variables
Copy path View file
@@ -14,7 +14,7 @@
<platform>all</platform>
<summary lang="en">The default skin for OSMC</summary>
<description lang="en">Original skin: Andy Morton[CR]Original design: Simon Brunton[CR]Skinner: Julian Michel</description>
<news>OSMC Kodi v18 update[CR][CR][B]New[/B][CR]- add new v18 subtitle settings OSD during fullscreen video playback[CR]- add new games section to match v18 requirements[CR]- add games section[CR]- add new resolution select button/dialog in video player[CR]- add player icon to now playing dialog[CR]- add new dependency button in addon info dialog to match v18 requirements[CR]- new color options (color sets, background gradients, adjustable opacity)[CR]- add PVR channel number input dialog[CR]- add PVR timeshift status dialog[CR]- add welcome dialog on non-OSMC devices[CR]- add director button to video info dialog[CR]- add new views (wide low, wall small, wall low, wall info, list info)[CR]- add new sub-menu indicator icon[CR][CR][B]Improved[/B][CR]- adjust syntax, values, labels and infobools to match v18 requirements[CR]- adjust PVR section to match v18 requirements[CR]- highlighting color now adjusts according to text color[CR]- streamline OSD animations[CR]- add missing adjustable plot fonts[CR]- let favourites dialog behave like a normal window[CR]- add file path and name to refresh button in video info dialog[CR]- add song/album year to music player[CR]- add wide list as music view[CR]- add music OSD album art size switch[CR][CR][B]Fixed[/B][CR]- show proper game widget title when not using skinshortcuts script[CR]- highlighting is now more consistent[CR]- fix current position/time remaining and current time/end time for PVR playback[CR]- hide deprecated previous/next channel buttons in PVR playback OSD[CR]- fix background of subtitle settings window[CR]- fix layout of PVR playback dialogs</news>
<news>OSMC Kodi v18 update[CR][CR][B]New[/B][CR]- add new v18 subtitle settings OSD during fullscreen video playback[CR]- add new games section to match v18 requirements[CR]- add games section[CR]- add new resolution select button/dialog in video player[CR]- add player icon to now playing dialog[CR]- add new dependency button in addon info dialog to match v18 requirements[CR]- new color options (color sets, background gradients, adjustable opacity)[CR]- add PVR channel number input dialog[CR]- add PVR timeshift status dialog[CR]- add welcome dialog on non-OSMC devices[CR]- add director button to video info dialog[CR]- add new views (wide low, wall small, wall low, wall info, list info)[CR]- add new sub-menu indicator icon[CR]- add "Random TV shows" widget as new standard for TV shows home menu entry[CR][CR][B]Improved[/B][CR]- adjust syntax, values, labels and infobools to match v18 requirements[CR]- adjust PVR section to match v18 requirements[CR]- highlighting color now adjusts according to text color[CR]- streamline OSD animations[CR]- add missing adjustable plot fonts[CR]- let favourites dialog behave like a normal window[CR]- add file path and name to refresh button in video info dialog[CR]- add song/album year to music player[CR]- add wide list as music view[CR]- add music OSD album art size switch[CR][CR][B]Fixed[/B][CR]- show proper game widget title when not using skinshortcuts script[CR]- highlighting is now more consistent[CR]- fix current position/time remaining and current time/end time for PVR playback[CR]- hide deprecated previous/next channel buttons in PVR playback OSD[CR]- fix background of subtitle settings window[CR]- fix layout of PVR playback dialogs</news>
</extension>
<assets>
<icon>icon.png</icon>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>Random TV shows</name>
<match>all</match>
<limit>20</limit>
<order direction="descending">random</order>
</smartplaylist>
Copy path View file
@@ -553,4 +553,9 @@ msgstr ""
#: /16x9/Viewtype511.xml
msgctxt "#31117"
msgid "List - info"
msgstr ""

#: /16x9/SkinSettings.xml
msgctxt "#31118"
msgid "Random TV shows"
msgstr ""
Copy path View file
@@ -26,9 +26,8 @@
<widgetdefaultnode labelID="widget" group="movies.1" label="$LOCALIZE[31054]" type="movies" path="special://skin/extras/playlists/random_movies.xsp" target="videos">playlist</widgetdefaultnode>
<propertydefault labelID="widget" group="movies.1" property="widgetArt">Art(poster)</propertydefault>

<widgetdefaultnode labelID="widget" group="tvshows.1" label="$LOCALIZE[20387]" type="epsiodes" path="videodb://recentlyaddedepisodes" target="video">library</widgetdefaultnode>
<propertydefault labelID="widget" group="tvshows.1" property="widgetArt">Art(season.poster)</propertydefault>
<propertydefault labelID="widget" group="tvshows.1" property="widgetFallbackArt">Art(tvshow.poster)</propertydefault>
<widgetdefaultnode labelID="widget" group="tvshows.1" label="$LOCALIZE[31118]" type="tvshows" path="special://skin/extras/playlists/random_TV_shows.xsp" target="videos">library</widgetdefaultnode>
<propertydefault labelID="widget" group="tvshows.1" property="widgetArt">Art(poster)</propertydefault>

<widgetdefaultnode labelID="widget" group="14204.1" label="$LOCALIZE[19217]" type="pvr" path="pvr://channels/tv/*/" target="video">pvr</widgetdefaultnode>

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.