Skip to content

Commit

Permalink
Fix for RasPlex issue
Browse files Browse the repository at this point in the history
In case summary data is empty, UI of RasPlex will disappear, making it
impossible for user to play a channel. Fix puts channel title in
summary field if empty. Tested and it works fine.
  • Loading branch information
Strux committed Jun 19, 2016
1 parent d35b118 commit 181169a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ def ListItems(group):
# Simply adding VideoClipObject does not work on some clients (like LG SmartTV),
# so there is an endless recursion - function CreateVideoClipObject calling itself -
# and I have no idea why and how it works...
if not summary:
summary = item['title']
oc.add(CreateVideoClipObject(
url = item['url'],
title = item['title'],
Expand Down

0 comments on commit 181169a

Please sign in to comment.