From 52192ce123b7105fbc0432f4acc4cf7ac28654a3 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 2 Dec 2018 01:37:54 -0600 Subject: [PATCH] Add optional rotten tomatoes option --- resources/language/resource.language.en_gb/strings.po | 4 ++++ resources/lib/helper/wrapper.py | 3 +++ resources/settings.xml | 1 + 3 files changed, 8 insertions(+) diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 723efdd3..a5c088bd 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -913,3 +913,7 @@ msgstr "" msgctxt "#33186" msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgstr "" + +msgctxt "#33187" +msgid "Sync rotten tomatoes ratings" +msgstr "" diff --git a/resources/lib/helper/wrapper.py b/resources/lib/helper/wrapper.py index e0acc176..7747ff6e 100644 --- a/resources/lib/helper/wrapper.py +++ b/resources/lib/helper/wrapper.py @@ -118,6 +118,9 @@ def library_check(): ''' def decorator(func): def wrapper(self, item, *args, **kwargs): + + ''' TODO: Rethink this one... songs and albums cannot be found by library. expensive. + ''' from database import get_sync if kwargs.get('library') is None: diff --git a/resources/settings.xml b/resources/settings.xml index 657a44aa..1008d65a 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -35,6 +35,7 @@ +