diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9b8a64c..0254746 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,9 +3,10 @@ + + - - + @@ -35,18 +36,18 @@ - + - - + + - - + + @@ -72,6 +73,7 @@ + @@ -162,17 +164,18 @@ - - - - - - - - - - - + + + + + + + + + + + + @@ -181,49 +184,65 @@ - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - + + @@ -304,11 +323,11 @@ - + - + @@ -316,11 +335,13 @@ + + @@ -369,14 +390,17 @@ - - + + + + + @@ -387,13 +411,21 @@ + + + + + + + + @@ -461,8 +493,6 @@ @@ -512,6 +544,7 @@ + @@ -609,7 +642,6 @@ - @@ -791,18 +823,6 @@ @@ -1094,15 +1126,15 @@ - - + + @@ -1126,8 +1158,6 @@ - - @@ -1151,7 +1181,9 @@ - @@ -1353,13 +1385,6 @@ - - - - - - - @@ -1419,38 +1444,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1542,17 +1535,189 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + @@ -1578,6 +1743,7 @@ + @@ -1668,133 +1834,18 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/Core.py b/Core.py index 946a015..bca2591 100644 --- a/Core.py +++ b/Core.py @@ -57,8 +57,8 @@ class Core: self.__settings__.setSetting('plugin_name', self.__plugin__) #check_network_advancedsettings() check_download_dir() - if self.__plugin__ == 'Torrenter v.2.3.7': - #first_run_231() + if self.__plugin__ == 'Torrenter v.2.4.1a': + first_run_241() pass ListString = 'XBMC.RunPlugin(%s)' % (sys.argv[0] + '?action=%s&action2=%s&%s=%s') diff --git a/Localization.py b/Localization.py index 33fcff5..0e34661 100644 --- a/Localization.py +++ b/Localization.py @@ -273,6 +273,8 @@ def localize(text): 'Please, restart Kodi now!':'Теперь перезагрузите Коди, пожалуйста!', './ (Root folder)':'./ (Корневой каталог)', 'Opening torrent file':'Открытие torrent-файла', + 'New player to Torrenter v2 - Torrent2HTTP! It can be enabled in settings.':'В Torrenter новый плеер - Torrent2HTTP! Включить его можно в настройках.', + 'It should be faster, stable and better with Android, also seeking works in it.':'Он стабильнее, быстрее и отлично ладит с Android, в нем работает перемотка.', }, 'uk': { 'Seeds searching.': 'Йде пошук сідів.', diff --git a/addon.xml b/addon.xml index a257016..346cf3a 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@  - + diff --git a/functions.py b/functions.py index f88290b..357152f 100644 --- a/functions.py +++ b/functions.py @@ -1640,6 +1640,11 @@ def first_run_231(): xbmc.executebuiltin('Dialog.Close(all,true)') xbmc.executebuiltin('XBMC.ActivateWindow(Addonbrowser,addons://search/%s)' % ('Torrenter Searcher')) +def first_run_241(): + ok = xbmcgui.Dialog().ok('< %s >' % Localization.localize('Torrenter Update ') + '2.4.1', + Localization.localize('New player to Torrenter v2 - Torrent2HTTP! It can be enabled in settings.'), + Localization.localize('It should be faster, stable and better with Android, also seeking works in it.')) + def noActiveSerachers(): yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter v2'), Localization.localize('You have no installed or active searchers! More info in Search Control Window!'),