Skip to content

Commit

Permalink
fix extendedinfo button in osd
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Oct 1, 2021
1 parent df9560b commit 5d03d5e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions 16x9/DialogSeekBar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<visible>!Player.HasGame + [VideoPlayer.IsFullscreen | Window.IsVisible(visualisation)]</visible>
<visible>Player.Caching | Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Window.IsVisible(DialogFullScreenInfo.xml) | Window.IsVisible(musicosd) | Window.IsVisible(videoosd) | Window.IsVisible(DialogVideoInfo.xml) | Window.IsVisible(DialogMusicInfo.xml) | Window.IsVisible(DialogBusy.xml) | Window.IsActive(DialogVolumeBar.xml) | Player.Muted | !String.IsEmpty(Player.SeekNumeric)</visible>
<zorder>0</zorder>
<onload condition="!String.IsEmpty(Window(Home).Property(OSDExtendedInfo)) + Player.Paused + !Skin.HasSetting(DontPauseOSD)">Play</onload>
<onload condition="!String.IsEmpty(Window(Home).Property(OSDExtendedInfo))">ClearProperty(OSDExtendedInfo,Home)</onload>
<onload condition="!String.IsEmpty(Window(Home).Property(OSDExtendedInfo))">ClearProperty(extinfo,home)</onload>
<controls>

<include condition="Player.HasVideo">Window_Seekbar_Video</include>
Expand Down
15 changes: 12 additions & 3 deletions 16x9/Includes_Window.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1385,9 +1385,18 @@
<control type="button" id="4">
<description>Extra Info</description>
<label>31105</label>
<!-- TODO: ADD TMDBHELPER -->
<!-- <onclick condition="VideoPlayer.Content(movies)">TMDBHELPERname=$INFO[VideoPlayer.Title],imdb_id=$INFO[VideoPlayer.IMDBNumber])</onclick>
<onclick condition="VideoPlayer.Content(episodes)">TMDBHELPER,name=$INFO[VideoPlayer.TvShowTitle],imdb_id=$INFO[VideoPlayer.IMDBNumber])</onclick> -->
<onclick>SetProperty(OSDExtendedInfo,1,Home)</onclick>
<onclick>SetProperty(1190_MainLabel,$VAR[Furniture_TopBar_Header_MainLabel],home)</onclick>
<onclick>SetProperty(1190_SubLabel,$VAR[Furniture_TopBar_Header_SubLabel],home)</onclick>
<onclick condition="!Player.Paused + !Skin.HasSetting(DontPauseOSD)">Pause</onclick>
<onclick>Action(Close)</onclick>

<onclick condition="VideoPlayer.Content(movies) + !String.IsEmpty(VideoPlayer.DBID)">RunScript(plugin.video.themoviedb.helper,add_path=$INFO[Player.Title,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%22,%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D],call_auto=1190,return)</onclick>
<onclick condition="[VideoPlayer.Content(tvshows) | VideoPlayer.Content(episodes)] + !String.IsEmpty(VideoPlayer.DBID)">RunScript(plugin.video.themoviedb.helper,add_path=$INFO[VideoPlayer.TvShowTitle,videodb://tvshows/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%22,%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D],call_auto=1190,return)</onclick>
<onclick condition="VideoPlayer.Content(movies) + String.IsEmpty(VideoPlayer.DBID) + !String.IsEmpty(VideoPlayer.IMDBNumber) + String.StartsWith(VideoPlayer.IMDBNumber,tt)">RunScript(plugin.video.themoviedb.helper,add_path=plugin://plugin.video.themoviedb.helper/?info=details&amp;type=movie&amp;imdb_id=$INFO[VideoPlayer.IMDBNumber],call_auto=1190,return)</onclick>
<onclick condition="VideoPlayer.Content(movies) + String.IsEmpty(VideoPlayer.DBID) + !String.IsEmpty(VideoPlayer.IMDBNumber) + !String.StartsWith(VideoPlayer.IMDBNumber,tt)">RunScript(plugin.video.themoviedb.helper,add_path=plugin://plugin.video.themoviedb.helper/?info=details&amp;type=movie&amp;tmdb_id=$INFO[VideoPlayer.IMDBNumber],call_auto=1190,return)</onclick>
<onclick condition="VideoPlayer.Content(movies) + String.IsEmpty(VideoPlayer.DBID) + String.IsEmpty(VideoPlayer.IMDBNumber)">RunScript(plugin.video.themoviedb.helper,add_path=plugin://plugin.video.themoviedb.helper/?info=details&amp;type=movie&amp;query=$INFO[Player.Title],call_auto=1190,return)</onclick>
<onclick condition="[VideoPlayer.Content(tvshows) | VideoPlayer.Content(episodes)] + String.IsEmpty(VideoPlayer.DBID)">RunScript(plugin.video.themoviedb.helper,add_path=plugin://plugin.video.themoviedb.helper/?info=details&amp;type=tv&amp;query=$INFO[VideoPlayer.TvShowTitle],call_auto=1190,return)</onclick>
<include>Defs_OSDButton</include>
</control>
<control type="button" id="5">
Expand Down
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon id="skin.eminence.2" name="Eminence" provider-name="jurialmunkey" version="4.0.10">
<addon id="skin.eminence.2" name="Eminence" provider-name="jurialmunkey" version="4.0.11">
<requires>
<import addon="xbmc.gui" version="5.15.0" />
<import addon="script.skinshortcuts" version="1.0.0" />
Expand Down

0 comments on commit 5d03d5e

Please sign in to comment.