Created
October 13, 2019 08:53
-
-
Save henryjfry/3f39808a9d259b13941fd5960f8ee972 to your computer and use it in GitHub Desktop.
Openmeta - latest releases - ~/osmc/.kodi/addons/plugin.video.openmeta/resources/lib/Trakt.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@plugin.cached(TTL=60, cache='Trakt') | |
def get_latest_releases_movies(): | |
return call_trakt('users/giladg/lists/latest-releases/items?extended=full', with_auth=False) | |
@plugin.cached(TTL=60, cache='Trakt') | |
def get_latest_4k_releases_movies(): | |
return call_trakt('users/giladg/lists/latest-4k-releases/items?extended=full', with_auth=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment