2014-12-30, 06:02
I have some stream urls that has incorrect zoom amount, pixel ratio. Every time I have to change this setting manually in video settings.
I need those to be handled in my add-on coding.
I need to change it to Zoom amount = 1.29 and pixel ratio = 0.65
#xbmc.playlist(xbmc.playlist_video).add(url)
#listitem = xbmcgui.ListItem('Ironman')
#listitem.setInfo('video', {'Title': 'Ironman', 'Genre': 'Science Fiction'})
#xbmc.Player( xbmc.PLAYER_CORE_MPLAYER ).play(url, listitem)
how can I change this code to reflect my needs.
thank you.
I need those to be handled in my add-on coding.
I need to change it to Zoom amount = 1.29 and pixel ratio = 0.65
#xbmc.playlist(xbmc.playlist_video).add(url)
#listitem = xbmcgui.ListItem('Ironman')
#listitem.setInfo('video', {'Title': 'Ironman', 'Genre': 'Science Fiction'})
#xbmc.Player( xbmc.PLAYER_CORE_MPLAYER ).play(url, listitem)
how can I change this code to reflect my needs.
thank you.