X-Git-Url: https://git.phdru.name/?p=bookmarks_db.git;a=blobdiff_plain;f=Storage%2Fbkmk_stjson.py;h=ede71f38502aeba7314cabe05a44ce6d2a6586bc;hp=89ee94a631f4c16ba17a33659fc8237f6a26dad0;hb=61c2651bac82753c783545e633374a747a84c1cc;hpb=eeffe06ce42763abfff7797ab0ceeedbac4b1669 diff --git a/Storage/bkmk_stjson.py b/Storage/bkmk_stjson.py index 89ee94a..ede71f3 100644 --- a/Storage/bkmk_stjson.py +++ b/Storage/bkmk_stjson.py @@ -78,12 +78,20 @@ class storage_json(Walker): if uri.startswith('place:sort=8') \ or uri.startswith('place://sort=8'): value = 'MostVisited' + elif uri.startswith('place://redirectsMode'): + value = 'Most Visited' elif uri.startswith('place:folder=BOOKMARKS_MENU') \ or uri.startswith('place://folder=BOOKMARKS_MENU'): value = 'RecentlyBookmarked' + elif uri.startswith('place://folder'): + value = 'Recently Bookmarked' elif uri.startswith('place:sort=14') \ or uri.startswith('place://sort=14'): value = 'RecentTags' + elif uri.startswith('place://type'): + value = 'Recent Tags' + else: + raise ValueError('UNKNOWN place URI: %s' % uri) dict["annos"] = make_annos(value, name='Places/SmartBookmark') del dict["dateAdded"] del dict["lastModified"]