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

Mediabrowser support including fixes #79

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
10 changes: 2 additions & 8 deletions 720p/AddonBrowser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@

<window id="20">

<defaultcontrol always="true">50</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<views>50,54,59</views>
<include>Common_Window</include>

<!--Splash Screen-->
<onload condition="!Skin.HasSetting(NoSplashScreen)">ActivateWindow(60)</onload>

<onload>Skin.Reset(ShowAppBar)</onload>
<onunload>Skin.Reset(ShowAppBar)</onunload>
<views>50,54,59</views>

<controls>

Expand Down
2 changes: 1 addition & 1 deletion 720p/Custom_Charms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<posx>40</posx>
<posy>545</posy>
<width>500</width>
<width>600</width>
<height>136</height>
<texture>colors/color_white.png</texture>
<colordiffuse>FanartDiffuse</colordiffuse>
Expand Down
40 changes: 25 additions & 15 deletions 720p/Custom_Hub_Movies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

<window id="61">

<include>Common_Window</include>

<defaultcontrol always="true">9000</defaultcontrol>

<zorder>2</zorder>

<include>Common_Animation_Window</include>

<!--Splash Screen-->
<onload condition="!Skin.HasSetting(NoSplashScreen) + Window.Previous(home)">ActivateWindow(60)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + Skin.HasSetting(ShowInCinemasSection_Video)">RunScript(script.extendedinfo,info=incinema)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + Skin.HasSetting(ShowTrendingSection_Video)">RunScript(script.extendedinfo,info=TrendingMovies)</onload>

Expand All @@ -21,7 +19,7 @@

<onload>AlarmClock(MoveTrakt,Control.Move(9007,1),00:20,silent,loop)</onload>
<onunload>XBMC.CancelAlarm(MoveTrakt,true)</onunload>

<controls>

<!--Background Area-->
Expand All @@ -46,8 +44,7 @@
<height>480</height>

<!--Animation-->
<include condition="Window.Previous(home)">Common_Animation_Content_Splash</include>
<include condition="!Window.Previous(home)">Common_Animation_Content</include>
<include>Common_Animation_Content</include>

<control type="grouplist">

Expand Down Expand Up @@ -189,84 +186,96 @@
<description>Titles</description>
<label>Titles</label>
<thumb>hub/hub_movietitles_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieTitles,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">ActivateWindow(Video,MovieTitles, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.movies.0.path)]</onclick>
</item>

<item>
<description>Recently Added</description>
<label>Recently added</label>
<thumb>hub/hub_recentlyadded_small.png</thumb>
<onclick>ActivateWindow(Videos,RecentlyAddedMovies,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">ActivateWindow(Video, RecentlyAddedMovies, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.movies.1.path)]</onclick>
</item>

<item>
<description>In Progress</description>
<label>In Progress</label>
<thumb>hub/hub_inprogress_small.png</thumb>
<onclick>ActivateWindow(65,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">ActivateWindow(65,return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.movies.2.path)]</onclick>
</item>

<item>
<description>Actors</description>
<label>Actors</label>
<thumb>hub/hub_actors_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieActors,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">ActivateWindow(Video, MovieActors, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.movies.8.path)]</onclick>
</item>

<item>
<description>Directors</description>
<label>Directors</label>
<thumb>hub/hub_directors_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieDirectors,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforMovies)</visible>
</item>

<item>
<description>Genres</description>
<label>Genres</label>
<thumb>hub/hub_genres_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieGenres,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">ActivateWindow(Video, MovieGenres, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.movies.6.path)]</onclick>
</item>

<item>
<description>Years</description>
<label>Years</label>
<thumb>hub/hub_years_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieYears,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforMovies)</visible>
</item>

<item>
<description>Studios</description>
<label>Studios</label>
<thumb>hub/hub_studios_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieStudios,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">ActivateWindow(Video, MovieStudios, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.movies.7.path)]</onclick>
</item>

<item>
<description>Countries</description>
<label>Countries</label>
<thumb>hub/hub_countries_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieCountries,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforMovies)</visible>
</item>

<item>
<description>Sets</description>
<label>Sets</label>
<thumb>hub/hub_sets_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieSets,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">ActivateWindow(Video, MovieSets, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.movies.4.path)]</onclick>
</item>

<item>
<description>Tags</description>
<label>Tags</label>
<thumb>hub/hub_tags_small.png</thumb>
<onclick>ActivateWindow(Videos,MovieTags,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforMovies)</visible>
</item>

<item>
<description>Playlists</description>
<label>Playlists</label>
<thumb>hub/hub_playlists_small.png</thumb>
<onclick>ActivateWindow(Videos,special://videoplaylists/,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforMovies)">>ActivateWindow(Videos,special://videoplaylists/,return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforMovies)">$INFO[Window(Home).Property(xbmb3c.std.playlists.0)]</onclick>
</item>

<item>
Expand All @@ -281,6 +290,7 @@
<label>Files</label>
<thumb>hub/hub_files_small.png</thumb>
<onclick>ActivateWindow(Videos,Files,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforMovies)</visible>
</item>

</content>
Expand Down
9 changes: 3 additions & 6 deletions 720p/Custom_Hub_Music.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

<window id="63">

<include>Common_Window</include>

<defaultcontrol always="true">9000</defaultcontrol>

<zorder>2</zorder>

<include>Common_Animation_Window</include>

<!--Splash Screen-->
<onload condition="!Skin.HasSetting(NoSplashScreen) + Window.Previous(home)">ActivateWindow(60)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + Skin.HasSetting(ShowNearbyEventsSection_Music)">RunScript(script.extendedinfo,info=NearEvents)</onload>

<onload>AlarmClock(MoveFeatured,Control.Move(9001,1),00:20,silent,loop)</onload>
Expand Down Expand Up @@ -39,8 +37,7 @@
<height>480</height>

<!--Animation-->
<include condition="Window.Previous(home)">Common_Animation_Content_Splash</include>
<include condition="!Window.Previous(home)">Common_Animation_Content</include>
<include>Common_Animation_Content</include>

<control type="grouplist">

Expand Down
30 changes: 18 additions & 12 deletions 720p/Custom_Hub_TV.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

<window id="62">

<include>Common_Window</include>

<defaultcontrol always="true">9000</defaultcontrol>

<zorder>2</zorder>

<include>Common_Animation_Window</include>

<!--Splash Screen-->
<onload condition="!Skin.HasSetting(NoSplashScreen) + Window.Previous(home)">ActivateWindow(60)</onload>
<onload condition="System.HasAddon(script.tv.show.next.aired) + Skin.HasSetting(ShowAiringTodaySection_Video)">XBMC.RunScript(script.tv.show.next.aired,backend=True)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + Skin.HasSetting(ShowTrendingSection_Video)">RunScript(script.extendedinfo,info=TrendingShows)</onload>

Expand All @@ -18,7 +16,7 @@

<onload>AlarmClock(MoveTrakt,Control.Move(9007,1),00:20,silent,loop)</onload>
<onunload>XBMC.CancelAlarm(MoveTrakt,true)</onunload>

<controls>

<!--Background Area-->
Expand All @@ -43,8 +41,7 @@
<height>480</height>

<!--Animation-->
<include condition="Window.Previous(home)">Common_Animation_Content_Splash</include>
<include condition="!Window.Previous(home)">Common_Animation_Content</include>
<include>Common_Animation_Content</include>

<control type="grouplist">

Expand Down Expand Up @@ -186,56 +183,64 @@
<description>Titles</description>
<label>Titles</label>
<thumb>hub/hub_movietitles_small.png</thumb>
<onclick>ActivateWindow(Videos,TvShowTitles,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforTVSeries)">ActivateWindow(Video,TvShowTitles, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforTVSeries)">$INFO[Window(Home).Property(xbmb3c.std.tvshows.0.path)]</onclick>
</item>

<item>
<description>Recently Added</description>
<label>Recently added</label>
<thumb>hub/hub_recentlyadded_small.png</thumb>
<onclick>ActivateWindow(Videos,RecentlyAddedEpisodes,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforTVSeries)">ActivateWindow(Video,RecentlyAddedEpisodes, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforTVSeries)">$INFO[Window(Home).Property(xbmb3c.std.tvshows.0.path)]</onclick>
</item>

<item>
<description>In Progress</description>
<label>In Progress</label>
<thumb>hub/hub_inprogress_small.png</thumb>
<onclick>ActivateWindow(64,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforTVSeries)">ActivateWindow(64,return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforTVSeries)">$INFO[Window(Home).Property(xbmb3c.std.tvshows.3.path)]</onclick>
</item>

<item>
<description>Actors</description>
<label>Actors</label>
<thumb>hub/hub_actors_small.png</thumb>
<onclick>ActivateWindow(Videos,TvShowActors,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforTVSeries)">ActivateWindow(Video,TvShowActors, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforTVSeries)">$INFO[Window(Home).Property(xbmb3c.std.tvshows.10.path)]</onclick>
</item>

<item>
<description>Genres</description>
<label>Genres</label>
<thumb>hub/hub_genres_small.png</thumb>
<onclick>ActivateWindow(Videos,TvShowGenres,return)</onclick>
<onclick condition="!Skin.HasSetting(HomeMenuUseMBforTVSeries)">ActivateWindow(Video,TvShowGenres, return)</onclick>
<onclick condition="Skin.HasSetting(HomeMenuUseMBforTVSeries)">$INFO[Window(Home).Property(xbmb3c.std.tvshows.8.path)]</onclick>
</item>

<item>
<description>Years</description>
<label>Years</label>
<thumb>hub/hub_years_small.png</thumb>
<onclick>ActivateWindow(Videos,TvShowYears,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforTVSeries)</visible>
</item>

<item>
<description>Studios</description>
<label>Studios</label>
<thumb>hub/hub_studios_small.png</thumb>
<onclick>ActivateWindow(Videos,TvShowStudios,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforTVSeries)</visible>
</item>

<item>
<description>Playlists</description>
<label>Playlists</label>
<thumb>hub/hub_playlists_small.png</thumb>
<onclick>ActivateWindow(Videos,special://videoplaylists/,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforTVSeries)</visible>
</item>

<item>
Expand All @@ -250,6 +255,7 @@
<label>Files</label>
<thumb>hub/hub_files_small.png</thumb>
<onclick>ActivateWindow(Videos,Files,return)</onclick>
<visible>!Skin.HasSetting(HomeMenuUseMBforTVSeries)</visible>
</item>

</content>
Expand Down
Loading