Merge pull request #138 from TrueTechy/remove-rotten-tomato

Remove Rotten Tomatoes
This commit is contained in:
Odd Stråbø 2019-11-06 12:49:53 +01:00 committed by GitHub
commit ebf7c6c4cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 0 additions and 153 deletions

View file

@ -1014,14 +1014,6 @@ msgstr ""
"'Kodi Companion' beschleunigt die Erst Syncronisierung. Weitere Sync's " "'Kodi Companion' beschleunigt die Erst Syncronisierung. Weitere Sync's "
"werden vom Server ausgelöst." "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" msgctxt "#33189"
msgid "" msgid ""
"The database version detected is unsupported. Syncing may not work, proceed " "The database version detected is unsupported. Syncing may not work, proceed "

View file

@ -886,14 +886,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "" msgstr ""
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr ""
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr ""
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -958,14 +958,6 @@ msgstr ""
"Kodi Companion acelera la sincronización inicial. Otras sincronizaciones se " "Kodi Companion acelera la sincronización inicial. Otras sincronizaciones se "
"lanzan mediante eventos del servidor." "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" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "¿Reiniciar Jellyfin para Kodi para aplicar este cambio?" msgstr "¿Reiniciar Jellyfin para Kodi para aplicar este cambio?"

View file

@ -1013,14 +1013,6 @@ msgid ""
" server events." " server events."
msgstr "" msgstr ""
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr ""
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr ""
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -1007,14 +1007,6 @@ msgstr ""
"Kodi companion accelera la sincronizzazione all'avvio. Altre " "Kodi companion accelera la sincronizzazione all'avvio. Altre "
"sincronizzazioni sono attivate da eventi del server." "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" msgctxt "#33189"
msgid "" msgid ""
"The database version detected is unsupported. Syncing may not work, proceed " "The database version detected is unsupported. Syncing may not work, proceed "

View file

@ -894,14 +894,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "" msgstr ""
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr ""
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr ""
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -886,14 +886,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "" msgstr ""
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr ""
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr ""
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -900,14 +900,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "Kodi 컴패니언은 시작시 동기화를 빠르게 해줍니다. 다른 동기화는 서버 이벤트에 의해 발생합니다." 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" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "변경사항을 적용하기위해 Jellyfin for Kodi를 재시작하시겠습니까?" msgstr "변경사항을 적용하기위해 Jellyfin for Kodi를 재시작하시겠습니까?"

View file

@ -946,14 +946,6 @@ msgstr ""
"Kodi companion får oppstartssynkroniseringen til å gå raskere. Andre " "Kodi companion får oppstartssynkroniseringen til å gå raskere. Andre "
"synkroniseringer startes av serverhendelser." "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" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -1002,14 +1002,6 @@ msgstr ""
"De Kodi companion maakt het opstarten van de synchronisatie sneller. Andere " "De Kodi companion maakt het opstarten van de synchronisatie sneller. Andere "
"synchronisaties worden aangeroepen door server voorvallen." "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" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "Jellyfin for Kodi opnieuw opstarten om de wijziging toe te passen?" msgstr "Jellyfin for Kodi opnieuw opstarten om de wijziging toe te passen?"

View file

@ -994,14 +994,6 @@ msgstr ""
"Wtyczka Kodi Companion przyspiesza synchronizację na starcie. Zdarzenia na " "Wtyczka Kodi Companion przyspiesza synchronizację na starcie. Zdarzenia na "
"serwerze także wywołują synchronizację." "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" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "Zrestartować Jellyfin dla Kodi by zaaplikować tę zmianę?" msgstr "Zrestartować Jellyfin dla Kodi by zaaplikować tę zmianę?"

View file

@ -898,14 +898,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "" msgstr ""
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr ""
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr ""
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -889,14 +889,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "" msgstr ""
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr ""
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr ""
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -924,14 +924,6 @@ msgstr ""
"Kodi companion ускоряет синхронизацию при запуске. Другие синхронизации " "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" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "Перезапустить Jellyfin для Kodi, чтобы применить это изменение?" msgstr "Перезапустить Jellyfin для Kodi, чтобы применить это изменение?"

View file

@ -892,14 +892,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "" msgstr ""
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr ""
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr ""
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "" msgstr ""

View file

@ -891,14 +891,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "Kodi伴侣将加速启动时的同步。其他的同步将由服务器事件触发。" msgstr "Kodi伴侣将加速启动时的同步。其他的同步将由服务器事件触发。"
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr "同步烂番茄评分"
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr "你想要同步烂番茄评分吗?"
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "重启Jellyfin for Kodi以应用更改" msgstr "重启Jellyfin for Kodi以应用更改"

View file

@ -886,14 +886,6 @@ msgctxt "#33186"
msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events." msgid "The Kodi companion speeds up the start up sync. Other syncs are triggered by server events."
msgstr "Kodi伴侣加快启动时同步。其它同步由服务器时间触发。" msgstr "Kodi伴侣加快启动时同步。其它同步由服务器时间触发。"
msgctxt "#33187"
msgid "Sync Rotten Tomatoes ratings"
msgstr "同步烂番茄评分"
msgctxt "#33188"
msgid "Would you like to sync Rotten Tomatoes ratings?"
msgstr "您是否想同步烂番茄评分?"
msgctxt "#33191" msgctxt "#33191"
msgid "Restart Jellyfin for Kodi to apply this change?" msgid "Restart Jellyfin for Kodi to apply this change?"
msgstr "重启Jellyfin for Kodi以施用变更" msgstr "重启Jellyfin for Kodi以施用变更"

View file

@ -61,9 +61,6 @@ class Movies(KodiDb):
update = False update = False
LOG.info("MovieId %s missing from kodi. repairing the entry.", obj['MovieId']) 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['Path'] = API.get_file_path(obj['Path'])
obj['LibraryId'] = library['Id'] obj['LibraryId'] = library['Id']
obj['LibraryName'] = library['Name'] obj['LibraryName'] = library['Name']

View file

@ -77,15 +77,7 @@ class Setup(object):
LOG.info("Artwork caching: %s", settings('enableTextureCache.bool')) LOG.info("Artwork caching: %s", settings('enableTextureCache.bool'))
self._is_empty_shows() self._is_empty_shows()
LOG.info("Sync empty shows: %s", settings('syncEmptyShows.bool')) 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 # Setup completed
settings('MinimumSetup', minimum) settings('MinimumSetup', minimum)
@ -115,11 +107,6 @@ class Setup(object):
value = dialog("yesno", heading="{jellyfin}", line1=_(33100)) value = dialog("yesno", heading="{jellyfin}", line1=_(33100))
settings('syncEmptyShows.bool', value) settings('syncEmptyShows.bool', value)
def _is_rotten_tomatoes(self):
value = dialog("yesno", heading="{jellyfin}", line1=_(33188))
settings('syncRottenTomatoes.bool', value)
def _is_music(self): def _is_music(self):
value = dialog("yesno", heading="{jellyfin}", line1=_(33039)) value = dialog("yesno", heading="{jellyfin}", line1=_(33039))

View file

@ -32,7 +32,6 @@
<setting label="30157" id="enableCoverArt" type="bool" default="true" /> <setting label="30157" id="enableCoverArt" type="bool" default="true" />
<setting label="33116" id="compressArt" type="bool" default="false" /> <setting label="33116" id="compressArt" type="bool" default="false" />
<setting label="30508" id="syncEmptyShows" type="bool" default="false" /> <setting label="30508" id="syncEmptyShows" type="bool" default="false" />
<setting label="33187" id="syncRottenTomatoes" type="bool" default="true" />
<setting id="enableMusic" visible="false" default="false" /> <setting id="enableMusic" visible="false" default="false" />
</category> </category>