Skip to content

Commit 1b0361b

Browse files
committed
Matrix SF Version 2.2.1
1 parent f82115f commit 1b0361b

5 files changed

Lines changed: 12 additions & 20 deletions

File tree

addon.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="plugin.program.super.favourites" name="Super Favourites" version="2.1.0" provider-name="jmooremcc, spoyser">
2+
<addon id="plugin.program.super.favourites" name="Super Favourites" version="2.2.1" provider-name="jmooremcc, spoyser">
33
<requires>
44
<import addon="xbmc.python" version="3.0.0" />
55
<import addon="script.module.metahandler" optional="true" />
@@ -34,6 +34,9 @@
3434
</assets>
3535

3636
<news>
37+
2.2.1 February 2022
38+
- Minor Bug Fix
39+
3740
2.2.0 December 2021
3841
- Fixed Play From Here functionality
3942
- Fixed handling of local folders so that back button now works correctly

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[B][COLOR chartreuse]This file contains ALOT of useful information regarding the functionality of Super Favourites[CR]
22
PLEASE READ IT!![/COLOR][/B]
33

4+
[COLOR chartreuse]2.2.1 February 2022[/COLOR]
5+
- Minor Bug Fix
6+
47
[COLOR chartreuse]2.2.0 December 2021[/COLOR]
58
- Fixed Play From Here functionality
69
- Fixed handling of local folders so that back button now works correctly

default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,9 +804,9 @@ def iExplore(path=None):
804804
label, index = utils.addPrefixToLabel(index, label)
805805

806806
menu = []
807-
807+
808808
if isFile:
809-
menu.append((GETTEXT(30230), 'RunPlugin(%s?mode=%d&path=%s)' % (sys.argv[0], _PLAY_FOLDER, quote_plus(url))))
809+
menu.append((GETTEXT(30230), 'RunPlugin(%s?mode=%d&path=%s)' % (sys.argv[0], _PLAY_FOLDER_FROM_HERE, quote_plus(url))))
810810
menu.append((GETTEXT(30047), 'RunPlugin(%s?mode=%d&path=%s&label=%s&thumb=%s)' % (sys.argv[0], _COPY_PLAY_TO_SF_ITEM, quote_plus(url), quote_plus(title), quote_plus(file))))
811811
addDir(label, _PLAY_FILE, path=url, thumbnail=file, isFolder=False, menu=menu, infolabels={'plot':GETTEXT(30229) % title})
812812
else:

player.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

resources/language/resource.language.en_gb/strings.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,3 +1256,6 @@ msgctxt "#35046"
12561256
msgid " Show on Super Favourites context menu"
12571257
msgstr ""
12581258

1259+
msgctxt "#35047"
1260+
msgid " Download Cancelled"
1261+
msgstr ""

0 commit comments

Comments
 (0)