2014-04-22, 12:03
with XBMC when i open a movie i want an adverting banner appear over current movie. can i do that ? ( use python, javascript, html ...)
thank you !
thank you !
import xbmcgui
container = xbmcgui.Window(12005)
banner = xbmcgui.ControlImage(10, 10, 200, 50, "<full_path_to_banner_image_file>")
container.addControl(banner)
(2014-04-23, 12:15)ctcd Wrote: Thanks Roman_V_M.
I also found the wiki but did not see.
it works but when I change another banner but xbmc has not changed, it remember the old one. What should I do ?
Thanks !
(2014-04-24, 11:26)ctcd Wrote: thank you very much Roman_V_M
what i must to do if i have 3 banners and want to show per banner in 5 seconds.
I used multi threading but failed.
Please help me Roman_V_M
while True:
#get banner from url
#display
time.sleep(5)
(2014-04-28, 09:11)ctcd Wrote: I really don't underestand how xbmc can run on multi-flatform ?, such as: windows, android, ios ..... Beacause , python itself can't cross-platform
(2014-04-29, 10:57)Roman_V_M Wrote: This is a very strange statement, because Python is essentially a cross-platform language, and well-written Python program can work on different platforms without any changes.
(2014-05-03, 07:04)ctcd Wrote: thanks Roman_V_M
(2014-04-29, 10:57)Roman_V_M Wrote: This is a very strange statement, because Python is essentially a cross-platform language, and well-written Python program can work on different platforms without any changes.
I don't know how to compile a python program become a file with many extensions such as: exe,apk ( I am using pycharm IDE )
(2014-05-03, 07:04)ctcd Wrote: thanks Roman_V_M
(2014-04-29, 10:57)Roman_V_M Wrote: This is a very strange statement, because Python is essentially a cross-platform language, and well-written Python program can work on different platforms without any changes.
I don't know how to compile a python program become a file with many extensions such as: exe,apk ( I am using pycharm IDE )