@@ -171,8 +171,6 @@ def activateWindowCommand(cmd):
171171 elif 'mode=' in plugin .lower ():
172172 utils .log ("xbmc.executebuiltin(cmd)" )
173173 xbmc .executebuiltin (cmd )
174- # elif pluginArgs:
175- # xbmc.executebuiltin(cmd)
176174 else :
177175 utils .log ("xbmc.executebuiltin('RunPlugin(%s)' % plugin)" )
178176 xbmc .executebuiltin ('RunPlugin(%s)' % plugin )
@@ -184,37 +182,22 @@ def activateWindowCommand(cmd):
184182 folderpath = xbmc .getInfoLabel ('Container.FolderPath' )
185183 utils .log (f"***folder path: { folderpath } " )
186184 prop = xbmcgui .Window (10000 ).getProperty (property )
187- # import web_pdb; web_pdb.set_trace()
188185
189186 if plugin :
190187 utils .log ("Plugin Without Args Called..." )
191- # utils.log("Calling RungPlugin...")
192- # xbmc.executebuiltin('RunPlugin(%s)' % plugin)
193188 path = plugin .split (',' , 1 )[0 ]
194189
195190 if not prop :
196- import web_pdb ; web_pdb .set_trace ()
197- # xbmc.executebuiltin('Dialog.Close(busydialog)')
198191 xbmcgui .Window (10000 ).setProperty (property , folderpath )
199- # xbmcgui.executebuiltin(f"ActivateWindow(10025, {path}, return)")
200192 xbmcplugin .endOfDirectory (int (sys .argv [1 ]), cacheToDisc = True )
201193 xbmc .executebuiltin ('Container.Update(%s)' % path )
202194 else :
203- import web_pdb ; web_pdb .set_trace ()
204195 xbmcgui .Window (10000 ).clearProperty (property )
205- # path = prop.split(',', 1)[0]
206- # xbmc.executebuiltin('Container.Update(%s)' % path)
207- # xbmcplugin.endOfDirectory(int(sys.argv[1]), cacheToDisc=False)
208-
209- # xbmcgui.Action(ACTION_PARENT_DIR)
210- # xbmcplugin.endOfDirectory(int(sys.argv[1]), cacheToDisc=False)
211196 else : # Folder or Directory Resource
212- # import web_pdb; web_pdb.set_trace()
213197 path = os .path .normpath (cmd .split (',' , 2 )[1 ])
214198 utils .log ("Directory Resource Called..." )
215199
216200 if not prop :
217- utils .resetTotal_time ()
218201 xbmcgui .Window (10000 ).setProperty (property , path )
219202 xbmc .executebuiltin (f"Container.Update({ path } )" )
220203 xbmcplugin .endOfDirectory (int (sys .argv [1 ]), cacheToDisc = True )
0 commit comments