Skip to content

Commit

Permalink
- fix loading of categories without items
Browse files Browse the repository at this point in the history
  • Loading branch information
fayer3 committed Sep 27, 2019
1 parent 8d1b878 commit 2ea05c6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.joyn_app" name="Joyn" version="0.2.5" provider-name="fayer3">
<addon id="plugin.video.joyn_app" name="Joyn" version="0.2.6" provider-name="fayer3">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.routing" version="0.2.0"/>
Expand Down Expand Up @@ -42,6 +42,8 @@
- 0.2.5:
- option zum anzeigen der Staffel/Folgen nummer in übersicht
- Fehler mit Livestreams behoben
- 0.2.6:
- laden von Kategorien ohne inhalt behoben
</news>
<assets>
<icon>resources/icon.png</icon>
Expand Down
4 changes: 3 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ v0.2.3
- remove wrong error message
v0.2.4
- adapt paths for new routing plugin version, some old favourites might not work any more
- 0.2.5:
v0.2.5:
- add option to show season/episode number of videos in title.
- fix error with live streams
v0.2.6
- fix loading of categories without items
2 changes: 1 addition & 1 deletion resources/language/resource.language.de_de/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ msgid "Settings for Live TV"
msgstr "Einstellungen für Live TV"

msgctxt "#32106"
msgid "Show a previev of the current show instead of the channel icon"
msgid "Show a preview of the current show instead of the channel icon"
msgstr "Zeige eine Vorschau der aktuellen Sendung statt dem Senderlogo"

msgctxt "#32107"
Expand Down
2 changes: 1 addition & 1 deletion resources/language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ msgid "Settings for Live TV"
msgstr ""

msgctxt "#32106"
msgid "Show a previev of the current show instead of the channel icon"
msgid "Show a preview of the current show instead of the channel icon"
msgstr ""

msgctxt "#32107"
Expand Down
2 changes: 1 addition & 1 deletion resources/lib/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
def index():
content = json.loads(get_url(ids.overview_url, critical = True))
for item in content['response']['blocks']:
if item['type'] != 'ResumeLane':
if item['type'] != 'ResumeLane' and 'items' in item:
name = 'Folder'
if 'Headline' in item['configuration']:
name = item['configuration']['Headline']
Expand Down

0 comments on commit 2ea05c6

Please sign in to comment.