Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor out Content in favor of Movies, Programs and Episodes #109

Merged
merged 7 commits into from
Oct 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ disable=
old-style-class,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-locals,
too-many-public-methods,
12 changes: 12 additions & 0 deletions resources/language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ msgctxt "#30018"
msgid "Show your personal favourites"
msgstr ""

msgctxt "#30019"
msgid "Continue watching"
msgstr ""

msgctxt "#30020"
msgid "Continue watching where you left off"
msgstr ""


### CONTEXT MENU

Expand All @@ -89,6 +97,10 @@ msgctxt "#30051"
msgid "Remove from My List"
msgstr ""

msgctxt "#30052"
msgid "Go to Program"
msgstr ""


### CODE
msgctxt "#30200"
Expand Down
12 changes: 12 additions & 0 deletions resources/language/resource.language.nl_nl/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ msgctxt "#30018"
msgid "Show your personal favourites"
msgstr "Bekijk je persoonlijke favorieten"

msgctxt "#30019"
msgid "Continue watching"
msgstr "Verder kijken"

msgctxt "#30020"
msgid "Continue watching where you left off"
msgstr "Kijk verder waar je gebleven was"


### CONTEXT MENU

Expand All @@ -90,6 +98,10 @@ msgctxt "#30051"
msgid "Remove from My List"
msgstr "Verwijderen uit mijn lijst"

msgctxt "#30052"
msgid "Go to Program"
msgstr "Ga naar programma"


### CODE
msgctxt "#30200"
Expand Down
5 changes: 5 additions & 0 deletions resources/lib/kodiwrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,11 @@ def delete_file(self, path):
self.log("Delete file '{path}'.", LOG_DEBUG, path=path)
return delete(path)

def container_refresh(self):
""" Refresh the current container """
self.log('Execute: Container.Refresh', LOG_DEBUG)
xbmc.executebuiltin('Container.Refresh')

def end_of_directory(self):
""" Close a virtual directory, required to avoid a waiting Kodi """
xbmcplugin.endOfDirectory(handle=self._handle, succeeded=False, updateListing=False, cacheToDisc=False)
Expand Down
Loading