diff --git a/plugin.video.external.library/addon.xml b/plugin.video.external.library/addon.xml index bb2eb0c..454e056 100644 --- a/plugin.video.external.library/addon.xml +++ b/plugin.video.external.library/addon.xml @@ -1,6 +1,6 @@ @@ -20,7 +20,9 @@ icon.png https://github.com/romanvm/kodi.external.library - 1.0.0: Initial public release. + 1.0.1: Add show titles to recent episode item labels. + +1.0.0: Initial public release. true diff --git a/plugin.video.external.library/libs/content_type_handlers.py b/plugin.video.external.library/libs/content_type_handlers.py index 56274c6..7bd5e58 100644 --- a/plugin.video.external.library/libs/content_type_handlers.py +++ b/plugin.video.external.library/libs/content_type_handlers.py @@ -204,6 +204,11 @@ def get_plugin_category(self) -> str: def get_sort_methods(self) -> List[int]: return [] + def get_media_items(self) -> Iterable[Dict[str, Any]]: + for media_item in super().get_media_items(): + media_item['title'] = f'{media_item["showtitle"]} - {media_item["label"]}' + yield media_item + class MusicVideosHandler(PlayableContentMixin, BaseContentTypeHandler): mediatype = 'musicvideo'