Browse Source

Add ClearAllCache and ClearMetaCache to Tools navigator

I-A-C 9 months ago
parent
commit
1ae4559ffe

+ 8
- 0
plugin.video.exodusredux/default.py View File

@@ -153,6 +153,14 @@ elif action == 'clearCache':
153 153
 elif action == 'clearCacheSearch':
154 154
     from resources.lib.indexers import navigator
155 155
     navigator.navigator().clearCacheSearch()
156
+
157
+elif action == 'clearAllCache':
158
+    from resources.lib.indexers import navigator
159
+    navigator.navigator().clearCacheAll()
160
+
161
+elif action == 'clearMetaCache':
162
+    from resources.lib.indexers import navigator
163
+    navigator.navigator().clearCacheMeta()
156 164
     
157 165
 elif action == 'infoCheck':
158 166
     from resources.lib.indexers import navigator

+ 142
- 18
plugin.video.exodusredux/resources/language/English (US)/strings.po View File

@@ -220,23 +220,23 @@ msgid "[B]SETTINGS[/B] : Providers"
220 220
 msgstr ""
221 221
 
222 222
 msgctxt "#32048"
223
-msgid "[B]Exodus Redux[/B] : Downloads"
223
+msgid "[B]EXODUS REDUX[/B] : Downloads"
224 224
 msgstr ""
225 225
 
226 226
 msgctxt "#32049"
227
-msgid "[B]Exodus Redux[/B] : Viewtypes"
227
+msgid "[B]EXODUS REDUX[/B] : Viewtypes"
228 228
 msgstr ""
229 229
 
230 230
 msgctxt "#32050"
231
-msgid "[B]Exodus Redux[/B] : Clear providers..."
231
+msgid "[B]EXODUS REDUX[/B] : Clear providers..."
232 232
 msgstr ""
233 233
 
234 234
 msgctxt "#32051"
235
-msgid "[B]Exodus Redux[/B] : Clear metadata..."
235
+msgid "[B]EXODUS REDUX[/B] : Clear metadata..."
236 236
 msgstr ""
237 237
 
238 238
 msgctxt "#32052"
239
-msgid "[B]Exodus Redux[/B] : Clear cache..."
239
+msgid "[B]EXODUS REDUX[/B] : Clear cache..."
240 240
 msgstr ""
241 241
 
242 242
 msgctxt "#32053"
@@ -776,7 +776,7 @@ msgid "Are you sure?"
776 776
 msgstr ""
777 777
 
778 778
 msgctxt "#32556"
779
-msgid "[B]Exodus Redux[/B] : Library"
779
+msgid "[B]EXODUS REDUX[/B] : Library"
780 780
 msgstr ""
781 781
 
782 782
 msgctxt "#32557"
@@ -784,15 +784,15 @@ msgid "[B]LIBRARY[/B] : Settings"
784 784
 msgstr ""
785 785
 
786 786
 msgctxt "#32558"
787
-msgid "[B]Exodus Redux[/B] : Update library..."
787
+msgid "[B]EXODUS REDUX[/B] : Update library..."
788 788
 msgstr ""
789 789
 
790 790
 msgctxt "#32559"
791
-msgid "[B]Exodus Redux[/B] : Movie folder..."
791
+msgid "[B]EXODUS REDUX[/B] : Movie folder..."
792 792
 msgstr ""
793 793
 
794 794
 msgctxt "#32560"
795
-msgid "[B]Exodus Redux[/B] : TV folder..."
795
+msgid "[B]EXODUS REDUX[/B] : TV folder..."
796 796
 msgstr ""
797 797
 
798 798
 msgctxt "#32561"
@@ -823,22 +823,146 @@ msgctxt "#32571"
823 823
 msgid "Hide movies in cinema"
824 824
 msgstr ""
825 825
 
826
-msgctxt "#32372"
827
-msgid "When playback ends..."
826
+msgctxt "#32572"
827
+msgid "Protected Link. Please enter account credentials in the settings."
828 828
 msgstr ""
829 829
 
830
-msgctxt "#32373"
831
-msgid "Force container refresh"
830
+msgctxt "#32580"
831
+msgid "Films/TV Movies"
832 832
 msgstr ""
833 833
 
834
-msgctxt "#32374"
835
-msgid "Enable Debug"
834
+msgctxt "#32581"
835
+msgid "Results Limit"
836 836
 msgstr ""
837 837
 
838
-msgctxt "#32580"
839
-msgid "Films/TV Movies"
838
+msgctxt "#32582"
839
+msgid "Personal API keys provide quicker API responses."
840
+msgstr ""
841
+
842
+msgctxt "#32583"
843
+msgid "Become a VIP member for many benefits at: https://fanart.tv/vip"
844
+msgstr ""
845
+
846
+msgctxt "#32584"
847
+msgid "Sort order for Trakt Watched Progress"
848
+msgstr ""
849
+
850
+msgctxt "#32585"
851
+msgid "Recently aired"
852
+msgstr ""
853
+
854
+msgctxt "#32586"
855
+msgid "Recently watched"
856
+msgstr ""
857
+
858
+msgctxt "#32587"
859
+msgid "Show Extra Source Info"
860
+msgstr ""
861
+
862
+msgctxt "#32588"
863
+msgid "Premium Source Identifier Color"
864
+msgstr ""
865
+
866
+msgctxt "#32589"
867
+msgid "Blue"
868
+msgstr ""
869
+
870
+msgctxt "#32590"
871
+msgid "Red"
872
+msgstr ""
873
+
874
+msgctxt "#32591"
875
+msgid "Yellow"
876
+msgstr ""
877
+
878
+msgctxt "#32592"
879
+msgid "Deep Pink"
880
+msgstr ""
881
+
882
+msgctxt "#32593"
883
+msgid "Cyan"
884
+msgstr ""
885
+
886
+msgctxt "#32594"
887
+msgid "Lawn Green"
888
+msgstr ""
889
+
890
+msgctxt "#32595"
891
+msgid "Gold"
892
+msgstr ""
893
+
894
+msgctxt "#32596"
895
+msgid "Magenta"
896
+msgstr ""
897
+
898
+msgctxt "#32597"
899
+msgid "Yellow Green"
900
+msgstr ""
901
+
902
+msgctxt "#32598"
903
+msgid "No Color"
904
+msgstr ""
905
+
906
+msgctxt "#32599"
907
+msgid "Getting genre information from Trakt"
908
+msgstr ""
909
+
910
+msgctxt "#32600"
911
+msgid "Preparing sources"
912
+msgstr ""
913
+
914
+msgctxt "#32601"
915
+msgid "Total"
916
+msgstr ""
917
+
918
+msgctxt "#32602"
919
+msgid "Waiting for"
920
+msgstr ""
921
+
922
+msgctxt "#32603"
923
+msgid "New search..."
924
+msgstr ""
925
+
926
+msgctxt "#32604"
927
+msgid "[B]EXODUS REDUX[/B] : Clear search history..."
928
+msgstr ""
929
+
930
+msgctxt "#32605"
931
+msgid "Click to clear search history"
932
+msgstr ""
933
+
934
+msgctxt "#32606"
935
+msgid "Prem"
936
+msgstr ""
937
+
938
+msgctxt "#32607"
939
+msgid "Normal"
840 940
 msgstr ""
841 941
 
842 942
 msgctxt "#32608"
843
-msgid "Auto Updating Trakt Library"
943
+msgid "Auto Syncing Trakt Library"
944
+msgstr ""
945
+
946
+msgctxt "#32613"
947
+msgid "[B]EXODUS REDUX[/B] : Clear All Cache..."
948
+msgstr ""
949
+
950
+msgctxt "#32614"
951
+msgid "[B]EXODUS REDUX[/B] : Clear Meta Cache..."
952
+msgstr ""
953
+
954
+msgctxt "#32616"
955
+msgid "Debugging"
956
+msgstr ""
957
+
958
+msgctxt "#32617"
959
+msgid "Debug Log"
960
+msgstr ""
961
+
962
+msgctxt "#32618"
963
+msgid "Kodi Log"
964
+msgstr ""
965
+
966
+msgctxt "#32619"
967
+msgid "Addon Log"
844 968
 msgstr ""

+ 12
- 4
plugin.video.exodusredux/resources/language/English/strings.po View File

@@ -220,7 +220,7 @@ msgid "[B]SETTINGS[/B] : Providers"
220 220
 msgstr ""
221 221
 
222 222
 msgctxt "#32048"
223
-msgid "[B]Exodus Redux[/B] : Downloads"
223
+msgid "[B]EXODUS REDUX[/B] : Downloads"
224 224
 msgstr ""
225 225
 
226 226
 msgctxt "#32049"
@@ -784,15 +784,15 @@ msgid "[B]LIBRARY[/B] : Settings"
784 784
 msgstr ""
785 785
 
786 786
 msgctxt "#32558"
787
-msgid "[B]Exodus Redux[/B] : Update library..."
787
+msgid "[B]EXODUS REDUX[/B] : Update library..."
788 788
 msgstr ""
789 789
 
790 790
 msgctxt "#32559"
791
-msgid "[B]Exodus Redux[/B] : Movie folder..."
791
+msgid "[B]EXODUS REDUX[/B] : Movie folder..."
792 792
 msgstr ""
793 793
 
794 794
 msgctxt "#32560"
795
-msgid "[B]Exodus Redux[/B] : TV folder..."
795
+msgid "[B]EXODUS REDUX[/B] : TV folder..."
796 796
 msgstr ""
797 797
 
798 798
 msgctxt "#32561"
@@ -943,6 +943,14 @@ msgctxt "#32608"
943 943
 msgid "Auto Syncing Trakt Library"
944 944
 msgstr ""
945 945
 
946
+msgctxt "#32613"
947
+msgid "[B]EXODUS REDUX[/B] : Clear All Cache..."
948
+msgstr ""
949
+
950
+msgctxt "#32614"
951
+msgid "[B]EXODUS REDUX[/B] : Clear Meta Cache..."
952
+msgstr ""
953
+
946 954
 msgctxt "#32616"
947 955
 msgid "Debugging"
948 956
 msgstr ""

+ 0
- 1
plugin.video.exodusredux/resources/settings.xml View File

@@ -119,7 +119,6 @@
119 119
         <setting id="furk.api" type="text" label="Furk API Key" default="" />
120 120
         <setting id="furk.mod.level" type="labelenum" label="Set Furk Moderation Level" default="Yes" values="No|Yes|Full" />
121 121
         <setting id="furk.limit" label="Limit results" type="slider" default="25" range="5,5,200" option="int" />
122
-        <setting id="furk.auto.resolve" label="Auto Resolve Furk Packs" type="labelenum" default="Both" values="Both|Neither|Movies Only|Episodes Only"/>
123 122
         <setting type="sep" />
124 123
         <setting type="lsep" label="segos.es" />
125 124
         <setting type="lsep" label="Need for more sources in PL scrapper segos" />

+ 4
- 2
script.module.exodusredux/lib/resources/lib/indexers/navigator.py View File

@@ -243,6 +243,8 @@ class navigator:
243 243
         self.addDirectoryItem(32050, 'clearSources', 'tools.png', 'DefaultAddonProgram.png')
244 244
         self.addDirectoryItem(32604, 'clearCacheSearch', 'tools.png', 'DefaultAddonProgram.png')
245 245
         self.addDirectoryItem(32052, 'clearCache', 'tools.png', 'DefaultAddonProgram.png')
246
+        self.addDirectoryItem(32614, 'clearMetaCache', 'tools.png', 'DefaultAddonProgram.png')
247
+        self.addDirectoryItem(32613, 'clearAllCache', 'tools.png', 'DefaultAddonProgram.png')
246 248
         self.addDirectoryItem(32073, 'authTrakt', 'trakt.png', 'DefaultAddonProgram.png')
247 249
 
248 250
         self.endDirectory()
@@ -358,7 +360,7 @@ class navigator:
358 360
             control.setSetting('tvsearch', '')
359 361
             control.setSetting('moviesearch', '')
360 362
             control.refresh()
361
-            
363
+
362 364
     def clearCacheAll(self):
363 365
         control.idle()
364 366
         yes = control.yesnoDialog(control.lang(32056).encode('utf-8'), '', '')
@@ -366,7 +368,7 @@ class navigator:
366 368
         from resources.lib.modules import cache
367 369
         cache.cache_clear_all()
368 370
         control.infoDialog(control.lang(32057).encode('utf-8'), sound=True, icon='INFO')
369
-            
371
+
370 372
     def addDirectoryItem(self, name, query, thumb, icon, context=None, queue=False, isAction=True, isFolder=True):
371 373
         try: name = control.lang(name).encode('utf-8')
372 374
         except: pass

Loading…
Cancel
Save