InfoPlus Fix e Migliorie

This commit is contained in:
Alhaziel01
2020-09-23 19:48:51 +02:00
parent abf5e48f0c
commit 385fd0fd8a
4 changed files with 252 additions and 175 deletions
+48 -50
View File
@@ -2,8 +2,8 @@
# ------------------------------------------------------------ # ------------------------------------------------------------
# infoplus window with item information # infoplus window with item information
# ------------------------------------------------------------ # ------------------------------------------------------------
import xbmc, xbmcgui, json, sys, requests, re import xbmc, xbmcgui, sys, requests, re
from core import support, tmdb, filetools from core import support, tmdb, filetools, channeltools, servertools
from core.item import Item from core.item import Item
from platformcode import config, platformtools from platformcode import config, platformtools
from platformcode.logger import log from platformcode.logger import log
@@ -21,7 +21,6 @@ api = 'k_0tdb8a8y'
# Control ID # Control ID
FANART = 30000 FANART = 30000
NUMBER = 30001 NUMBER = 30001
POSTER_BTN = 30010
TITLE = 30002 TITLE = 30002
TAGLINE = 30003 TAGLINE = 30003
PLOT = 30004 PLOT = 30004
@@ -29,13 +28,11 @@ RATING_ICON = 30005
RATING = 30006 RATING = 30006
TRAILER = 30007 TRAILER = 30007
SEARCH = 30008 SEARCH = 30008
BTN_NEXT = 30009
BTN_PREV = 30010
LOADING = 30011 LOADING = 30011
COMMANDS = 30012 COMMANDS = 30012
RECOMANDED = TRAILERS = 30500 RECOMANDED = TRAILERS = 30500
CAST = 30501 ACTORS = 30501
CASTMOVIES = 30502 CAST = 30502
# Actions # Actions
LEFT = 1 LEFT = 1
@@ -59,32 +56,30 @@ def Main(item):
Info = item Info = item
main = MainWindow('InfoPlus.xml', config.get_runtime_path()) main = MainWindow('InfoPlus.xml', config.get_runtime_path())
add({'class':main, 'info':Info, 'id':RECOMANDED, RECOMANDED:0, CAST:0}) add({'class':main, 'info':Info, 'id':RECOMANDED, RECOMANDED:0, ACTORS:0})
modal() modal()
class MainWindow(xbmcgui.WindowXMLDialog): class MainWindow(xbmcgui.WindowXMLDialog):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
self.items = [] self.items = []
self.cast = [] self.cast = []
self.actors = []
self.ids = {} self.ids = {}
def onInit(self): def onInit(self):
#### Compatibility with Kodi 18 #### #### Compatibility with Kodi 18 ####
if config.get_platform(True)['num_version'] < 18: if config.get_platform(True)['num_version'] < 18:
self.setCoordinateResolution(2) self.setCoordinateResolution(2)
if Info.getProperty('id'): if Info.getProperty('id'):self.items = get_movies(Info)
for item in get_movies(Info): else: self.items = get_recomendations(Info)
self.items.append(item) self.cast, self.actors = get_cast(Info)
else:
for item in get_recomendations(Info):
self.items.append(item)
for i, item in enumerate(get_cast(Info)):
if i == 0: actors_more_info(item)
self.cast.append(item)
self.getControl(LOADING).setVisible(False) self.getControl(LOADING).setVisible(False)
self.getControl(RECOMANDED).addItems(self.items) self.getControl(RECOMANDED).addItems(self.items)
self.getControl(FANART).setImage(Info.getProperty('fanart')) self.getControl(FANART).setImage(Info.getProperty('fanart'))
self.getControl(ACTORS).addItems(self.actors)
self.getControl(CAST).addItems(self.cast) self.getControl(CAST).addItems(self.cast)
if Info.getProperty('mediainfo') != 'movie':
self.getControl(CAST).setVisible(False)
if Info.getProperty('rating'): if Info.getProperty('rating'):
self.getControl(RATING).setText(str(Info.getProperty('rating'))) self.getControl(RATING).setText(str(Info.getProperty('rating')))
getFocus(self) getFocus(self)
@@ -94,33 +89,26 @@ class MainWindow(xbmcgui.WindowXMLDialog):
if control_id in [SEARCH]: if control_id in [SEARCH]:
title = self.getControl(RECOMANDED).getSelectedItem().getProperty('title') title = self.getControl(RECOMANDED).getSelectedItem().getProperty('title')
mode = self.getControl(RECOMANDED).getSelectedItem().getProperty('mediatype') mode = self.getControl(RECOMANDED).getSelectedItem().getProperty('mediatype')
action = 'search'
# if title == Info.getProperty('title'): action = 'global_search'
# else: action = 'search'
self.close() self.close()
if self.getControl(RECOMANDED).getSelectedPosition() > 0: if self.getControl(RECOMANDED).getSelectedPosition() > 0:
Search(ITEM.clone(action=action, search_text=title)) Search(ITEM.clone(action='search', search_text=title))
else: else:
Search(ITEM.clone(action=action, search_text=title, mode=mode)) Search(ITEM.clone(channel='search', action='new_search', search_text=title, mode=mode))
elif control_id in [TRAILER]: elif control_id in [TRAILER]:
info = self.getControl(RECOMANDED).getSelectedItem() info = self.getControl(RECOMANDED).getSelectedItem()
self.close() self.close()
Trailer(info) Trailer(info)
elif control_id in [CAST]: elif control_id in [ACTORS]:
self.close() self.close()
Main(self.getControl(CAST).getSelectedItem()) Main(self.getControl(ACTORS).getSelectedItem())
elif control_id in [BTN_NEXT]: elif control_id in [RECOMANDED] and self.getControl(RECOMANDED).getSelectedPosition() > 0:
self.setFocusId(CAST)
elif control_id in [BTN_PREV]:
self.setFocusId(RECOMANDED)
elif control_id in [RECOMANDED]:
self.close() self.close()
Main(self.getControl(RECOMANDED).getSelectedItem()) Main(self.getControl(RECOMANDED).getSelectedItem())
def onAction(self, action): def onAction(self, action):
if self.getFocusId() in [CAST, RECOMANDED]: if self.getFocusId() in [ACTORS, RECOMANDED]:
self.ids[self.getFocusId()] = self.getControl(self.getFocusId()).getSelectedPosition() self.ids[self.getFocusId()] = self.getControl(self.getFocusId()).getSelectedPosition()
if self.getFocusId() in [CAST] and action not in [BACKSPACE, EXIT, UP, DOWN]: if self.getFocusId() in [ACTORS, CAST] and action not in [BACKSPACE, EXIT]:
actors_more_info(self.getControl(self.getFocusId()).getSelectedItem()) actors_more_info(self.getControl(self.getFocusId()).getSelectedItem())
if self.getFocusId() in [RECOMANDED]: if self.getFocusId() in [RECOMANDED]:
fanart = self.getControl(self.getFocusId()).getSelectedItem().getProperty('fanart') fanart = self.getControl(self.getFocusId()).getSelectedItem().getProperty('fanart')
@@ -129,10 +117,10 @@ class MainWindow(xbmcgui.WindowXMLDialog):
self.getControl(FANART).setImage(fanart) self.getControl(FANART).setImage(fanart)
self.getControl(RATING).setText(rating) self.getControl(RATING).setText(rating)
if self.getFocus() > 0: if self.getFocus() > 0:
cast = [] cast, actors = get_cast(self.getControl(self.getFocusId()).getSelectedItem())
self.getControl(ACTORS).reset()
self.getControl(ACTORS).addItems(actors)
self.getControl(CAST).reset() self.getControl(CAST).reset()
for actor in get_cast(self.getControl(self.getFocusId()).getSelectedItem()):
cast.append(actor)
self.getControl(CAST).addItems(cast) self.getControl(CAST).addItems(cast)
action = action.getId() action = action.getId()
if action in [BACKSPACE]: if action in [BACKSPACE]:
@@ -164,8 +152,8 @@ class SearchWindow(xbmcgui.WindowXMLDialog):
#### Compatibility with Kodi 18 #### #### Compatibility with Kodi 18 ####
if config.get_platform(True)['num_version'] < 18: if config.get_platform(True)['num_version'] < 18:
self.setCoordinateResolution(2) self.setCoordinateResolution(2)
if not self.items: if len(self.items) == 0:
if Info.action == 'search' and Info.mode: if Info.action == 'new_search' and Info.mode:
from specials.search import new_search from specials.search import new_search
itemlist = new_search(Info) itemlist = new_search(Info)
elif Info.action == 'channel_search': elif Info.action == 'channel_search':
@@ -188,11 +176,12 @@ class SearchWindow(xbmcgui.WindowXMLDialog):
if item.action not in ['save_download', 'add_pelicula_to_library', 'add_serie_to_library', ''] and item.infoLabels['title']: if item.action not in ['save_download', 'add_pelicula_to_library', 'add_serie_to_library', ''] and item.infoLabels['title']:
if item.action == 'findvideos' and item.contentType in ['episode', 'tvshow']: if item.action == 'findvideos' and item.contentType in ['episode', 'tvshow']:
it = xbmcgui.ListItem(re.sub(r'\[[^\]]+\]', '', item.title)) it = xbmcgui.ListItem(re.sub(r'\[[^\]]+\]', '', item.title))
self.getControl(NUMBER).setText(support.typo(config.get_localized_string(70362),'uppercase bold'))
else: else:
it = xbmcgui.ListItem(item.infoLabels['title']) it = xbmcgui.ListItem(item.infoLabels['title'])
it.setProperty('channel', item.channel) it.setProperty('channel', channeltools.get_channel_parameters(item.channel).get('title',''))
it.setProperty('action', item.action) it.setProperty('action', item.action)
it.setProperty('server', item.server) it.setProperty('server', servertools.get_server_parameters(item.server.lower()).get('name',item.server))
it.setProperty('url', item.url) it.setProperty('url', item.url)
for key, value in item.infoLabels.items(): for key, value in item.infoLabels.items():
it.setProperty(key, str(value)) it.setProperty(key, str(value))
@@ -224,9 +213,9 @@ class SearchWindow(xbmcgui.WindowXMLDialog):
if self.items: if self.items:
self.getControl(FANART).setImage(self.items[0].getProperty('fanart')) self.getControl(FANART).setImage(self.items[0].getProperty('fanart'))
self.getControl(RECOMANDED).addItems(self.items) self.getControl(RECOMANDED).addItems(self.items)
self.getControl(LOADING).setVisible(False) self.getControl(LOADING).setVisible(False)
getFocus(self) getFocus(self)
def onClick(self, control_id): def onClick(self, control_id):
setFocus(self) setFocus(self)
@@ -367,7 +356,7 @@ def get_recomendations(info):
else: else:
title = result.get("name", '') title = result.get("name", '')
original_title = result.get("original_name", '') original_title = result.get("original_name", '')
thumbnail ='http://image.tmdb.org/t/p/w342' + result.get("poster_path", "") if result.get("poster_path", "") else imagepath(Type) thumbnail ='http://image.tmdb.org/t/p/w342' + result.get("poster_path", "") if result.get("poster_path", "") else ''
fanart = 'http://image.tmdb.org/t/p/original' + result.get("backdrop_path", "") if result.get("backdrop_path", "") else '' fanart = 'http://image.tmdb.org/t/p/original' + result.get("backdrop_path", "") if result.get("backdrop_path", "") else ''
item = xbmcgui.ListItem(title) item = xbmcgui.ListItem(title)
item.setProperties({'title': title, item.setProperties({'title': title,
@@ -385,13 +374,25 @@ def get_recomendations(info):
def get_cast(info): def get_cast(info):
cast_list = []
actors_list = [] actors_list = []
Type = "movie" if info.getProperty('mediatype') == 'movie' else 'tv' Type = "movie" if info.getProperty('mediatype') == 'movie' else 'tv'
otmdb = tmdb.Tmdb(id_Tmdb=info.getProperty('tmdb_id'), tipo=Type) otmdb = tmdb.Tmdb(id_Tmdb=info.getProperty('tmdb_id'), tipo=Type)
actors = otmdb.result.get("credits", {}).get("cast", []) actors = otmdb.result.get("credits", {}).get("cast", [])
cast = otmdb.result.get("credits", {}).get("crew", []) if Type == 'movie' else otmdb.result.get("created_by", []) cast = otmdb.result.get("credits", {}).get("crew", []) if Type == 'movie' else otmdb.result.get("created_by", [])
for crew in cast: for i, crew in enumerate(cast):
if crew.get('job', '') == 'Director' or Type != "movie": actors.insert(0, crew) if crew.get('job', '') == 'Director' or Type!= "movie":
actors.insert(0, crew)
else:
res = xbmcgui.ListItem(crew.get('name', ''))
res.setProperties({'title': crew.get('name', ''),
'job': crew.get('job', '') if crew.get('job', '') else crew.get('character',''),
'thumbnail': "https://image.tmdb.org/t/p/w342" + crew.get('profile_path', '') if crew.get('profile_path', '') else '',
'department': crew.get('department', ''),
'type': Type,
'id': crew.get('id', ''),
'mediatype': info.getProperty('mediatype')})
cast_list.append(res)
for actor in actors: for actor in actors:
res = xbmcgui.ListItem(actor.get('name', '')) res = xbmcgui.ListItem(actor.get('name', ''))
res.setProperties({'title': actor.get('name', ''), res.setProperties({'title': actor.get('name', ''),
@@ -401,7 +402,7 @@ def get_cast(info):
'id': actor.get('id', ''), 'id': actor.get('id', ''),
'mediatype': info.getProperty('mediatype')}) 'mediatype': info.getProperty('mediatype')})
actors_list.append(res) actors_list.append(res)
return actors_list return cast_list, actors_list
def imagepath(image): def imagepath(image):
if len(image.split('.')) == 1: image += '.png' if len(image.split('.')) == 1: image += '.png'
@@ -409,13 +410,10 @@ def imagepath(image):
return path return path
def actors_more_info(ListItem): def actors_more_info(ListItem):
api = 'k_0tdb8a8y'
Type = ListItem.getProperty('type') Type = ListItem.getProperty('type')
actor_id = ListItem.getProperty('id') actor_id = ListItem.getProperty('id')
more = tmdb.Tmdb(discover={'url': 'person/' + str(actor_id), 'language': 'it', 'append_to_response': Type + '_credits'}).results more = tmdb.Tmdb(discover={'url': 'person/' + str(actor_id), 'language': 'en'}).results
imdb = requests.get('https://imdb-api.com/it/API/Name/%s/%s' % (api, more['imdb_id'])).json() if more['biography']: ListItem.setProperty('bio', more['biography'])
ListItem.setProperty('bio', imdb['summary'])
def get_movies(info): def get_movies(info):
Type = info.getProperty('mediatype') if info.getProperty('mediatype') == 'movie' else 'tv' Type = info.getProperty('mediatype') if info.getProperty('mediatype') == 'movie' else 'tv'
+168 -81
View File
@@ -35,7 +35,7 @@
<control type="image" id='30000'> <control type="image" id='30000'>
<width>1280</width> <width>1280</width>
<height>720</height> <height>720</height>
<texture colordiffuse="FF888888"></texture> <texture colordiffuse="FF555555"></texture>
</control> </control>
<!-- LOADING --> <!-- LOADING -->
@@ -48,152 +48,123 @@
<animation effect="rotate" center="640,360" start="0" end="-360" time="5000" loop="true" condition="Control.IsVisible(30011)">Conditional</animation> <animation effect="rotate" center="640,360" start="0" end="-360" time="5000" loop="true" condition="Control.IsVisible(30011)">Conditional</animation>
</control> </control>
<!-- PREVIOUS -->
<control type="button" id='30009'>
<left>0</left>
<bottom>0</bottom>
<width>1280</width>
<height>30</height>
<texturenofocus colordiffuse="00FFFFFF">white.png</texturenofocus>
<texturefocus colordiffuse="00FFFFFF">white.png</texturefocus>
<align>center</align>
</control>
<!-- NEXT -->
<control type="button" id='30010'>
<left>0</left>
<top>0</top>
<width>1280</width>
<height>30</height>
<texturenofocus colordiffuse="00FFFFFF">white.png</texturenofocus>
<texturefocus colordiffuse="00FFFFFF">white.png</texturefocus>
<align>center</align>
</control>
<control type="grouplist"> <control type="grouplist">
<top>60</top> <top>75</top>
<orientation>vertical</orientation> <orientation>vertical</orientation>
<defaultcontrol>30500</defaultcontrol> <defaultcontrol>30500</defaultcontrol>
<width>1280</width> <width>1280</width>
<height>600</height> <height>570</height>
<onup>30007</onup> <onup>30007</onup>
<scrolltime tween="cubic" easing="out">300</scrolltime>
<!-- RECOMMENDATIONS --> <!-- RECOMMENDATIONS -->
<control type="wraplist" id="30500"> <control type="wraplist" id="30500">
<width>1280</width> <width>100%</width>
<height>600</height> <height>570</height>
<viewtype>wrap</viewtype> <viewtype>wrap</viewtype>
<orientation>horizontal</orientation> <orientation>horizontal</orientation>
<scrolltime tween="sine" easing="out">300</scrolltime> <scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="600" width="220"> <itemlayout height="570" width="180">
<!-- Poster --> <!-- Poster -->
<control type="image"> <control type="image">
<bottom>0</bottom> <bottom>0</bottom>
<left>0</left> <left>0</left>
<width>200</width> <width>180</width>
<height>300</height> <height>270</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control> </control>
</itemlayout> </itemlayout>
<focusedlayout height="600" width="420"> <focusedlayout height="570" width="380">
<!-- Title --> <!-- Title -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>0</top> <top>10</top>
<width>800</width> <width>840</width>
<height>30</height> <height>30</height>
<font>font30_title</font> <font>font30_title</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label] [COLOR FFAAAAAA]($INFO[ListItem.Property(year)])[/COLOR][/B] </label> <label>[B]$INFO[ListItem.Label] [COLOR FFAAAAAA] $INFO[ListItem.Property(year)][/COLOR][/B] </label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
</control> </control>
<!-- Tagline -->
<control type="textbox">
<left>440</left>
<top>40</top>
<width>800</width>
<height>30</height>
<font>font30</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(tagline)]</label>
<align>left</align>
</control>
<!-- Plot --> <!-- Plot -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>80</top> <top>70</top>
<width>800</width> <width>840</width>
<height>180</height> <height>190</height>
<font>font12</font> <font>font13</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(plot)]</label> <label>$INFO[ListItem.Property(plot)]</label>
<autoscroll time="3000" delay="3000" repeat="3000">True</autoscroll>
<align>left</align> <align>left</align>
</control> </control>
<!-- Poster --> <!-- Poster -->
<control type="image"> <control type="image">
<bottom>0</bottom> <bottom>0</bottom>
<left>0</left> <left>0</left>
<width>400</width> <width>380</width>
<height>600</height> <height>570</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control> </control>
</focusedlayout> </focusedlayout>
</control> </control>
<!-- CAST --> <!-- Actors -->
<control type="wraplist" id="30501"> <control type="wraplist" id="30501">
<width>1280</width> <width>1280</width>
<height>600</height> <height>570</height>
<viewtype>wrap</viewtype> <viewtype>wrap</viewtype>
<orientation>horizontal</orientation> <orientation>horizontal</orientation>
<scrolltime tween="sine" easing="out">300</scrolltime> <scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="600" width="220"> <itemlayout height="570" width="180">
<!-- Poster --> <!-- Poster -->
<control type="image"> <control type="image">
<bottom>0</bottom> <bottom>0</bottom>
<left>0</left> <left>0</left>
<width>200</width> <width>180</width>
<height>300</height> <height>270</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control> </control>
</itemlayout> </itemlayout>
<focusedlayout height="600" width="420"> <focusedlayout height="570" width="380">
<!-- Title --> <!-- Title -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>0</top> <top>10</top>
<width>800</width> <width>840</width>
<height>30</height> <height>30</height>
<font>font30_title</font> <font>font30_title</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label][/B] </label> <label>[B]$INFO[ListItem.Property(title)][/B] </label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
</control> </control>
<!-- Tagline --> <!-- Tagline -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>40</top> <top>50</top>
<width>800</width> <width>840</width>
<height>30</height> <height>30</height>
<font>font30</font> <font>font30</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(job)]</label> <label>[B]$INFO[ListItem.Property(job)][/B]</label>
<align>left</align> <align>left</align>
</control> </control>
<!-- Plot --> <!-- Plot -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>80</top> <top>90</top>
<width>800</width> <width>830</width>
<height>180</height> <height>180</height>
<font>font13</font> <font>font13</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
@@ -206,22 +177,140 @@
<control type="image"> <control type="image">
<bottom>0</bottom> <bottom>0</bottom>
<left>0</left> <left>0</left>
<width>400</width> <width>380</width>
<height>600</height> <height>570</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control>
</focusedlayout>
</control>
<!-- CAST -->
<control type="wraplist" id="30502">
<width>1280</width>
<height>570</height>
<viewtype>wrap</viewtype>
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="570" width="180">
<!-- Background -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>180</width>
<height>270</height>
<texture colordiffuse="FF232323">white.png</texture>
<aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control>
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>180</width>
<height>270</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control>
<!-- DEPARTMENT -->
<control type="textbox">
<visible>String.IsEmpty(ListItem.Property(thumbnail))</visible>
<left>0</left>
<bottom>0</bottom>
<width>180</width>
<height>270</height>
<font>font13</font>
<textcolor>FFFFFFFF</textcolor>
<label>[B]$INFO[ListItem.Property(department)][/B]</label>
<autoscroll delay="3000" time="2000" repeat="3000"></autoscroll>
<align>center</align>
<aligny>center</aligny>
</control>
</itemlayout>
<focusedlayout height="570" width="380">
<!-- Title -->
<control type="textbox">
<left>400</left>
<top>10</top>
<width>840</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Property(title)][/B] </label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Tagline -->
<control type="textbox">
<left>400</left>
<top>50</top>
<width>840</width>
<height>30</height>
<font>font30</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Property(job)][/B]</label>
<align>left</align>
</control>
<!-- Plot -->
<control type="textbox">
<left>400</left>
<top>90</top>
<width>830</width>
<height>180</height>
<font>font13</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(bio)]</label>
<autoscroll delay="3000" time="2000" repeat="3000"></autoscroll>
<align>left</align>
</control>
<!-- Background -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>380</width>
<height>570</height>
<texture colordiffuse="FF232323">white.png</texture>
<aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control>
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>380</width>
<height>570</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
<bordersize>10</bordersize>
</control>
<!-- Department -->
<control type="textbox">
<visible>String.IsEmpty(ListItem.Property(thumbnail))</visible>
<left>0</left>
<top>0</top>
<width>380</width>
<height>570</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<label>$INFO[ListItem.Property(department)]</label>
<autoscroll delay="3000" time="2000" repeat="3000"></autoscroll>
<align>center</align>
<aligny>center</aligny>
</control> </control>
</focusedlayout> </focusedlayout>
</control> </control>
</control> </control>
<control type="group"> <control type="group">
<top>15</top> <top>25</top>
<right>15</right> <right>25</right>
<height>50</height> <height>50</height>
<width>220</width> <width>220</width>
<visible allowhiddenfocus="true">!Control.HasFocus(30501)</visible> <visible allowhiddenfocus="true">Control.HasFocus(30500) | Control.HasFocus(30006) | Control.HasFocus(30007) | Control.HasFocus(30008)</visible>
<control type="image"> <control type="image">
<width>50</width> <width>50</width>
<height>50</height> <height>50</height>
@@ -244,7 +333,6 @@
<height>50</height> <height>50</height>
<texturenofocus colordiffuse="AAFFFFFF">Infoplus/trailer.png</texturenofocus> <texturenofocus colordiffuse="AAFFFFFF">Infoplus/trailer.png</texturenofocus>
<texturefocus colordiffuse="FFFFFFFF">Infoplus/trailer.png</texturefocus> <texturefocus colordiffuse="FFFFFFFF">Infoplus/trailer.png</texturefocus>
<onup>30501</onup>
<ondown>30500</ondown> <ondown>30500</ondown>
<onleft>30008</onleft> <onleft>30008</onleft>
<onright>30008</onright> <onright>30008</onright>
@@ -255,7 +343,6 @@
<height>50</height> <height>50</height>
<texturenofocus colordiffuse="AAFFFFFF">Infoplus/search.png</texturenofocus> <texturenofocus colordiffuse="AAFFFFFF">Infoplus/search.png</texturenofocus>
<texturefocus colordiffuse="FFFFFFFF">Infoplus/search.png</texturefocus> <texturefocus colordiffuse="FFFFFFFF">Infoplus/search.png</texturefocus>
<onup>30501</onup>
<ondown>30500</ondown> <ondown>30500</ondown>
<onleft>30007</onleft> <onleft>30007</onleft>
<onright>30007</onright> <onright>30007</onright>
+24 -22
View File
@@ -35,7 +35,7 @@
<control type="image" id='30000'> <control type="image" id='30000'>
<width>1280</width> <width>1280</width>
<height>720</height> <height>720</height>
<texture colordiffuse="FF888888"/> <texture colordiffuse="FF555555"/>
</control> </control>
<!-- LOADING --> <!-- LOADING -->
<control type="image" id='30011'> <control type="image" id='30011'>
@@ -49,7 +49,7 @@
<!-- TITLE --> <!-- TITLE -->
<control type="textbox" id='30001'> <control type="textbox" id='30001'>
<left>40</left> <left>40</left>
<top>15</top> <top>50</top>
<width>1000</width> <width>1000</width>
<height>30</height> <height>30</height>
<font>font30_title</font> <font>font30_title</font>
@@ -62,28 +62,29 @@
<!-- SEARCH ITEM --> <!-- SEARCH ITEM -->
<control type="fixedlist" id="30500"> <control type="fixedlist" id="30500">
<top>60</top> <bottom>40</bottom>
<width>1280</width> <width>1280</width>
<height>600</height> <height>570</height>
<onup>30012</onup> <onup>30012</onup>
<orientation>horizontal</orientation> <orientation>horizontal</orientation>
<scrolltime tween="sine" easing="out">300</scrolltime> <scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="600" width="220"> <itemlayout height="570" width="180">
<!-- Poster --> <!-- Poster -->
<control type="image"> <control type="image">
<bottom>0</bottom> <bottom>0</bottom>
<left>0</left> <left>0</left>
<width>200</width> <width>180</width>
<height>300</height> <height>270</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
</control> </control>
</itemlayout> </itemlayout>
<focusedlayout height="600" width="420"> <focusedlayout height="570" width="380">
<!-- Title --> <!-- Title -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>0</top> <top>10</top>
<width>800</width> <width>800</width>
<height>30</height> <height>30</height>
<font>font30_title</font> <font>font30_title</font>
@@ -95,23 +96,23 @@
</control> </control>
<!-- Tagline --> <!-- Tagline -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>40</top> <top>50</top>
<width>800</width> <width>800</width>
<height>30</height> <height>30</height>
<font>font30</font> <font>font30</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(channel)]</label> <label>[B]$INFO[ListItem.Property(channel)][/B]</label>
<align>left</align> <align>left</align>
</control> </control>
<!-- Plot --> <!-- Plot -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>400</left>
<top>80</top> <top>90</top>
<width>800</width> <width>800</width>
<height>180</height> <height>170</height>
<font>font12</font> <font>font13</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(plot)]</label> <label>$INFO[ListItem.Property(plot)]</label>
@@ -121,16 +122,17 @@
<control type="image"> <control type="image">
<bottom>0</bottom> <bottom>0</bottom>
<left>0</left> <left>0</left>
<width>400</width> <width>380</width>
<height>600</height> <height>570</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
</control> </control>
</focusedlayout> </focusedlayout>
</control> </control>
<control type="list" id="30012"> <control type="list" id="30012">
<top>15</top> <top>25</top>
<right>15</right> <right>25</right>
<height>50</height> <height>50</height>
<width>140</width> <width>140</width>
<align>right</align> <align>right</align>
+12 -22
View File
@@ -35,7 +35,7 @@
<control type="image" id='30000'> <control type="image" id='30000'>
<width>1280</width> <width>1280</width>
<height>720</height> <height>720</height>
<texture colordiffuse="FF888888"/> <texture colordiffuse="FF555555"/>
</control> </control>
<!-- LOADING --> <!-- LOADING -->
<control type="image" id='30011'> <control type="image" id='30011'>
@@ -49,7 +49,7 @@
<!-- TITLE --> <!-- TITLE -->
<control type="textbox" id='30001'> <control type="textbox" id='30001'>
<left>40</left> <left>40</left>
<top>15</top> <top>50</top>
<width>1000</width> <width>1000</width>
<height>30</height> <height>30</height>
<font>font30_title</font> <font>font30_title</font>
@@ -68,7 +68,7 @@
<orientation>horizontal</orientation> <orientation>horizontal</orientation>
<onup>30012</onup> <onup>30012</onup>
<scrolltime tween="sine" easing="out">300</scrolltime> <scrolltime tween="sine" easing="out">300</scrolltime>
<itemlayout height="400" width="220"> <itemlayout height="400" width="200">
<!-- Poster --> <!-- Poster -->
<control type="image"> <control type="image">
<bottom>0</bottom> <bottom>0</bottom>
@@ -76,10 +76,11 @@
<width>200</width> <width>200</width>
<height>200</height> <height>200</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
</control> </control>
</itemlayout> </itemlayout>
<focusedlayout height="400" width="420"> <focusedlayout height="400" width="400">
<!-- Title --> <!-- Title -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>440</left>
@@ -89,29 +90,17 @@
<font>font30_title</font> <font>font30_title</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label] [COLOR FFAAAAAA]($INFO[ListItem.Property(server)])[/COLOR][/B] </label> <label>[B]$INFO[ListItem.Property(server)] [COLOR FFAAAAAA]$INFO[ListItem.Property(quality)][/COLOR][/B] </label>
<align>left</align> <align>left</align>
<aligny>center</aligny> <aligny>center</aligny>
</control> </control>
<!-- Tagline -->
<control type="textbox">
<left>440</left>
<top>40</top>
<width>800</width>
<height>30</height>
<font>font30</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(quality)]</label>
<align>left</align>
</control>
<!-- Plot --> <!-- Plot -->
<control type="textbox"> <control type="textbox">
<left>440</left> <left>440</left>
<top>80</top> <top>40</top>
<width>800</width> <width>800</width>
<height>180</height> <height>120</height>
<font>font12</font> <font>font13</font>
<textcolor>FFFFFFFF</textcolor> <textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor> <shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(plot)]</label> <label>$INFO[ListItem.Property(plot)]</label>
@@ -124,14 +113,15 @@
<width>400</width> <width>400</width>
<height>400</height> <height>400</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture> <texture>$INFO[ListItem.Property(thumbnail)]</texture>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio> <aspectratio>scale</aspectratio>
</control> </control>
</focusedlayout> </focusedlayout>
</control> </control>
<control type="list" id="30012"> <control type="list" id="30012">
<top>15</top> <top>25</top>
<right>15</right> <right>25</right>
<height>50</height> <height>50</height>
<width>140</width> <width>140</width>
<align>right</align> <align>right</align>