fixes
parent
4223c6d942
commit
0f61ad977e
5
Core.py
5
Core.py
|
@ -55,6 +55,9 @@ class Core:
|
|||
if self.__settings__.getSetting('plugin_name') != self.__plugin__:
|
||||
#Every update run
|
||||
first_run_260()
|
||||
if self.version_check():
|
||||
estuary()
|
||||
|
||||
self.__settings__.setSetting('first_run_260', 'True')
|
||||
self.__settings__.setSetting('plugin_name', self.__plugin__)
|
||||
#check_network_advancedsettings()
|
||||
|
@ -317,7 +320,6 @@ class Core:
|
|||
params = {'mode': 'watched'}
|
||||
searchwindow.main(params)
|
||||
|
||||
|
||||
def swsearch(self, params={}):
|
||||
if len(Searchers().get_active())<1:
|
||||
noActiveSerachers()
|
||||
|
@ -330,7 +332,6 @@ class Core:
|
|||
import searchwindow
|
||||
searchwindow.main(params)
|
||||
|
||||
|
||||
def DownloadStatus(self, params={}):
|
||||
db = DownloadDB()
|
||||
get = params.get
|
||||
|
|
|
@ -809,6 +809,7 @@ def localize(text):
|
|||
'Play (from start)':'Lejátszás (az elejétől)',
|
||||
},
|
||||
'ru': {
|
||||
'Torrenter has a better view style for Kodi 17 default skin.':'У Torrenter есть оптимизированный вид под новый скин Kodi 17.',
|
||||
'is recommended for Kodi 17 users and now out of beta.': 'рекомендовано пользователям Kodi 17 и вышло из беты.',
|
||||
'You can disable it usage in Settings.':'Его можно отключить в настройках плагина.',
|
||||
'Move Up': 'Вверх',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.torrenter" name="Torrenter" version="2.6.0" provider-name="DiMartino">
|
||||
<addon id="plugin.video.torrenter" name="Torrenter" version="2.6.1" provider-name="DiMartino">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.1.0"/>
|
||||
<import addon="script.module.libtorrent"/>
|
||||
|
|
17
functions.py
17
functions.py
|
@ -1363,7 +1363,7 @@ def get_contentList(url):
|
|||
import Downloader
|
||||
|
||||
url = urllib.unquote_plus(url)
|
||||
log('0' + __settings__.getSetting("lastTorrent"))
|
||||
debug('0' + __settings__.getSetting("lastTorrent"))
|
||||
|
||||
__settings__.setSetting("lastTorrentUrl", url)
|
||||
classMatch = re.search('(\w+)::(.+)', url)
|
||||
|
@ -1374,9 +1374,9 @@ def get_contentList(url):
|
|||
|
||||
torrent = Downloader.Torrent(userStorageDirectory, url, torrentFilesDirectory=torrentFilesDirectory)
|
||||
|
||||
log('1'+__settings__.getSetting("lastTorrent"))
|
||||
debug('1'+__settings__.getSetting("lastTorrent"))
|
||||
__settings__.setSetting("lastTorrent", torrent.saveTorrent(url))
|
||||
log('2'+__settings__.getSetting("lastTorrent"))
|
||||
debug('2'+__settings__.getSetting("lastTorrent"))
|
||||
|
||||
append_filesize = __settings__.getSetting("append_filesize") == 'true'
|
||||
|
||||
|
@ -1886,6 +1886,17 @@ def first_run_260():
|
|||
searchwindow.main()
|
||||
|
||||
|
||||
def estuary():
|
||||
if __settings__.getSetting('skin_optimization') not in ['7', '0'] and \
|
||||
__settings__.getSetting('ask17_skin_optimization') != 'true':
|
||||
|
||||
yes = xbmcgui.Dialog().yesno('< %s >' % (Localization.localize('Torrenter Update ') + '2.6.0'),
|
||||
Localization.localize('Torrenter has a better view style for Kodi 17 default skin.'),
|
||||
Localization.localize('Would you like to try it?'), )
|
||||
if yes:
|
||||
__settings__.setSetting('skin_optimization', '7')
|
||||
__settings__.setSetting('ask17_skin_optimization', 'true')
|
||||
|
||||
def seeking_warning(seek):
|
||||
if __settings__.getSetting('torrent_player')!='1':
|
||||
seek_point = '%02d:%02d:%02d' % ((seek / (60*60)), (seek / 60) % 60, seek % 60)
|
||||
|
|
Loading…
Reference in New Issue