aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.demo.tv
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-11-23 09:11:02 +0100
committerRechi <Rechi@users.noreply.github.com>2017-11-23 09:11:02 +0100
commit63e33f6b950f953ecd9d300e38732f97400ab868 (patch)
treefa7004cdb14325bbb2e3ce02b561c70382405286 /addons/metadata.demo.tv
parentfb04819aeeade9bef07933682537a9645bd6005a (diff)
[addons][python] metadata.demo.* replace print statement with print function
Diffstat (limited to 'addons/metadata.demo.tv')
-rw-r--r--addons/metadata.demo.tv/demo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/metadata.demo.tv/demo.py b/addons/metadata.demo.tv/demo.py
index 0fd298198a..fa3dadca21 100644
--- a/addons/metadata.demo.tv/demo.py
+++ b/addons/metadata.demo.tv/demo.py
@@ -35,7 +35,7 @@ if action == 'find':
except:
pass
- print 'Find TV show with title %s from year %i' %(title, int(year))
+ print('Find TV show with title %s from year %i' %(title, int(year)))
liz=xbmcgui.ListItem('Demo show 1', thumbnailImage='DefaultVideo.png', offscreen=True)
liz.setProperty('relevance', '0.5')
xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url="/path/to/show", listitem=liz, isFolder=True)
@@ -99,7 +99,7 @@ elif action == 'getdetails':
xbmcplugin.setResolvedUrl(handle=int(sys.argv[1]), succeeded=True, listitem=liz)
elif action == 'getepisodelist':
url=urllib.unquote_plus(params["url"])
- print 'in here yo ' + url
+ print('in here yo ' + url)
if url == '/path/to/show/guide':
liz=xbmcgui.ListItem('Demo Episode 1x1', offscreen=True)
liz.setProperty('video.episode', '1')