diff options
Diffstat (limited to 'addon.py')
| -rw-r--r-- | addon.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -299,7 +299,10 @@ class NewgroundsPlugin(object): else: info_tag.setMpaa("PG") - list_item.setProperty("IsPlayable", "true") + if video.content_url is not None: + list_item.setProperty("IsPlayable", "true") + else: + list_item.setProperty("IsPlayable", "false") url = get_url(action="play_video", video=video.content_url) is_folder = False |