diff --git a/addon.xml b/addon.xml index 3091ef8..0cb0707 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@ diff --git a/changelog.txt b/changelog.txt index 48baae3..38c850a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +version 0.1.5 +- Settings \ Appearance \ Sort +- Move if Sort is off + version 0.1.0-4 - BIG CHANGES! EVERYTHING MUST BE RE-ADDED! SORRY! - New Folder Structure in addon_data\folders diff --git a/main.py b/main.py index 4557100..be7170a 100644 --- a/main.py +++ b/main.py @@ -173,7 +173,8 @@ def favourites(folder_path): url = match.group(2) if url: context_items = [] - context_items.append(("[COLOR yellow][B]%s[/B][/COLOR] " % 'Move', 'XBMC.RunPlugin(%s)' % (plugin.url_for(move_favourite, favourites_file=favourites_file, name=label, url=url)))) + if plugin.get_setting('sort') == 'false': + context_items.append(("[COLOR yellow][B]%s[/B][/COLOR] " % 'Move', 'XBMC.RunPlugin(%s)' % (plugin.url_for(move_favourite, favourites_file=favourites_file, name=label, url=url)))) context_items.append(("[COLOR yellow][B]%s[/B][/COLOR] " % 'Remove', 'XBMC.RunPlugin(%s)' % (plugin.url_for(remove_favourite, favourites_file=favourites_file, name=label, url=url)))) context_items.append(("[COLOR yellow][B]%s[/B][/COLOR] " % 'Rename', 'XBMC.RunPlugin(%s)' % (plugin.url_for(rename_favourite, favourites_file=favourites_file, name=label, fav=fav)))) context_items.append(("[COLOR yellow][B]%s[/B][/COLOR] " % 'Change Image', 'XBMC.RunPlugin(%s)' % (plugin.url_for(change_favourite_thumbnail, favourites_file=favourites_file, thumbnail=thumbnail, fav=fav))))