seeding fix

pull/1/head
DiMartinoXBMC 2015-12-20 02:35:28 +03:00
parent 7f85f5eb37
commit 8f31261931
2 changed files with 142 additions and 143 deletions

View File

@ -4,7 +4,6 @@
<list default="true" id="56e91349-2444-4553-bc78-90c2bab49e9c" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Anteoloader.py" afterPath="$PROJECT_DIR$/Anteoloader.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/functions.py" afterPath="$PROJECT_DIR$/functions.py" />
</list>
<ignored path="plugin.video.torrenter.iws" />
<ignored path=".idea/workspace.xml" />
@ -184,8 +183,8 @@
<file leaf-file-name="Anteoloader.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Anteoloader.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.2771475">
<caret line="289" column="30" selection-start-line="289" selection-start-column="30" selection-end-line="289" selection-end-column="30" />
<state vertical-scroll-proportion="-3.3269536">
<caret line="266" column="0" selection-start-line="266" selection-start-column="0" selection-end-line="266" selection-end-column="0" />
<folding>
<element signature="e#24#785#1" expanded="false" />
<element signature="e#788#802#0" expanded="true" />
@ -195,26 +194,26 @@
<element signature="e#4618#4713#0" expanded="false" />
<element signature="e#4753#5394#0" expanded="false" />
<element signature="e#7650#7829#0" expanded="false" />
<element signature="e#10916#11026#0" expanded="false" />
<element signature="e#17331#17875#0" expanded="false" />
<element signature="e#22037#22168#0" expanded="false" />
<element signature="e#22211#22294#0" expanded="false" />
<element signature="e#22336#22466#0" expanded="false" />
<element signature="e#22509#22640#0" expanded="false" />
<element signature="e#22711#22844#0" expanded="false" />
<element signature="e#22893#23311#0" expanded="false" />
<element signature="e#23353#23448#0" expanded="false" />
<element signature="e#23498#24352#0" expanded="false" />
<element signature="e#24393#24582#0" expanded="false" />
<element signature="e#24615#24830#0" expanded="false" />
<element signature="e#24863#26579#0" expanded="false" />
<element signature="e#24914#25569#0" expanded="false" />
<element signature="e#25599#25777#0" expanded="false" />
<element signature="e#25807#25985#0" expanded="false" />
<element signature="e#26016#26027#0" expanded="false" />
<element signature="e#26071#26088#0" expanded="false" />
<element signature="e#26141#26233#0" expanded="false" />
<element signature="e#26308#26579#0" expanded="false" />
<element signature="e#10914#11024#0" expanded="false" />
<element signature="e#17329#17873#0" expanded="false" />
<element signature="e#22035#22166#0" expanded="false" />
<element signature="e#22209#22292#0" expanded="false" />
<element signature="e#22334#22464#0" expanded="false" />
<element signature="e#22507#22638#0" expanded="false" />
<element signature="e#22709#22842#0" expanded="false" />
<element signature="e#22891#23309#0" expanded="false" />
<element signature="e#23351#23446#0" expanded="false" />
<element signature="e#23496#24350#0" expanded="false" />
<element signature="e#24391#24580#0" expanded="false" />
<element signature="e#24613#24828#0" expanded="false" />
<element signature="e#24861#26577#0" expanded="false" />
<element signature="e#24912#25567#0" expanded="false" />
<element signature="e#25597#25775#0" expanded="false" />
<element signature="e#25805#25983#0" expanded="false" />
<element signature="e#26014#26025#0" expanded="false" />
<element signature="e#26069#26086#0" expanded="false" />
<element signature="e#26139#26231#0" expanded="false" />
<element signature="e#26306#26577#0" expanded="false" />
</folding>
</state>
</provider>
@ -301,10 +300,10 @@
</provider>
</entry>
</file>
<file leaf-file-name="Libtorrent.py" pinned="false" current-in-tab="true">
<file leaf-file-name="Libtorrent.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Libtorrent.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.48142415">
<state vertical-scroll-proportion="0.0">
<caret line="164" column="20" selection-start-line="164" selection-start-column="20" selection-end-line="164" selection-end-column="20" />
<folding>
<element signature="e#24#836#1" expanded="false" />
@ -335,22 +334,22 @@
</provider>
</entry>
</file>
<file leaf-file-name="SearcherABC.py" pinned="false" current-in-tab="false">
<file leaf-file-name="SearcherABC.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/SearcherABC.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="82" column="13" selection-start-line="72" selection-start-column="8" selection-end-line="72" selection-end-column="22" />
<state vertical-scroll-proportion="0.37123746">
<caret line="105" column="32" selection-start-line="105" selection-start-column="32" selection-end-line="105" selection-end-column="32" />
<folding>
<element signature="e#838#851#0" expanded="true" />
<element signature="e#6815#6935#0" expanded="false" />
<element signature="e#6972#7058#0" expanded="false" />
<element signature="e#7091#7350#0" expanded="false" />
<element signature="e#7398#7501#0" expanded="false" />
<element signature="e#7540#7866#0" expanded="false" />
<element signature="e#7921#8224#0" expanded="false" />
<element signature="e#8256#8260#0" expanded="false" />
<element signature="e#8294#8302#0" expanded="false" />
<element signature="e#8338#8348#0" expanded="false" />
<element signature="e#6852#6972#0" expanded="false" />
<element signature="e#7009#7095#0" expanded="false" />
<element signature="e#7128#7387#0" expanded="false" />
<element signature="e#7435#7538#0" expanded="false" />
<element signature="e#7577#7903#0" expanded="false" />
<element signature="e#7958#8261#0" expanded="false" />
<element signature="e#8293#8297#0" expanded="false" />
<element signature="e#8331#8339#0" expanded="false" />
<element signature="e#8375#8385#0" expanded="false" />
</folding>
</state>
</provider>
@ -493,7 +492,6 @@
<option value="$PROJECT_DIR$/../torrenter.searcher.PornoLabNet/PornoLabNet.py" />
<option value="$PROJECT_DIR$/resources/contenters/CXZ.py" />
<option value="$PROJECT_DIR$/README.txt" />
<option value="$PROJECT_DIR$/SearcherABC.py" />
<option value="$PROJECT_DIR$/resources/language/Hebrew/strings.xml" />
<option value="$PROJECT_DIR$/Downloader.py" />
<option value="$PROJECT_DIR$/Player.py" />
@ -508,14 +506,15 @@
<option value="$PROJECT_DIR$/resources/language/English/strings.xml" />
<option value="$PROJECT_DIR$/functions.py" />
<option value="$PROJECT_DIR$/Anteoloader.py" />
<option value="$PROJECT_DIR$/SearcherABC.py" />
</list>
</option>
</component>
<component name="ProjectFrameBounds">
<option name="x" value="-8" />
<option name="y" value="-8" />
<option name="width" value="1936" />
<option name="height" value="1056" />
<option name="x" value="1" />
<option name="y" value="1" />
<option name="width" value="1918" />
<option name="height" value="1038" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
<OptionsSetting value="true" id="Add" />
@ -542,7 +541,7 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scratches" />
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<PATH>
@ -639,7 +638,7 @@
</PATH>
</subPane>
</pane>
<pane id="Scope" />
<pane id="Scratches" />
</panes>
</component>
<component name="PropertiesComponent">
@ -821,18 +820,6 @@
<option name="number" value="Default" />
<updated>1420801533300</updated>
</task>
<task id="LOCAL-00102" summary="fix back">
<created>1437496683560</created>
<option name="number" value="00102" />
<option name="project" value="LOCAL" />
<updated>1437496683561</updated>
</task>
<task id="LOCAL-00103" summary="external dl">
<created>1437512658131</created>
<option name="number" value="00103" />
<option name="project" value="LOCAL" />
<updated>1437512658132</updated>
</task>
<task id="LOCAL-00104" summary="1.0.5 fix">
<created>1437665002965</created>
<option name="number" value="00104" />
@ -1115,24 +1102,36 @@
<option name="project" value="LOCAL" />
<updated>1450525487061</updated>
</task>
<option name="localTasksCounter" value="151" />
<task id="LOCAL-00151" summary="file fix">
<created>1450528759305</created>
<option name="number" value="00151" />
<option name="project" value="LOCAL" />
<updated>1450528759306</updated>
</task>
<task id="LOCAL-00152" summary="cookie fix">
<created>1450568106773</created>
<option name="number" value="00152" />
<option name="project" value="LOCAL" />
<updated>1450568106773</updated>
</task>
<option name="localTasksCounter" value="153" />
<servers />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<frame x="1" y="1" width="1918" height="1038" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13224447" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13351063" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32925472" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32814237" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2502781" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2556818" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32703003" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.1319149" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25226244" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
@ -1162,7 +1161,6 @@
<MESSAGE value="rus sub cc fix" />
<MESSAGE value="antizapret" />
<MESSAGE value="fix kickass ml" />
<MESSAGE value="cookie fix" />
<MESSAGE value="log fixes" />
<MESSAGE value="external" />
<MESSAGE value="temp fix" />
@ -1181,7 +1179,8 @@
<MESSAGE value="subs and loop fix" />
<MESSAGE value="settings update" />
<MESSAGE value="file fix" />
<option name="LAST_COMMIT_MESSAGE" value="file fix" />
<MESSAGE value="cookie fix" />
<option name="LAST_COMMIT_MESSAGE" value="cookie fix" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
@ -1471,25 +1470,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/SearcherABC.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="82" column="13" selection-start-line="72" selection-start-column="8" selection-end-line="72" selection-end-column="22" />
<folding>
<element signature="e#838#851#0" expanded="true" />
<element signature="e#6815#6935#0" expanded="false" />
<element signature="e#6972#7058#0" expanded="false" />
<element signature="e#7091#7350#0" expanded="false" />
<element signature="e#7398#7501#0" expanded="false" />
<element signature="e#7540#7866#0" expanded="false" />
<element signature="e#7921#8224#0" expanded="false" />
<element signature="e#8256#8260#0" expanded="false" />
<element signature="e#8294#8302#0" expanded="false" />
<element signature="e#8338#8348#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../torrenter.searcher.RiperAM/RiperAM.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
@ -1616,38 +1596,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Libtorrent.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.48142415">
<caret line="164" column="20" selection-start-line="164" selection-start-column="20" selection-end-line="164" selection-end-column="20" />
<folding>
<element signature="e#24#836#1" expanded="false" />
<element signature="e#1479#3287#0" expanded="false" />
<element signature="e#3336#6313#0" expanded="false" />
<element signature="e#9165#9297#0" expanded="false" />
<element signature="e#9338#9472#0" expanded="false" />
<element signature="e#9506#9628#0" expanded="false" />
<element signature="e#9662#9784#0" expanded="false" />
<element signature="e#9834#9881#0" expanded="false" />
<element signature="e#9931#10035#0" expanded="false" />
<element signature="e#10075#10389#0" expanded="false" />
<element signature="e#10661#10968#0" expanded="false" />
<element signature="e#11026#11337#0" expanded="false" />
<element signature="e#11374#11553#0" expanded="false" />
<element signature="e#11621#12998#0" expanded="false" />
<element signature="e#13043#13971#0" expanded="false" />
<element signature="e#16524#17167#0" expanded="false" />
<element signature="e#17205#17906#0" expanded="false" />
<element signature="e#17943#18045#0" expanded="false" />
<element signature="e#18137#19309#0" expanded="false" />
<element signature="e#19346#19750#0" expanded="false" />
<element signature="e#19781#21708#0" expanded="false" />
<element signature="e#21754#22851#0" expanded="false" />
<element signature="e#22886#23029#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/functions.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
@ -1793,10 +1741,61 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Libtorrent.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0">
<caret line="164" column="20" selection-start-line="164" selection-start-column="20" selection-end-line="164" selection-end-column="20" />
<folding>
<element signature="e#24#836#1" expanded="false" />
<element signature="e#1479#3287#0" expanded="false" />
<element signature="e#3336#6313#0" expanded="false" />
<element signature="e#9165#9297#0" expanded="false" />
<element signature="e#9338#9472#0" expanded="false" />
<element signature="e#9506#9628#0" expanded="false" />
<element signature="e#9662#9784#0" expanded="false" />
<element signature="e#9834#9881#0" expanded="false" />
<element signature="e#9931#10035#0" expanded="false" />
<element signature="e#10075#10389#0" expanded="false" />
<element signature="e#10661#10968#0" expanded="false" />
<element signature="e#11026#11337#0" expanded="false" />
<element signature="e#11374#11553#0" expanded="false" />
<element signature="e#11621#12998#0" expanded="false" />
<element signature="e#13043#13971#0" expanded="false" />
<element signature="e#16524#17167#0" expanded="false" />
<element signature="e#17205#17906#0" expanded="false" />
<element signature="e#17943#18045#0" expanded="false" />
<element signature="e#18137#19309#0" expanded="false" />
<element signature="e#19346#19750#0" expanded="false" />
<element signature="e#19781#21708#0" expanded="false" />
<element signature="e#21754#22851#0" expanded="false" />
<element signature="e#22886#23029#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/SearcherABC.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.37123746">
<caret line="105" column="32" selection-start-line="105" selection-start-column="32" selection-end-line="105" selection-end-column="32" />
<folding>
<element signature="e#838#851#0" expanded="true" />
<element signature="e#6852#6972#0" expanded="false" />
<element signature="e#7009#7095#0" expanded="false" />
<element signature="e#7128#7387#0" expanded="false" />
<element signature="e#7435#7538#0" expanded="false" />
<element signature="e#7577#7903#0" expanded="false" />
<element signature="e#7958#8261#0" expanded="false" />
<element signature="e#8293#8297#0" expanded="false" />
<element signature="e#8331#8339#0" expanded="false" />
<element signature="e#8375#8385#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Anteoloader.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.2771475">
<caret line="289" column="30" selection-start-line="289" selection-start-column="30" selection-end-line="289" selection-end-column="30" />
<state vertical-scroll-proportion="-3.3269536">
<caret line="266" column="0" selection-start-line="266" selection-start-column="0" selection-end-line="266" selection-end-column="0" />
<folding>
<element signature="e#24#785#1" expanded="false" />
<element signature="e#788#802#0" expanded="true" />
@ -1806,26 +1805,26 @@
<element signature="e#4618#4713#0" expanded="false" />
<element signature="e#4753#5394#0" expanded="false" />
<element signature="e#7650#7829#0" expanded="false" />
<element signature="e#10916#11026#0" expanded="false" />
<element signature="e#17331#17875#0" expanded="false" />
<element signature="e#22037#22168#0" expanded="false" />
<element signature="e#22211#22294#0" expanded="false" />
<element signature="e#22336#22466#0" expanded="false" />
<element signature="e#22509#22640#0" expanded="false" />
<element signature="e#22711#22844#0" expanded="false" />
<element signature="e#22893#23311#0" expanded="false" />
<element signature="e#23353#23448#0" expanded="false" />
<element signature="e#23498#24352#0" expanded="false" />
<element signature="e#24393#24582#0" expanded="false" />
<element signature="e#24615#24830#0" expanded="false" />
<element signature="e#24863#26579#0" expanded="false" />
<element signature="e#24914#25569#0" expanded="false" />
<element signature="e#25599#25777#0" expanded="false" />
<element signature="e#25807#25985#0" expanded="false" />
<element signature="e#26016#26027#0" expanded="false" />
<element signature="e#26071#26088#0" expanded="false" />
<element signature="e#26141#26233#0" expanded="false" />
<element signature="e#26308#26579#0" expanded="false" />
<element signature="e#10914#11024#0" expanded="false" />
<element signature="e#17329#17873#0" expanded="false" />
<element signature="e#22035#22166#0" expanded="false" />
<element signature="e#22209#22292#0" expanded="false" />
<element signature="e#22334#22464#0" expanded="false" />
<element signature="e#22507#22638#0" expanded="false" />
<element signature="e#22709#22842#0" expanded="false" />
<element signature="e#22891#23309#0" expanded="false" />
<element signature="e#23351#23446#0" expanded="false" />
<element signature="e#23496#24350#0" expanded="false" />
<element signature="e#24391#24580#0" expanded="false" />
<element signature="e#24613#24828#0" expanded="false" />
<element signature="e#24861#26577#0" expanded="false" />
<element signature="e#24912#25567#0" expanded="false" />
<element signature="e#25597#25775#0" expanded="false" />
<element signature="e#25805#25983#0" expanded="false" />
<element signature="e#26014#26025#0" expanded="false" />
<element signature="e#26069#26086#0" expanded="false" />
<element signature="e#26139#26231#0" expanded="false" />
<element signature="e#26306#26577#0" expanded="false" />
</folding>
</state>
</provider>

View File

@ -271,13 +271,13 @@ class AnteoPlayer(xbmc.Player):
xbmc.sleep(1000)
clearStorage(self.userStorageDirectory)
else:
if self.seeding_status:
showMessage(self.localize('Information'),
self.localize('Torrent is seeding. To stop it use Download Status.'), forced=True)
else:
if self.seeding: self.db_delete()
showMessage(self.localize('Information'),
self.localize('Torrent downloading is stopped.'), forced=True)
#if self.seeding_status:
showMessage(self.localize('Information'),
self.localize('Torrent is seeding. To stop it use Download Status.'), forced=True)
#else:
# #if self.seeding: self.db_delete()
# showMessage(self.localize('Information'),
# self.localize('Torrent downloading is stopped.'), forced=True)
def __exit__(self):
log('on __exit__')