From 5caa5a617c9863ffe2376568f56994e67722ceaf Mon Sep 17 00:00:00 2001 From: quickmic Date: Mon, 16 Dec 2024 08:59:43 +0100 Subject: [PATCH] 11.1.10, review changelog for details --- addon.xml | 2 +- changelog.txt | 6 ++++++ core/common.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addon.xml b/addon.xml index 1353a7ae0..37720fc5c 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/changelog.txt b/changelog.txt index d9c714293..bee38829d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +11.1.10 +============= +fix photo nodes + + + 11.1.9 ============= fix delete homevideos via dyanmic nodes diff --git a/core/common.py b/core/common.py index 4dc24a1fc..9f6095a8b 100644 --- a/core/common.py +++ b/core/common.py @@ -170,7 +170,7 @@ def set_path_filename(Item, ServerId, MediaSource, isDynamic=False): if Item['Type'] in ('Photo', 'PhotoAlbum'): if 'Primary' in Item['ImageTags']: if 'Path' in Item: - Item['KodiFullPath'] = f"http://127.0.0.1:57342/picture/{ServerId}/p-{Item['Id']}-0-p-{Item['ImageTags']['Primary']}--{utils.get_Filename(Item['Path'], False)}|redirect-limit=1000" + Item['KodiFullPath'] = f"http://127.0.0.1:57342/picture/{ServerId}/p-{Item['Id']}-0-p-{Item['ImageTags']['Primary']}--{quote(utils.get_Filename(Item['Path'], ''))}|redirect-limit=1000" return Item['KodiFullPath'] = f"http://127.0.0.1:57342/picture/{ServerId}/p-{Item['Id']}-0-p-{Item['ImageTags']['Primary']}|redirect-limit=1000"