diff --git a/functions.py b/functions.py index 7b4edd2..a80ff76 100644 --- a/functions.py +++ b/functions.py @@ -590,9 +590,25 @@ def view_style(func): elif view_style == 5: styles['uTorrentBrowser'] = styles['torrentPlayer'] = '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' + 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]: num_skin = 0 elif view_style == 2: @@ -601,6 +617,8 @@ def view_style(func): num_skin = 2 elif view_style == 7: num_skin = 3 + if view_style == 8: + num_skin = 4 style = styles.get(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': 55, 'info': 55, 'wide': 55, 'icons': 55, 'info3': 55, }, # Aeon Nox {'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: if viewId == 'wide' and num_skin == 3: @@ -633,19 +652,17 @@ def lockView(viewId='info', num_skin=0): View_501_Banner View_502_FanArt ''' - - ''' - PosterWrapView2_Fanart - MediaListView3 - MediaListView2 - MediaListView4 - WideIconView - MusicVideoInfoListView - AddonInfoListView1 - AddonInfoThumbView1 - LiveTVView1 - ''' + PosterWrapView2_Fanart + MediaListView3 + MediaListView2 + MediaListView4 + WideIconView + MusicVideoInfoListView + AddonInfoListView1 + AddonInfoThumbView1 + LiveTVView1 + ''' def torrent_dir(): @@ -1992,7 +2009,7 @@ def check_network_advancedsettings(): file_cont=''' 2 - 30 + 30 252420 5 @@ -2009,7 +2026,7 @@ def check_network_advancedsettings(): ''' 2 - 30 + 30 252420 5 diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 224b7f3..ad58650 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -73,6 +73,7 @@ In the end In the beginning Second string + Arctic: Zephyr (by xbmc00) Interface P2P Network Advanced diff --git a/resources/language/Russian/strings.xml b/resources/language/Russian/strings.xml index 9135c31..168a464 100644 --- a/resources/language/Russian/strings.xml +++ b/resources/language/Russian/strings.xml @@ -73,6 +73,7 @@ В конце В начале Второй строкой + Arctic: Zephyr (от xbmc00) Интерфейс P2P Сеть Дополнительные diff --git a/resources/settings.xml b/resources/settings.xml index 17aa405..3dfbcf9 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -4,7 +4,7 @@ - +