TC copy files from subfold

pull/1/head
DiMartinoXBMC 2015-01-19 20:33:28 +03:00
parent c4ef6d0ba9
commit 41b38b8392
3 changed files with 239 additions and 76 deletions

View File

@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="56e91349-2444-4553-bc78-90c2bab49e9c" name="Default" comment="ez ch up"> <list default="true" id="56e91349-2444-4553-bc78-90c2bab49e9c" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Core.py" afterPath="$PROJECT_DIR$/Core.py" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Core.py" afterPath="$PROJECT_DIR$/Core.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Player.py" afterPath="$PROJECT_DIR$/Player.py" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Localization.py" afterPath="$PROJECT_DIR$/Localization.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cal.py" afterPath="$PROJECT_DIR$/cal.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/functions.py" afterPath="$PROJECT_DIR$/functions.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
</list> </list>
<ignored path="plugin.video.torrenter.iws" /> <ignored path="plugin.video.torrenter.iws" />
@ -37,11 +35,61 @@
<splitter split-orientation="horizontal" split-proportion="0.5"> <splitter split-orientation="horizontal" split-proportion="0.5">
<split-first> <split-first>
<leaf> <leaf>
<file leaf-file-name="Core.py" pinned="false" current="true" current-in-tab="true"> <file leaf-file-name="Core.py" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Core.py"> <entry file="file://$PROJECT_DIR$/Core.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.33333334" vertical-offset="22758" max-vertical-offset="29750"> <state vertical-scroll-proportion="-16.321428" vertical-offset="4167" max-vertical-offset="6936">
<caret line="1369" column="45" selection-start-line="1369" selection-start-column="45" selection-end-line="1369" selection-end-column="45" /> <caret line="1080" column="53" selection-start-line="1080" selection-start-column="53" selection-end-line="1080" selection-end-column="53" />
<folding>
<element signature="e#24#781#1" expanded="false" />
<element signature="e#2318#2615#0" expanded="false" />
<element signature="e#2652#7286#0" expanded="false" />
<element signature="e#7325#19290#0" expanded="false" />
<element signature="e#19331#20097#0" expanded="false" />
<element signature="e#27207#30636#0" expanded="false" />
<element signature="e#30677#31904#0" expanded="false" />
<element signature="e#32004#36358#0" expanded="false" />
<element signature="e#36406#38470#0" expanded="false" />
<element signature="e#38512#39500#0" expanded="false" />
<element signature="e#39550#44164#0" expanded="false" />
<element signature="e#44229#50582#0" expanded="false" />
<element signature="e#50630#51365#0" expanded="false" />
<element signature="e#51429#53484#0" expanded="false" />
<element signature="e#53533#55492#0" expanded="false" />
<element signature="e#55649#56901#0" expanded="false" />
<element signature="e#56957#57374#0" expanded="false" />
<element signature="e#57416#57525#0" expanded="false" />
<element signature="e#57568#57688#0" expanded="false" />
<element signature="e#57738#57889#0" expanded="false" />
<element signature="e#65749#65788#0" expanded="false" />
<element signature="e#65837#66627#0" expanded="false" />
<element signature="e#66677#69477#0" expanded="false" />
<element signature="e#69522#70271#0" expanded="false" />
<element signature="e#70319#71815#0" expanded="false" />
<element signature="e#71860#72733#0" expanded="false" />
<element signature="e#72781#79001#0" expanded="false" />
<element signature="e#79049#80833#0" expanded="false" />
<element signature="e#80883#80979#0" expanded="false" />
<element signature="e#81042#81569#0" expanded="false" />
<element signature="e#81640#86928#0" expanded="false" />
<element signature="e#86972#87029#0" expanded="false" />
<element signature="e#87083#90432#0" expanded="false" />
<element signature="e#90487#92418#0" expanded="false" />
<element signature="e#92484#93104#0" expanded="false" />
<element signature="e#93147#94045#0" expanded="false" />
<element signature="e#94081#94870#0" expanded="false" />
<element signature="e#94912#95007#0" expanded="false" />
<element signature="e#95057#95205#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Localization.py" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Localization.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-2.140394" vertical-offset="3234" max-vertical-offset="4046">
<caret line="88" column="23" selection-start-line="88" selection-start-column="23" selection-end-line="88" selection-end-column="23" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -70,7 +118,7 @@
<file leaf-file-name="strings.xml" pinned="false" current="false" current-in-tab="false"> <file leaf-file-name="strings.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/language/Russian/strings.xml"> <entry file="file://$PROJECT_DIR$/resources/language/Russian/strings.xml">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="629" max-vertical-offset="1105"> <state vertical-scroll-proportion="0.0" vertical-offset="252" max-vertical-offset="1105">
<caret line="37" column="48" selection-start-line="37" selection-start-column="48" selection-end-line="37" selection-end-column="48" /> <caret line="37" column="48" selection-start-line="37" selection-start-column="48" selection-end-line="37" selection-end-column="48" />
<folding /> <folding />
</state> </state>
@ -94,11 +142,9 @@
<file leaf-file-name="Player.py" pinned="false" current="false" current-in-tab="true"> <file leaf-file-name="Player.py" pinned="false" current="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Player.py"> <entry file="file://$PROJECT_DIR$/Player.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="2.2561119" vertical-offset="0" max-vertical-offset="2210"> <state vertical-scroll-proportion="0.4371921" vertical-offset="1481" max-vertical-offset="3094">
<caret line="368" column="37" selection-start-line="368" selection-start-column="37" selection-end-line="368" selection-end-column="37" /> <caret line="246" column="36" selection-start-line="246" selection-start-column="36" selection-end-line="246" selection-end-column="36" />
<folding> <folding>
<element signature="e#1125#2841#0" expanded="false" />
<element signature="e#1176#1831#0" expanded="false" />
<element signature="e#1861#2039#0" expanded="false" /> <element signature="e#1861#2039#0" expanded="false" />
<element signature="e#2069#2247#0" expanded="false" /> <element signature="e#2069#2247#0" expanded="false" />
<element signature="e#2278#2289#0" expanded="false" /> <element signature="e#2278#2289#0" expanded="false" />
@ -109,7 +155,6 @@
<element signature="e#5731#6122#0" expanded="false" /> <element signature="e#5731#6122#0" expanded="false" />
<element signature="e#6161#6832#0" expanded="false" /> <element signature="e#6161#6832#0" expanded="false" />
<element signature="e#6864#9288#0" expanded="false" /> <element signature="e#6864#9288#0" expanded="false" />
<element signature="e#9337#10638#0" expanded="false" />
<element signature="e#10674#12765#0" expanded="false" /> <element signature="e#10674#12765#0" expanded="false" />
<element signature="e#12808#12915#0" expanded="false" /> <element signature="e#12808#12915#0" expanded="false" />
<element signature="e#12958#13041#0" expanded="false" /> <element signature="e#12958#13041#0" expanded="false" />
@ -125,16 +170,6 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="ASCore.py" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/../script.module.torrent.ts/ASCore.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="3443" max-vertical-offset="11322">
<caret line="218" column="16" selection-start-line="218" selection-start-column="16" selection-end-line="218" selection-end-column="16" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="cal.py" pinned="false" current="false" current-in-tab="false"> <file leaf-file-name="cal.py" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cal.py"> <entry file="file://$PROJECT_DIR$/cal.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -314,7 +349,6 @@
<option value="$PROJECT_DIR$/Downloader.py" /> <option value="$PROJECT_DIR$/Downloader.py" />
<option value="$PROJECT_DIR$/resources/searchers/KickAssSo.py" /> <option value="$PROJECT_DIR$/resources/searchers/KickAssSo.py" />
<option value="$PROJECT_DIR$/resources/utorrent/net.py" /> <option value="$PROJECT_DIR$/resources/utorrent/net.py" />
<option value="$PROJECT_DIR$/Localization.py" />
<option value="$PROJECT_DIR$/resources/language/Russian/strings.xml" /> <option value="$PROJECT_DIR$/resources/language/Russian/strings.xml" />
<option value="$PROJECT_DIR$/Content.py" /> <option value="$PROJECT_DIR$/Content.py" />
<option value="$PROJECT_DIR$/resources/contenters/KickAssSo.py" /> <option value="$PROJECT_DIR$/resources/contenters/KickAssSo.py" />
@ -330,14 +364,15 @@
<option value="$PROJECT_DIR$/functions.py" /> <option value="$PROJECT_DIR$/functions.py" />
<option value="$PROJECT_DIR$/Player.py" /> <option value="$PROJECT_DIR$/Player.py" />
<option value="$PROJECT_DIR$/Core.py" /> <option value="$PROJECT_DIR$/Core.py" />
<option value="$PROJECT_DIR$/Localization.py" />
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="-8" /> <option name="x" value="1" />
<option name="y" value="-8" /> <option name="y" value="1" />
<option name="width" value="1936" /> <option name="width" value="1918" />
<option name="height" value="1056" /> <option name="height" value="1038" />
</component> </component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true"> <component name="ProjectLevelVcsManager" settingsEditedManually="true">
<OptionsSetting value="true" id="Add" /> <OptionsSetting value="true" id="Add" />
@ -666,7 +701,11 @@
<created>1421616989982</created> <created>1421616989982</created>
<updated>1421616989982</updated> <updated>1421616989982</updated>
</task> </task>
<option name="localTasksCounter" value="26" /> <task id="LOCAL-00026" summary="myshows external fix">
<created>1421677945021</created>
<updated>1421677945021</updated>
</task>
<option name="localTasksCounter" value="27" />
<servers /> <servers />
</component> </component>
<component name="TodoView" selected-index="0"> <component name="TodoView" selected-index="0">
@ -690,14 +729,15 @@
</todo-panel> </todo-panel>
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="0" /> <frame x="1" y="1" width="1918" height="1038" extended-state="0" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.26140156" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.26140156" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3288889" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3288889" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925472" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925472" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25237092" 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" weight="0.25478724" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
@ -707,7 +747,6 @@
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" 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" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
@ -748,7 +787,8 @@
<MESSAGE value="fix external multifile play" /> <MESSAGE value="fix external multifile play" />
<MESSAGE value="ez ch up" /> <MESSAGE value="ez ch up" />
<MESSAGE value="subs new naming" /> <MESSAGE value="subs new naming" />
<option name="LAST_COMMIT_MESSAGE" value="subs new naming" /> <MESSAGE value="myshows external fix" />
<option name="LAST_COMMIT_MESSAGE" value="myshows external fix" />
</component> </component>
<component name="XDebuggerManager"> <component name="XDebuggerManager">
<breakpoint-manager> <breakpoint-manager>
@ -761,8 +801,6 @@
<state vertical-scroll-proportion="0.0" vertical-offset="2176" max-vertical-offset="6375"> <state vertical-scroll-proportion="0.0" vertical-offset="2176" max-vertical-offset="6375">
<caret line="128" column="38" selection-start-line="128" selection-start-column="38" selection-end-line="128" selection-end-column="38" /> <caret line="128" column="38" selection-start-line="128" selection-start-column="38" selection-end-line="128" selection-end-column="38" />
<folding> <folding>
<element signature="e#1125#2841#0" expanded="false" />
<element signature="e#1176#1831#0" expanded="false" />
<element signature="e#1861#2039#0" expanded="false" /> <element signature="e#1861#2039#0" expanded="false" />
<element signature="e#2069#2247#0" expanded="false" /> <element signature="e#2069#2247#0" expanded="false" />
<element signature="e#2278#2289#0" expanded="false" /> <element signature="e#2278#2289#0" expanded="false" />
@ -773,7 +811,6 @@
<element signature="e#5731#6122#0" expanded="false" /> <element signature="e#5731#6122#0" expanded="false" />
<element signature="e#6161#6832#0" expanded="false" /> <element signature="e#6161#6832#0" expanded="false" />
<element signature="e#6864#9288#0" expanded="false" /> <element signature="e#6864#9288#0" expanded="false" />
<element signature="e#9337#10638#0" expanded="false" />
<element signature="e#10674#12765#0" expanded="false" /> <element signature="e#10674#12765#0" expanded="false" />
<element signature="e#12808#12915#0" expanded="false" /> <element signature="e#12808#12915#0" expanded="false" />
<element signature="e#12958#13041#0" expanded="false" /> <element signature="e#12958#13041#0" expanded="false" />
@ -822,7 +859,47 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="27387"> <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="27387">
<caret line="1071" column="32" selection-start-line="1071" selection-start-column="32" selection-end-line="1071" selection-end-column="32" /> <caret line="1071" column="32" selection-start-line="1071" selection-start-column="32" selection-end-line="1071" selection-end-column="32" />
<folding /> <folding>
<element signature="e#24#781#1" expanded="false" />
<element signature="e#2318#2615#0" expanded="false" />
<element signature="e#2652#7286#0" expanded="false" />
<element signature="e#7325#19290#0" expanded="false" />
<element signature="e#19331#20097#0" expanded="false" />
<element signature="e#27207#30636#0" expanded="false" />
<element signature="e#30677#31904#0" expanded="false" />
<element signature="e#32004#36358#0" expanded="false" />
<element signature="e#36406#38470#0" expanded="false" />
<element signature="e#38512#39500#0" expanded="false" />
<element signature="e#39550#44164#0" expanded="false" />
<element signature="e#44229#50582#0" expanded="false" />
<element signature="e#50630#51365#0" expanded="false" />
<element signature="e#51429#53484#0" expanded="false" />
<element signature="e#53533#55492#0" expanded="false" />
<element signature="e#55649#56901#0" expanded="false" />
<element signature="e#56957#57374#0" expanded="false" />
<element signature="e#57416#57525#0" expanded="false" />
<element signature="e#57568#57688#0" expanded="false" />
<element signature="e#57738#57889#0" expanded="false" />
<element signature="e#65749#65788#0" expanded="false" />
<element signature="e#65837#66627#0" expanded="false" />
<element signature="e#66677#69477#0" expanded="false" />
<element signature="e#69522#70271#0" expanded="false" />
<element signature="e#70319#71815#0" expanded="false" />
<element signature="e#71860#72733#0" expanded="false" />
<element signature="e#72781#79001#0" expanded="false" />
<element signature="e#79049#80833#0" expanded="false" />
<element signature="e#80883#80979#0" expanded="false" />
<element signature="e#81042#81569#0" expanded="false" />
<element signature="e#81640#86928#0" expanded="false" />
<element signature="e#86972#87029#0" expanded="false" />
<element signature="e#87083#90432#0" expanded="false" />
<element signature="e#90487#92418#0" expanded="false" />
<element signature="e#92484#93104#0" expanded="false" />
<element signature="e#93147#94045#0" expanded="false" />
<element signature="e#94081#94870#0" expanded="false" />
<element signature="e#94912#95007#0" expanded="false" />
<element signature="e#95057#95205#0" expanded="false" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -831,8 +908,6 @@
<state vertical-scroll-proportion="0.0" vertical-offset="1458" max-vertical-offset="6154"> <state vertical-scroll-proportion="0.0" vertical-offset="1458" max-vertical-offset="6154">
<caret line="128" column="38" selection-start-line="128" selection-start-column="38" selection-end-line="128" selection-end-column="38" /> <caret line="128" column="38" selection-start-line="128" selection-start-column="38" selection-end-line="128" selection-end-column="38" />
<folding> <folding>
<element signature="e#1125#2841#0" expanded="false" />
<element signature="e#1176#1831#0" expanded="false" />
<element signature="e#1861#2039#0" expanded="false" /> <element signature="e#1861#2039#0" expanded="false" />
<element signature="e#2069#2247#0" expanded="false" /> <element signature="e#2069#2247#0" expanded="false" />
<element signature="e#2278#2289#0" expanded="false" /> <element signature="e#2278#2289#0" expanded="false" />
@ -843,7 +918,6 @@
<element signature="e#5731#6122#0" expanded="false" /> <element signature="e#5731#6122#0" expanded="false" />
<element signature="e#6161#6832#0" expanded="false" /> <element signature="e#6161#6832#0" expanded="false" />
<element signature="e#6864#9288#0" expanded="false" /> <element signature="e#6864#9288#0" expanded="false" />
<element signature="e#9337#10638#0" expanded="false" />
<element signature="e#10674#12765#0" expanded="false" /> <element signature="e#10674#12765#0" expanded="false" />
<element signature="e#12808#12915#0" expanded="false" /> <element signature="e#12808#12915#0" expanded="false" />
<element signature="e#12958#13041#0" expanded="false" /> <element signature="e#12958#13041#0" expanded="false" />
@ -892,7 +966,47 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="25024" max-vertical-offset="26979"> <state vertical-scroll-proportion="0.0" vertical-offset="25024" max-vertical-offset="26979">
<caret line="1472" column="26" selection-start-line="1472" selection-start-column="26" selection-end-line="1472" selection-end-column="26" /> <caret line="1472" column="26" selection-start-line="1472" selection-start-column="26" selection-end-line="1472" selection-end-column="26" />
<folding /> <folding>
<element signature="e#24#781#1" expanded="false" />
<element signature="e#2318#2615#0" expanded="false" />
<element signature="e#2652#7286#0" expanded="false" />
<element signature="e#7325#19290#0" expanded="false" />
<element signature="e#19331#20097#0" expanded="false" />
<element signature="e#27207#30636#0" expanded="false" />
<element signature="e#30677#31904#0" expanded="false" />
<element signature="e#32004#36358#0" expanded="false" />
<element signature="e#36406#38470#0" expanded="false" />
<element signature="e#38512#39500#0" expanded="false" />
<element signature="e#39550#44164#0" expanded="false" />
<element signature="e#44229#50582#0" expanded="false" />
<element signature="e#50630#51365#0" expanded="false" />
<element signature="e#51429#53484#0" expanded="false" />
<element signature="e#53533#55492#0" expanded="false" />
<element signature="e#55649#56901#0" expanded="false" />
<element signature="e#56957#57374#0" expanded="false" />
<element signature="e#57416#57525#0" expanded="false" />
<element signature="e#57568#57688#0" expanded="false" />
<element signature="e#57738#57889#0" expanded="false" />
<element signature="e#65749#65788#0" expanded="false" />
<element signature="e#65837#66627#0" expanded="false" />
<element signature="e#66677#69477#0" expanded="false" />
<element signature="e#69522#70271#0" expanded="false" />
<element signature="e#70319#71815#0" expanded="false" />
<element signature="e#71860#72733#0" expanded="false" />
<element signature="e#72781#79001#0" expanded="false" />
<element signature="e#79049#80833#0" expanded="false" />
<element signature="e#80883#80979#0" expanded="false" />
<element signature="e#81042#81569#0" expanded="false" />
<element signature="e#81640#86928#0" expanded="false" />
<element signature="e#86972#87029#0" expanded="false" />
<element signature="e#87083#90432#0" expanded="false" />
<element signature="e#90487#92418#0" expanded="false" />
<element signature="e#92484#93104#0" expanded="false" />
<element signature="e#93147#94045#0" expanded="false" />
<element signature="e#94081#94870#0" expanded="false" />
<element signature="e#94912#95007#0" expanded="false" />
<element signature="e#95057#95205#0" expanded="false" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1003,14 +1117,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/resources/language/Russian/strings.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="256" max-vertical-offset="1105">
<caret line="37" column="48" selection-start-line="37" selection-start-column="48" selection-end-line="37" selection-end-column="48" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/language/English/strings.xml"> <entry file="file://$PROJECT_DIR$/resources/language/English/strings.xml">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="239" max-vertical-offset="1088"> <state vertical-scroll-proportion="0.0" vertical-offset="239" max-vertical-offset="1088">
@ -1019,13 +1125,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/Localization.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="2587" max-vertical-offset="4012">
<caret line="170" column="9" selection-start-line="170" selection-start-column="9" selection-end-line="170" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/searchers/TFileME.py"> <entry file="file://$PROJECT_DIR$/resources/searchers/TFileME.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.45095694" vertical-offset="1238" max-vertical-offset="2176"> <state vertical-scroll-proportion="0.45095694" vertical-offset="1238" max-vertical-offset="2176">
@ -1296,11 +1395,9 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/Player.py"> <entry file="file://$PROJECT_DIR$/Player.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="2.2561119" vertical-offset="0" max-vertical-offset="2210"> <state vertical-scroll-proportion="0.4371921" vertical-offset="1481" max-vertical-offset="3094">
<caret line="368" column="37" selection-start-line="368" selection-start-column="37" selection-end-line="368" selection-end-column="37" /> <caret line="246" column="36" selection-start-line="246" selection-start-column="36" selection-end-line="246" selection-end-column="36" />
<folding> <folding>
<element signature="e#1125#2841#0" expanded="false" />
<element signature="e#1176#1831#0" expanded="false" />
<element signature="e#1861#2039#0" expanded="false" /> <element signature="e#1861#2039#0" expanded="false" />
<element signature="e#2069#2247#0" expanded="false" /> <element signature="e#2069#2247#0" expanded="false" />
<element signature="e#2278#2289#0" expanded="false" /> <element signature="e#2278#2289#0" expanded="false" />
@ -1311,7 +1408,6 @@
<element signature="e#5731#6122#0" expanded="false" /> <element signature="e#5731#6122#0" expanded="false" />
<element signature="e#6161#6832#0" expanded="false" /> <element signature="e#6161#6832#0" expanded="false" />
<element signature="e#6864#9288#0" expanded="false" /> <element signature="e#6864#9288#0" expanded="false" />
<element signature="e#9337#10638#0" expanded="false" />
<element signature="e#10674#12765#0" expanded="false" /> <element signature="e#10674#12765#0" expanded="false" />
<element signature="e#12808#12915#0" expanded="false" /> <element signature="e#12808#12915#0" expanded="false" />
<element signature="e#12958#13041#0" expanded="false" /> <element signature="e#12958#13041#0" expanded="false" />
@ -1326,10 +1422,66 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/resources/language/Russian/strings.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="256" max-vertical-offset="1105">
<caret line="37" column="48" selection-start-line="37" selection-start-column="48" selection-end-line="37" selection-end-column="48" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Core.py"> <entry file="file://$PROJECT_DIR$/Core.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.33333334" vertical-offset="22758" max-vertical-offset="29750"> <state vertical-scroll-proportion="-16.321428" vertical-offset="4167" max-vertical-offset="6936">
<caret line="1369" column="45" selection-start-line="1369" selection-start-column="45" selection-end-line="1369" selection-end-column="45" /> <caret line="1080" column="53" selection-start-line="1080" selection-start-column="53" selection-end-line="1080" selection-end-column="53" />
<folding>
<element signature="e#24#781#1" expanded="false" />
<element signature="e#2318#2615#0" expanded="false" />
<element signature="e#2652#7286#0" expanded="false" />
<element signature="e#7325#19290#0" expanded="false" />
<element signature="e#19331#20097#0" expanded="false" />
<element signature="e#27207#30636#0" expanded="false" />
<element signature="e#30677#31904#0" expanded="false" />
<element signature="e#32004#36358#0" expanded="false" />
<element signature="e#36406#38470#0" expanded="false" />
<element signature="e#38512#39500#0" expanded="false" />
<element signature="e#39550#44164#0" expanded="false" />
<element signature="e#44229#50582#0" expanded="false" />
<element signature="e#50630#51365#0" expanded="false" />
<element signature="e#51429#53484#0" expanded="false" />
<element signature="e#53533#55492#0" expanded="false" />
<element signature="e#55649#56901#0" expanded="false" />
<element signature="e#56957#57374#0" expanded="false" />
<element signature="e#57416#57525#0" expanded="false" />
<element signature="e#57568#57688#0" expanded="false" />
<element signature="e#57738#57889#0" expanded="false" />
<element signature="e#65749#65788#0" expanded="false" />
<element signature="e#65837#66627#0" expanded="false" />
<element signature="e#66677#69477#0" expanded="false" />
<element signature="e#69522#70271#0" expanded="false" />
<element signature="e#70319#71815#0" expanded="false" />
<element signature="e#71860#72733#0" expanded="false" />
<element signature="e#72781#79001#0" expanded="false" />
<element signature="e#79049#80833#0" expanded="false" />
<element signature="e#80883#80979#0" expanded="false" />
<element signature="e#81042#81569#0" expanded="false" />
<element signature="e#81640#86928#0" expanded="false" />
<element signature="e#86972#87029#0" expanded="false" />
<element signature="e#87083#90432#0" expanded="false" />
<element signature="e#90487#92418#0" expanded="false" />
<element signature="e#92484#93104#0" expanded="false" />
<element signature="e#93147#94045#0" expanded="false" />
<element signature="e#94081#94870#0" expanded="false" />
<element signature="e#94912#95007#0" expanded="false" />
<element signature="e#95057#95205#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Localization.py">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-2.140394" vertical-offset="3234" max-vertical-offset="4046">
<caret line="88" column="23" selection-start-line="88" selection-start-column="23" selection-end-line="88" selection-end-column="23" />
<folding /> <folding />
</state> </state>
</provider> </provider>

33
Core.py
View File

@ -1023,8 +1023,8 @@ class Core:
menu, dirs = [], [] menu, dirs = [], []
contextMenustring = 'XBMC.RunPlugin(%s)' % ('%s?action=%s&url=%s') % (sys.argv[0], 'uTorrentBrowser', '%s') contextMenustring = 'XBMC.RunPlugin(%s)' % ('%s?action=%s&url=%s') % (sys.argv[0], 'uTorrentBrowser', '%s')
get = params.get
try: try:
get = params.get
apps = json.loads(urllib.unquote_plus(get("url"))) apps = json.loads(urllib.unquote_plus(get("url")))
except: except:
apps = {} apps = {}
@ -1046,16 +1046,12 @@ class Core:
return return
if (ind or ind == 0) and action in ('0', '3'): if (ind or ind == 0) and action in ('0', '3'):
Download().setprio_simple(hash, action, ind) Download().setprio_simple(hash, action, ind)
elif (ind or ind == 0) and action == 'play': elif action in ['play','copy']:
p, dllist, i, folder, filename = DownloadList, Download().listfiles(hash), 0, None, None p, dllist, i, folder, filename = DownloadList, Download().listfiles(hash), 0, None, None
for data in p: for data in p:
if data['id'] == hash: if data['id'] == hash:
folder = data['dir'] folder = data['dir']
break break
for data in dllist:
if data[2] == int(ind):
filename = data[0]
break
if isRemoteTorr(): if isRemoteTorr():
t_dir = self.__settings__.getSetting("torrent_dir") t_dir = self.__settings__.getSetting("torrent_dir")
torrent_replacement = self.__settings__.getSetting("torrent_replacement") torrent_replacement = self.__settings__.getSetting("torrent_replacement")
@ -1071,8 +1067,23 @@ class Core:
return return
#print str(folder)+str(torrent_dir)+str(torrent_replacement)+str(tdir) #print str(folder)+str(torrent_dir)+str(torrent_replacement)+str(tdir)
folder = folder.replace(t_dir, torrent_replacement) folder = folder.replace(t_dir, torrent_replacement)
filename = os.path.join(folder, filename) if (ind or ind == 0) and action == 'play':
xbmc.executebuiltin('xbmc.PlayMedia("' + filename.encode('utf-8') + '")') for data in dllist:
if data[2] == int(ind):
filename = data[0]
break
filename = os.path.join(folder, filename)
xbmc.executebuiltin('xbmc.PlayMedia("' + filename.encode('utf-8') + '")')
elif tdir and action == 'copy':
path=os.path.join(folder, tdir)
dirs, files=xbmcvfs.listdir(path)
for file in files:
if not xbmcvfs.exists(os.path.join(path,file)):
xbmcvfs.delete(os.path.join(path,file))
xbmcvfs.copy(os.path.join(path,file),os.path.join(folder,file))
i=i+1
showMessage(self.localize('Torrent-client Browser'), self.localize('Copied %d files!') % i, forced=True)
return
elif not tdir and action not in ('0', '3'): elif not tdir and action not in ('0', '3'):
Download().action_simple(action, hash) Download().action_simple(action, hash)
elif action in ('0', '3'): elif action in ('0', '3'):
@ -1127,7 +1138,7 @@ class Core:
link = json.dumps(app) link = json.dumps(app)
popup = [] popup = []
folder = True folder = True
actions = [('3', self.localize('Start All Files')), ('0', self.localize('Stop All Files'))] actions = [('3', self.localize('High Priority All Files')), ('copy', self.localize('Copy Files in Root')), ('0', self.localize('Skip All Files'))]
for a, title in actions: for a, title in actions:
app['action'] = a app['action'] = a
popup.append((self.localize(title), contextMenustring % urllib.quote_plus(json.dumps(app)))) popup.append((self.localize(title), contextMenustring % urllib.quote_plus(json.dumps(app))))
@ -1375,9 +1386,7 @@ class Core:
x=-1 x=-1
for i in myshows_files: for i in myshows_files:
x=x+1 x=x+1
fileTitle = '' fileTitle=myshows_sizes[str(i)]+myshows_cut[x]
fileTitle=myshows_sizes[str(i)]
fileTitle+=myshows_cut[x]
myshows_items.append(fileTitle) myshows_items.append(fileTitle)
myshows_items.append(unicode(myshows_lang(30400))) myshows_items.append(unicode(myshows_lang(30400)))
myshows_files.append('') myshows_files.append('')

View File

@ -83,7 +83,7 @@ dictionary = {
'Retry': 'Повторная попытка', 'Retry': 'Повторная попытка',
'%ds has left': 'Осталось %d попыток', '%ds has left': 'Осталось %d попыток',
'File failed to play! Do you want to RETRY and buffer more?': 'Ошибка проигрывания файла! Хотите предзагрузить больше и повторить?', 'File failed to play! Do you want to RETRY and buffer more?': 'Ошибка проигрывания файла! Хотите предзагрузить больше и повторить?',
'High Priority All Files': 'Высокий Приоритет Всем Файлам', 'High Priority Files': 'Высокий Приоритет Файлам',
'Skip All Files': 'Пропустить Все Файлы', 'Skip All Files': 'Пропустить Все Файлы',
'Start': 'Пуск', 'Start': 'Пуск',
'Stop': 'Стоп', 'Stop': 'Стоп',
@ -219,6 +219,8 @@ dictionary = {
'Stopped All!':'Все Остановлено!', 'Stopped All!':'Все Остановлено!',
'Stop All':'Остановить Все', 'Stop All':'Остановить Все',
'Keyboard':'Клавиатура', 'Keyboard':'Клавиатура',
'Copy Files in Root':'Скопировать файлы в Корень',
'Copied %d files!':'Скопировано %d файлов!',
} }
} }