2016-07-10, 16:52
Hi Guilouz,
have you implemented any special TVTunes Override Methods in your mod (i.e. Window Property "TVTunesSupported" set)?
TVTunes depends on Windows (i.e VideoLibrary et.v) Visibility to decide if a theme is to be played or not.
With removing some Windows from Kodi, TVTunes is broken and the developer is not yet willing to check / support Krypton.
BUT
TVTunes allows to override certain Windows by Skinner to tell TVTunes, that currently e.g. the Video Library is visible
As far as I understand the above:
xbmc.getCondVisibility("Window.IsVisible(videolibrary)") <- Is not working anymore as the Window VideoLibrary has been removed.
If a Window has a property TvTunesSupported = tvshows / movies (there are more
and has a window ID, TVTunes will start playing.
Is TVTunes anything you are familiar with? Do you want to support it in your Mod?
Before I start checking debugging TVTunes Script to allow the new VideoLibrary window I'd like to know
Thanks for reply
have you implemented any special TVTunes Override Methods in your mod (i.e. Window Property "TVTunesSupported" set)?
TVTunes depends on Windows (i.e VideoLibrary et.v) Visibility to decide if a theme is to be played or not.
With removing some Windows from Kodi, TVTunes is broken and the developer is not yet willing to check / support Krypton.
BUT
TVTunes allows to override certain Windows by Skinner to tell TVTunes, that currently e.g. the Video Library is visible
Code:
Example from TVTunes settings.py
################################################################
# Class to make it easier to see which screen is being displayed
################################################################
class WindowShowing():
@staticmethod
def isHome():
return xbmc.getCondVisibility("Window.IsVisible(home)")
@staticmethod
def isVideoLibrary():
return xbmc.getCondVisibility("Window.IsVisible(videolibrary)") or WindowShowing.isTvTunesOverrideTvShows() or WindowShowing.isTvTunesOverrideMovie() or WindowShowing.isTvTunesOverrideContinuePlaying()
@staticmethod
def isTvTunesOverrideTvShows():
isOverride = False
try:
# If there is a problem with a skin where there is no current window Id, avoid the exception
win = xbmcgui.Window(xbmcgui.getCurrentWindowId())
if win.getProperty("TvTunesSupported").lower() == "tvshows":
isOverride = True
except:
isOverride = False
return isOverride
@staticmethod
def isTvTunesOverrideMovie():
isOverride = False
try:
# If there is a problem with a skin where there is no current window Id, avoid the exception
win = xbmcgui.Window(xbmcgui.getCurrentWindowId())
if win.getProperty("TvTunesSupported").lower() == "movies":
isOverride = True
except:
isOverride = False
return isOverride
As far as I understand the above:
xbmc.getCondVisibility("Window.IsVisible(videolibrary)") <- Is not working anymore as the Window VideoLibrary has been removed.
If a Window has a property TvTunesSupported = tvshows / movies (there are more
and has a window ID, TVTunes will start playing.
Is TVTunes anything you are familiar with? Do you want to support it in your Mod?
Before I start checking debugging TVTunes Script to allow the new VideoLibrary window I'd like to know
Thanks for reply