![]() |
Python Inside - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Python Inside (/showthread.php?tid=99) |
- alx5962 - 2004-02-08 (darkie @ feb. 07 2004,23:42 Wrote:you can't load external dll's (.pyd) yet. i'm busy with that atm.great! some more new possibilities soon! darkie are you interested to see the scripts written using your python port? as i wrote 2 and you could see what's done thanks to you ![]() also no special site is planned for them ? as to share our scripts is not very easy and only few people can access them so for now. is there a tutorial to compile our own pyd for the xbox? as i really wish to see the pil library ported to our nice console - darkie - 2004-02-08 Quote:darkie are you interested to see the scripts written using your python port?sure, if you upload them to www.xboxmediaplayer.it/upload i will add them into cvs. this is the only way, cause there isn't a webpage for python scripts yet. Quote:is there a tutorial to compile our own pyd for the xbox? as i really wish to see the pil library ported to our nice consolefirst i need to create some working examples myself before i can create a tutorial ![]() - alx5962 - 2004-02-08 i don't think my scripts deserve to be in the cvs as they are ealry version and only useful for france for now (weather info and tv guide). and do you plan to create a specific webpage for them anytime soon? - alx5962 - 2004-02-10 hi darkie! i need your help again ![]() i'd like to create a 'pop-up' like window and being able to close it to easily. but i have no idea if we are able to do it using xbmc and also how to do it ![]() thank you again for your patience with me darkie ![]() - alx5962 - 2004-02-13 i guess you have no time to reply to my previous post darkie... i just noticed settext has to be named setlabel in the new cvs compile. the buttons are a great feature so i really have to include them in thefuture. if you want to see of one my scripts, check the french tv guide here: tv guide france - darkie - 2004-02-14 you can't create custom dialogs (if that is what you mean?) what you can do is create a new window and close it after pressing "ok?". after pressing ok the window will be destroyed and you will automaticly return to the old window. just tried your script, very nice.. to bad it is only useful for france ![]() - alx5962 - 2004-02-15 thank you darkie, without your help i wwould never have started to work on scripts and even learnt python in fact. so thank you again for all! your idea about the dialog window is very nice, i was more on a new window idea but the dialog could fit well for my need :d - alx5962 - 2004-02-15 darkie, i just noticed sometimes when a python script crash, xbmc is totally frozen and so i need to restart the xbox. is this a known bug? and what do you think about adding a debug log for python? so it would be easier to know where is the problem when the script crashes the xbox. - darkie - 2004-02-16 Quote:darkie, i just noticed sometimes when a python script crash, xbmc is totally frozen and so i need to restart the xbox.if python crashes xbmc will crash to, can't do anything about that. but python shouldnt crash at all :d Quote:and what do you think about adding a debug log for python? so it would be easier to know where is the problem when the script crashes the xbox. good idea. will do that. - Kieren - 2004-02-18 Quote:import xbmc, xbmcgui is there or will there be any support for the on screen keyboard so i could add a custom names option to the above code? - alx5962 - 2004-02-18 hi darkie! i just created a new script that reads the google news (every countries work) and display them by categories. i would be honoured if you accept to be a beta tester for it :d - alx5962 - 2004-02-19 darkie, are you planning to modify the windowexample script soon? as some functions are not documented like : setnavigation, removecontrol, setfocus for the window object are not very clear for me and the example is the only way to have infos about how to use them... also, in my script i'm doing a dirty thing : i just add one more controlimage over the previous one to erase the screen in the same class. it uses memory for nothing so and it's too dirty. so how can i do that please? - darkie - 2004-02-19 Quote:is there or will there be any support for the on screen keyboard so i could add a custom names option to the above code?no. but i can always have a look at it to add it. Quote:darkie,no don't have it planned ![]() but since i don't have time at all now, i can't add/create any new code / documentation for python. maybe someone else is willing to make a start at this? Quote:also, in my script i'm doing a dirty thing : i just add one more controlimage over the previous one to erase the screen in the same class. it uses memory for nothing so and it's too dirty. so how can i do that please?you can use removecontrol to remove all the controls. you can also delete the window and create it again to start with a new clean window. - Kieren - 2004-02-19 cool, thanks btw i just made a dvd ripper if anyones interested edit: i'll upload it to cvs - alx5962 - 2004-02-19 thank you darkie! i figured out how to use removecontrol and it works very nicely now! do you have an email where i can send you my scripts? |