diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 1ce559a3..59659754 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -408,6 +408,7 @@ Would you like to download additional artwork from FanArtTV? Sync will be slower! Sync when screensaver is deactivated Force Transcode Hi10P + Recently Added: Also show already watched episodes Log-out Plex Home User diff --git a/resources/language/German/strings.xml b/resources/language/German/strings.xml index 8d4634c4..d5f45fff 100644 --- a/resources/language/German/strings.xml +++ b/resources/language/German/strings.xml @@ -347,6 +347,7 @@ Zusätzliche Bilder von FanArtTV herunterladen? Die Synchronisierung wird länger dauern! Sync wenn Bildschirmschoner deaktiviert wird Hi10p Codec Transkodierung erzwingen + "Zuletzt hinzugefügt": gesehene Folgen anzeigen Plex Home Benutzer abmelden: diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 9461b278..144b6d37 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -1269,6 +1269,12 @@ def getRecentEpisodes(viewid, mediatype, tagname, limit): "limits": {"end": limit} } } + if utils.settings('ShowWatched') == 'false': + query['params']['filter'] = { + 'operator': "lessthan", + 'field': "playcount", + 'value': "1" + } result = xbmc.executeJSONRPC(json.dumps(query)) result = json.loads(result) try: diff --git a/resources/settings.xml b/resources/settings.xml index 1b8e119b..ea3866bb 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -135,6 +135,7 @@ +