From b692f34d0799c181324eb385055a180222a13f29 Mon Sep 17 00:00:00 2001 From: TrueTechy Date: Tue, 5 Nov 2019 21:00:30 +0000 Subject: [PATCH] Remove Rotten Tomatoes --- .../language/resource.language.de_de/strings.po | 8 -------- .../language/resource.language.en_gb/strings.po | 8 -------- resources/language/resource.language.es/strings.po | 8 -------- .../language/resource.language.fr_fr/strings.po | 8 -------- .../language/resource.language.it_it/strings.po | 8 -------- resources/language/resource.language.ja/strings.po | 8 -------- resources/language/resource.language.kk/strings.po | 8 -------- resources/language/resource.language.ko/strings.po | 8 -------- .../language/resource.language.nb_NO/strings.po | 8 -------- .../language/resource.language.nl_nl/strings.po | 8 -------- .../language/resource.language.pl_pl/strings.po | 8 -------- .../language/resource.language.pt_BR/strings.po | 8 -------- .../language/resource.language.pt_PT/strings.po | 8 -------- resources/language/resource.language.ru/strings.po | 8 -------- resources/language/resource.language.sk/strings.po | 8 -------- .../language/resource.language.zh_Hans/strings.po | 8 -------- .../language/resource.language.zh_cn/strings.po | 8 -------- resources/lib/objects/movies.py | 3 --- resources/lib/setup.py | 13 ------------- resources/settings.xml | 1 - 20 files changed, 153 deletions(-) diff --git a/resources/language/resource.language.de_de/strings.po b/resources/language/resource.language.de_de/strings.po index 40be370e..deb15771 100644 --- a/resources/language/resource.language.de_de/strings.po +++ b/resources/language/resource.language.de_de/strings.po @@ -1014,14 +1014,6 @@ msgstr "" "'Kodi Companion' beschleunigt die Erst Syncronisierung. Weitere Sync's " "werden vom Server ausgelöst." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Rotten Tomatoes Bewertungen syncronisieren" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "Sollen Rotten Tomatoes Bewertungen syncronisiert werden?" - msgctxt "#33189" msgid "" "The database version detected is unsupported. Syncing may not work, proceed " diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index b5f81fbf..aaa9f939 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -886,14 +886,6 @@ 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 "" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.es/strings.po b/resources/language/resource.language.es/strings.po index e09377e2..f366dab7 100644 --- a/resources/language/resource.language.es/strings.po +++ b/resources/language/resource.language.es/strings.po @@ -958,14 +958,6 @@ msgstr "" "Kodi Companion acelera la sincronización inicial. Otras sincronizaciones se " "lanzan mediante eventos del servidor." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Sincronizar calificaciones de Rotten Tomatoes" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "¿Te gustaría sincronizar las calificaciones de Rotten Tomatoes?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "¿Reiniciar Jellyfin para Kodi para aplicar este cambio?" diff --git a/resources/language/resource.language.fr_fr/strings.po b/resources/language/resource.language.fr_fr/strings.po index 36065ec0..59000505 100644 --- a/resources/language/resource.language.fr_fr/strings.po +++ b/resources/language/resource.language.fr_fr/strings.po @@ -1013,14 +1013,6 @@ msgid "" " server events." msgstr "" -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.it_it/strings.po b/resources/language/resource.language.it_it/strings.po index 7650cfad..22d52989 100644 --- a/resources/language/resource.language.it_it/strings.po +++ b/resources/language/resource.language.it_it/strings.po @@ -1007,14 +1007,6 @@ msgstr "" "Kodi companion accelera la sincronizzazione all'avvio. Altre " "sincronizzazioni sono attivate da eventi del server." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Sincronizza valutazioni di Rotten Tomatoes" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "Vorresti sincronizzare le valutazioni di Rotten Tomatoes?" - msgctxt "#33189" msgid "" "The database version detected is unsupported. Syncing may not work, proceed " diff --git a/resources/language/resource.language.ja/strings.po b/resources/language/resource.language.ja/strings.po index 1f0f2a3a..42b2c35c 100644 --- a/resources/language/resource.language.ja/strings.po +++ b/resources/language/resource.language.ja/strings.po @@ -894,14 +894,6 @@ 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 "" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.kk/strings.po b/resources/language/resource.language.kk/strings.po index ff45b7fa..0b645a26 100644 --- a/resources/language/resource.language.kk/strings.po +++ b/resources/language/resource.language.kk/strings.po @@ -886,14 +886,6 @@ 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 "" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.ko/strings.po b/resources/language/resource.language.ko/strings.po index bd07fd65..24c56afc 100644 --- a/resources/language/resource.language.ko/strings.po +++ b/resources/language/resource.language.ko/strings.po @@ -900,14 +900,6 @@ msgctxt "#33186" msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgstr "Kodi 컴패니언은 시작시 동기화를 빠르게 해줍니다. 다른 동기화는 서버 이벤트에 의해 발생합니다." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Rotten Tomatoes 평점 동기화" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "Rotten Tomatoes 평점을 동기화하시겠습니까?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "변경사항을 적용하기위해 Jellyfin for Kodi를 재시작하시겠습니까?" diff --git a/resources/language/resource.language.nb_NO/strings.po b/resources/language/resource.language.nb_NO/strings.po index 1b6ce9d3..906348e7 100644 --- a/resources/language/resource.language.nb_NO/strings.po +++ b/resources/language/resource.language.nb_NO/strings.po @@ -946,14 +946,6 @@ msgstr "" "Kodi companion får oppstartssynkroniseringen til å gå raskere. Andre " "synkroniseringer startes av serverhendelser." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Synkroniser vurderinger fra Rotten Tomatoes" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "Vil du synkronisere vurderinger fra Rotten Tomatoes?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.nl_nl/strings.po b/resources/language/resource.language.nl_nl/strings.po index 041dcdff..2916cde9 100644 --- a/resources/language/resource.language.nl_nl/strings.po +++ b/resources/language/resource.language.nl_nl/strings.po @@ -1002,14 +1002,6 @@ msgstr "" "De Kodi companion maakt het opstarten van de synchronisatie sneller. Andere " "synchronisaties worden aangeroepen door server voorvallen." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Rotten Tomatoes ratings synchroniseren" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "Rotten Tomatoes ratings synchroniseren?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "Jellyfin for Kodi opnieuw opstarten om de wijziging toe te passen?" diff --git a/resources/language/resource.language.pl_pl/strings.po b/resources/language/resource.language.pl_pl/strings.po index 90ba2599..a897c06d 100644 --- a/resources/language/resource.language.pl_pl/strings.po +++ b/resources/language/resource.language.pl_pl/strings.po @@ -994,14 +994,6 @@ msgstr "" "Wtyczka Kodi Companion przyspiesza synchronizację na starcie. Zdarzenia na " "serwerze także wywołują synchronizację." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Synchronizuj ocenę z Rotten Tomatoes" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "Czy synchronizować ocenę z Rotten Tomatoes?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "Zrestartować Jellyfin dla Kodi by zaaplikować tę zmianę?" diff --git a/resources/language/resource.language.pt_BR/strings.po b/resources/language/resource.language.pt_BR/strings.po index c780f8ea..4d1bcec8 100644 --- a/resources/language/resource.language.pt_BR/strings.po +++ b/resources/language/resource.language.pt_BR/strings.po @@ -898,14 +898,6 @@ 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 "" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.pt_PT/strings.po b/resources/language/resource.language.pt_PT/strings.po index 19438225..27d9556a 100644 --- a/resources/language/resource.language.pt_PT/strings.po +++ b/resources/language/resource.language.pt_PT/strings.po @@ -889,14 +889,6 @@ 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 "" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.ru/strings.po b/resources/language/resource.language.ru/strings.po index 2f2f5b61..5a243713 100644 --- a/resources/language/resource.language.ru/strings.po +++ b/resources/language/resource.language.ru/strings.po @@ -924,14 +924,6 @@ msgstr "" "Kodi companion ускоряет синхронизацию при запуске. Другие синхронизации " "запускаются серверными событиями." -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "Синхронизировать рейтинги Rotten Tomatoes" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "Хотите синхронизировать рейтинги Rotten Tomatoes?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "Перезапустить Jellyfin для Kodi, чтобы применить это изменение?" diff --git a/resources/language/resource.language.sk/strings.po b/resources/language/resource.language.sk/strings.po index 4b8f5b46..330d08a9 100644 --- a/resources/language/resource.language.sk/strings.po +++ b/resources/language/resource.language.sk/strings.po @@ -892,14 +892,6 @@ 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 "" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "" diff --git a/resources/language/resource.language.zh_Hans/strings.po b/resources/language/resource.language.zh_Hans/strings.po index 96af1e05..f2ef7a8c 100644 --- a/resources/language/resource.language.zh_Hans/strings.po +++ b/resources/language/resource.language.zh_Hans/strings.po @@ -891,14 +891,6 @@ msgctxt "#33186" msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgstr "Kodi伴侣将加速启动时的同步。其他的同步将由服务器事件触发。" -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "同步烂番茄评分" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "你想要同步烂番茄评分吗?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "重启Jellyfin for Kodi以应用更改?" diff --git a/resources/language/resource.language.zh_cn/strings.po b/resources/language/resource.language.zh_cn/strings.po index 7e056b09..dd186e42 100644 --- a/resources/language/resource.language.zh_cn/strings.po +++ b/resources/language/resource.language.zh_cn/strings.po @@ -886,14 +886,6 @@ msgctxt "#33186" msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgstr "Kodi伴侣加快启动时同步。其它同步由服务器时间触发。" -msgctxt "#33187" -msgid "Sync Rotten Tomatoes ratings" -msgstr "同步烂番茄评分" - -msgctxt "#33188" -msgid "Would you like to sync Rotten Tomatoes ratings?" -msgstr "您是否想同步烂番茄评分?" - msgctxt "#33191" msgid "Restart Jellyfin for Kodi to apply this change?" msgstr "重启Jellyfin for Kodi以施用变更?" diff --git a/resources/lib/objects/movies.py b/resources/lib/objects/movies.py index 748ecc61..76dd7fd4 100644 --- a/resources/lib/objects/movies.py +++ b/resources/lib/objects/movies.py @@ -61,9 +61,6 @@ class Movies(KodiDb): update = False LOG.info("MovieId %s missing from kodi. repairing the entry.", obj['MovieId']) - if not settings('syncRottenTomatoes.bool'): - obj['CriticRating'] = None - obj['Path'] = API.get_file_path(obj['Path']) obj['LibraryId'] = library['Id'] obj['LibraryName'] = library['Name'] diff --git a/resources/lib/setup.py b/resources/lib/setup.py index b6a5397a..32956989 100644 --- a/resources/lib/setup.py +++ b/resources/lib/setup.py @@ -77,15 +77,7 @@ class Setup(object): LOG.info("Artwork caching: %s", settings('enableTextureCache.bool')) self._is_empty_shows() LOG.info("Sync empty shows: %s", settings('syncEmptyShows.bool')) - self._is_rotten_tomatoes() - LOG.info("Sync rotten tomatoes: %s", settings('syncRottenTomatoes.bool')) - """ - if compare_version(cached or minimum, "3.0.24") <= 0: - - self._is_rotten_tomatoes() - LOG.info("Sync rotten tomatoes: %s", settings('syncRottenTomatoes.bool')) - """ # Setup completed settings('MinimumSetup', minimum) @@ -115,11 +107,6 @@ class Setup(object): value = dialog("yesno", heading="{jellyfin}", line1=_(33100)) settings('syncEmptyShows.bool', value) - def _is_rotten_tomatoes(self): - - value = dialog("yesno", heading="{jellyfin}", line1=_(33188)) - settings('syncRottenTomatoes.bool', value) - def _is_music(self): value = dialog("yesno", heading="{jellyfin}", line1=_(33039)) diff --git a/resources/settings.xml b/resources/settings.xml index 5d6f630d..5ef8b7bf 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -32,7 +32,6 @@ -