~jakob/plugin.video.newgrounds

ffabdcf11f76e1bd90b231b5d9b1e4a54e63a5f0 — Jakob L. Kreuze 2 months ago 4715a13
Only mark MP4 portal submissions as playable
1 files changed, 4 insertions(+), 1 deletions(-)

M addon.py
M addon.py => addon.py +4 -1
@@ 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