mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Remove unneeded function
This commit is contained in:
parent
2fcef85029
commit
bc47e93d1c
1 changed files with 0 additions and 15 deletions
|
@ -692,21 +692,6 @@ class Actions(object):
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def detect_widgets(self, item):
|
|
||||||
|
|
||||||
kodi_version = xbmc.getInfoLabel('System.BuildVersion')
|
|
||||||
|
|
||||||
if kodi_version and "Git:" in kodi_version and kodi_version.split('Git:')[1].split("-")[0] in ('20171119', 'a9a7a20'):
|
|
||||||
LOG.info("Build does not require workaround for widgets?")
|
|
||||||
|
|
||||||
return False
|
|
||||||
|
|
||||||
if (not xbmc.getCondVisibility('Window.IsMedia') and ((item['Type'] == 'Audio' and not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(music),1)')) or not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(video),1)'))):
|
|
||||||
|
|
||||||
return True
|
|
||||||
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
class PlaylistWorker(threading.Thread):
|
class PlaylistWorker(threading.Thread):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue