diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3aa6d19..07806eb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,7 @@ - - + @@ -39,8 +38,8 @@ - - + + @@ -54,30 +53,33 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -106,7 +108,7 @@ - + @@ -126,7 +128,7 @@ - + @@ -147,11 +149,11 @@ - + - - + + @@ -197,11 +199,31 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + @@ -227,21 +249,21 @@ @@ -372,6 +394,24 @@ @@ -661,12 +705,12 @@ - + - + @@ -698,11 +742,12 @@ - - @@ -777,30 +822,33 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -861,30 +909,33 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -945,30 +996,33 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1065,13 +1119,6 @@ - - - - - - - @@ -1079,13 +1126,6 @@ - - - - - - - @@ -1149,30 +1189,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -1197,10 +1213,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -1214,30 +1270,33 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Core.py b/Core.py index db34562..86f6603 100644 --- a/Core.py +++ b/Core.py @@ -885,7 +885,10 @@ class Core: if not info.get('label'): continue - title = title.encode('utf-8', 'ignore') + try:#spanish non utf-8 fix + title = title.encode('utf-8', 'ignore') + except: + continue label = info.get('label').encode('utf-8', 'ignore') if self.contenterObject[provider].isInfoLink() and info.get('link'): @@ -1625,9 +1628,11 @@ class Core: torrent = f.read() f.close() success = Download().add(torrent, dirname) - if success and ind: - id = self.chooseHASH()[0] - Download().setprio(id, ind) + if success: + showMessage(self.localize('Torrent-client Browser'), self.localize('Added!'), forced=True) + if ind: + id = self.chooseHASH()[0] + Download().setprio(id, ind) def downloadLibtorrent(self, params={}): get = params.get diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 9b14fdf..a06ad45 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -35,7 +35,7 @@ Open Torrent File Open Context Menu Download via Torrent-client - Download via Python-Libtorrent (Download Status) + Download via Python-Libtorrent Interface P2P Network Advanced