xbmc00 skin
parent
8cb1b23260
commit
8010a8bc06
23
functions.py
23
functions.py
|
@ -590,9 +590,25 @@ def view_style(func):
|
||||||
elif view_style == 5:
|
elif view_style == 5:
|
||||||
styles['uTorrentBrowser'] = styles['torrentPlayer'] = 'wide'
|
styles['uTorrentBrowser'] = styles['torrentPlayer'] = 'wide'
|
||||||
styles['openTorrent'] = styles['History'] = styles['DownloadStatus'] = 'wide'
|
styles['openTorrent'] = styles['History'] = styles['DownloadStatus'] = 'wide'
|
||||||
styles['drawtrackerList'] = styles['drawContent'] = styles['List'] = styles['sectionMenu'] = 'icons'
|
styles['drawtrackerList'] = styles['drawContent'] = styles['List'] = styles['sectionMenu'] = 'list'
|
||||||
styles['searchOption'] = 'info'
|
styles['searchOption'] = 'info'
|
||||||
|
|
||||||
|
if view_style == 8:
|
||||||
|
styles['sectionMenu'] = 'thumbnails' #меню
|
||||||
|
styles['List'] = 'biglist'
|
||||||
|
styles['Seasons'] = 'biglist'
|
||||||
|
styles['uTorrentBrowser'] = 'biglist'
|
||||||
|
styles['torrentPlayer'] = 'biglist'
|
||||||
|
styles['openTorrent'] = 'biglist'
|
||||||
|
styles['History'] = 'biglist' #история поиска
|
||||||
|
styles['DownloadStatus'] = 'biglist' #статус загрузки
|
||||||
|
styles['drawtrackerList'] = 'biglist'
|
||||||
|
styles['drawContent'] = 'list' #списки медиа
|
||||||
|
styles['drawcontentList'] = 'extrainfo' #списки медиа - лист
|
||||||
|
styles['searchOption'] = 'biglist'
|
||||||
|
styles['showFilesList'] = 'biglist'
|
||||||
|
|
||||||
|
|
||||||
if view_style in [1, 3, 4, 5]:
|
if view_style in [1, 3, 4, 5]:
|
||||||
num_skin = 0
|
num_skin = 0
|
||||||
elif view_style == 2:
|
elif view_style == 2:
|
||||||
|
@ -601,6 +617,8 @@ def view_style(func):
|
||||||
num_skin = 2
|
num_skin = 2
|
||||||
elif view_style == 7:
|
elif view_style == 7:
|
||||||
num_skin = 3
|
num_skin = 3
|
||||||
|
if view_style == 8:
|
||||||
|
num_skin = 4
|
||||||
|
|
||||||
style = styles.get(func)
|
style = styles.get(func)
|
||||||
log('[view_style]: lock '+str(style)+' for '+str(func))
|
log('[view_style]: lock '+str(style)+' for '+str(func))
|
||||||
|
@ -614,6 +632,7 @@ def lockView(viewId='info', num_skin=0):
|
||||||
{'list': 50, 'info': 51, 'wide': 52, 'icons': 53, }, # Transperency!
|
{'list': 50, 'info': 51, 'wide': 52, 'icons': 53, }, # Transperency!
|
||||||
{'list': 55, 'info': 55, 'wide': 55, 'icons': 55, 'info3': 55, }, # Aeon Nox
|
{'list': 55, 'info': 55, 'wide': 55, 'icons': 55, 'info3': 55, }, # Aeon Nox
|
||||||
{'list': 50, 'info': 54, 'wide': 55, 'icons': 54, 'info3': 500, }, # Estuary
|
{'list': 50, 'info': 54, 'wide': 55, 'icons': 54, 'info3': 500, }, # Estuary
|
||||||
|
{'list': 50, 'bigwide': 51, 'biglist': 52, 'poster': 53, 'banner': 54, 'wall': 55, 'mediainfo': 56, 'extrainfo': 57, "cards":58, "bannerwall":59, 'thumbnails': 500, 'postersquare': 503, 'wallsquare': 505, }, # Arctic: Zephyr
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
if viewId == 'wide' and num_skin == 3:
|
if viewId == 'wide' and num_skin == 3:
|
||||||
|
@ -633,8 +652,6 @@ def lockView(viewId='info', num_skin=0):
|
||||||
<include>View_501_Banner</include>
|
<include>View_501_Banner</include>
|
||||||
<include>View_502_FanArt</include>
|
<include>View_502_FanArt</include>
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
<include>PosterWrapView2_Fanart</include> <!-- view id = 508 -->
|
<include>PosterWrapView2_Fanart</include> <!-- view id = 508 -->
|
||||||
<include>MediaListView3</include> <!-- view id = 503 -->
|
<include>MediaListView3</include> <!-- view id = 503 -->
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
<string id="30073">In the end</string>
|
<string id="30073">In the end</string>
|
||||||
<string id="30074">In the beginning</string>
|
<string id="30074">In the beginning</string>
|
||||||
<string id="30075">Second string</string>
|
<string id="30075">Second string</string>
|
||||||
|
<string id="30076">Arctic: Zephyr (by xbmc00)</string>
|
||||||
<string id="30101">Interface</string>
|
<string id="30101">Interface</string>
|
||||||
<string id="30102">P2P Network</string>
|
<string id="30102">P2P Network</string>
|
||||||
<string id="30103">Advanced</string>
|
<string id="30103">Advanced</string>
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
<string id="30073">В конце</string>
|
<string id="30073">В конце</string>
|
||||||
<string id="30074">В начале</string>
|
<string id="30074">В начале</string>
|
||||||
<string id="30075">Второй строкой</string>
|
<string id="30075">Второй строкой</string>
|
||||||
|
<string id="30076">Arctic: Zephyr (от xbmc00)</string>
|
||||||
<string id="30101">Интерфейс</string>
|
<string id="30101">Интерфейс</string>
|
||||||
<string id="30102">P2P Сеть</string>
|
<string id="30102">P2P Сеть</string>
|
||||||
<string id="30103">Дополнительные</string>
|
<string id="30103">Дополнительные</string>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<setting id="metadata" type="bool" label="30014" default="false"/>
|
<setting id="metadata" type="bool" label="30014" default="false"/>
|
||||||
<setting id="history" type="bool" label="30020" default="true"/>
|
<setting id="history" type="bool" label="30020" default="true"/>
|
||||||
<setting id="sort_search" type="enum" label="30061" default="0" lvalues="30062|30063|30064"/>
|
<setting id="sort_search" type="enum" label="30061" default="0" lvalues="30062|30063|30064"/>
|
||||||
<setting id="skin_optimization" type="enum" label="30002" default="1" lvalues="30003|30018|30017|30016|30019|30066|30067|30071"/>
|
<setting id="skin_optimization" type="enum" label="30002" default="1" lvalues="30003|30018|30017|30016|30019|30066|30067|30071|30076"/>
|
||||||
<setting id="open_option" type="enum" label="30034" default="0" lvalues="30035|30036|30037|30038"/>
|
<setting id="open_option" type="enum" label="30034" default="0" lvalues="30035|30036|30037|30038"/>
|
||||||
</category>
|
</category>
|
||||||
<category label="30103">
|
<category label="30103">
|
||||||
|
|
Loading…
Reference in New Issue