From a55a6475b943a804fd76b5181b7d82968c2ea096 Mon Sep 17 00:00:00 2001 From: Leo Moll Date: Mon, 22 Jan 2018 01:01:34 +0100 Subject: [plugin.video.mediathekview] 0.4.2 --- plugin.video.mediathekview/resources/lib/filmui.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'plugin.video.mediathekview/resources/lib/filmui.py') diff --git a/plugin.video.mediathekview/resources/lib/filmui.py b/plugin.video.mediathekview/resources/lib/filmui.py index af04798..23eaf98 100644 --- a/plugin.video.mediathekview/resources/lib/filmui.py +++ b/plugin.video.mediathekview/resources/lib/filmui.py @@ -3,7 +3,8 @@ # # -- Imports ------------------------------------------------ -import xbmcplugin, xbmcgui +import xbmcgui +import xbmcplugin from resources.lib.film import Film from resources.lib.settings import Settings @@ -45,7 +46,7 @@ class FilmUI( Film ): infoLabels = { 'title' : resultingtitle + videohds, - 'sorttitle' : resultingtitle, + 'sorttitle' : resultingtitle.lower(), 'tvshowtitle' : self.show, 'plot' : self.description } @@ -63,9 +64,15 @@ class FilmUI( Film ): infoLabels['aired'] = airedstring infoLabels['dateadded'] = airedstring - li = xbmcgui.ListItem( resultingtitle, self.description ) + icon = 'special://home/addons/' + self.plugin.addon_id + '/resources/icons/' + self.channel.lower() + '-m.png' + + li = xbmcgui.ListItem( resultingtitle ) li.setInfo( type = 'video', infoLabels = infoLabels ) li.setProperty( 'IsPlayable', 'true' ) + li.setArt( { + 'thumb': icon, + 'icon': icon + } ) # create context menu contextmenu = [] -- cgit v1.2.3